docs: name the real Gemini model and list all 7 MCP tools in README/CLAUDE.md
This commit is contained in:
parent
08e0eca92d
commit
ed2aeb53c4
2 changed files with 4 additions and 4 deletions
|
|
@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
|||
|
||||
## Project Overview
|
||||
|
||||
OpenShorts is an AI-powered vertical video generator that transforms long YouTube videos or local uploads into viral-ready short clips (9:16 format) for TikTok, Instagram Reels, and YouTube Shorts. Uses Google Gemini 2.0 Flash for viral moment detection and title generation.
|
||||
OpenShorts is an AI-powered vertical video generator that transforms long YouTube videos or local uploads into viral-ready short clips (9:16 format) for TikTok, Instagram Reels, and YouTube Shorts. Uses Google Gemini 3.1 Flash-Lite (`gemini-3.1-flash-lite`, overridable with `GEMINI_MODEL`) for viral moment detection and title generation.
|
||||
|
||||
## Development Commands
|
||||
|
||||
|
|
@ -199,7 +199,7 @@ se desactiva porque el modelo diga `none`.
|
|||
endpoint changes. Key management itself refuses API-key auth: a leaked key
|
||||
cannot mint replacements.
|
||||
- **MCP server** (`mcp_server.py`, mounted always): stateless Streamable-HTTP
|
||||
JSON-RPC at `/mcp` — no SDK dependency, ~3 methods + 6 tools. Each tool calls
|
||||
JSON-RPC at `/mcp` — no SDK dependency, ~3 methods + 7 tools. Each tool calls
|
||||
back into this same app in-process (`httpx.ASGITransport`) forwarding the
|
||||
caller's auth headers, so it can never drift from the REST behavior. Cloud
|
||||
mode 401s without a resolvable user; self-host stays BYOK-open.
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ All generated videos and avatars are saved to a public gallery with SEO pages fo
|
|||
## Key Features
|
||||
|
||||
### Clip Generator
|
||||
- **Viral Moment Detection**: Google Gemini 3.0 Flash analyzes transcripts and scene boundaries to detect 3-15 high-potential moments
|
||||
- **Viral Moment Detection**: Google Gemini 3.1 Flash-Lite analyzes transcripts and scene boundaries to detect 3-15 high-potential moments
|
||||
- **Smart 9:16 Cropping**: Dual-mode AI reframing — TRACK mode (MediaPipe + YOLOv8 face tracking) and GENERAL mode (blurred background)
|
||||
- **Auto Subtitles**: faster-whisper with word-level timestamps, styled and burned into clips
|
||||
- **AI Voice Dubbing**: ElevenLabs integration for 30+ languages with voice cloning
|
||||
|
|
@ -308,7 +308,7 @@ claude mcp add --transport http openshorts https://mcp.openshorts.app/mcp \
|
|||
claude mcp add --transport http openshorts http://localhost:8000/mcp
|
||||
```
|
||||
|
||||
Tools: `process_video`, `get_job_status`, `list_clips`, `get_quota`, `add_subtitles`, `publish_clip`. A prompt like *"clip this podcast and schedule the best 3 to TikTok"* is now a one-liner in your agent of choice.
|
||||
Tools: `process_video`, `get_job_status`, `list_clips`, `get_quota`, `add_subtitles`, `recut_clip`, `publish_clip`. A prompt like *"clip this podcast and schedule the best 3 to TikTok"* is now a one-liner in your agent of choice.
|
||||
|
||||
### REST API + API keys
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue