From ed2aeb53c410ca973554538861ab3597c1e78eeb Mon Sep 17 00:00:00 2001 From: "juancarlos.cavero" Date: Wed, 26 Aug 2026 00:27:06 +0200 Subject: [PATCH] docs: name the real Gemini model and list all 7 MCP tools in README/CLAUDE.md --- CLAUDE.md | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index dbfc88f..2029d3a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -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. diff --git a/README.md b/README.md index 82b86fe..c468ab1 100644 --- a/README.md +++ b/README.md @@ -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