video-generator
БесплатноЗапускает вложенные скриптыНе проверенGenerate AI videos using Google VEO 3.1 or OpenAI Sora. Two providers for different strengths - VEO for native audio, Sora for visual quality and longer clips.
от cdeistopened★ 32 звезды на GitHubОб этом скилле
Video Generator
Generate professional short-form videos using Google VEO 3.1 (with native audio) or OpenAI Sora (high visual quality, up to 12s).
Prerequisites & Setup
API Keys
You need at least one. Both gives you maximum flexibility.
VEO (Google):
- Go to Google AI Studio
- Sign in with your Google account
- Click "Create API Key"
- Copy the generated key
export GEMINI_API_KEY=your_gemini_key_here
Sora (OpenAI):
- Go to OpenAI Platform
- Create a new API key
- Copy the generated key
export OPENAI_API_KEY=your_openai_key_here
Install Dependencies
pip install google-genai requests
Available Models
| Provider | Model | CLI --model |
Best For |
|---|---|---|---|
| VEO | Veo 3.1 Standard | standard (default) |
Quality, audio fidelity, final assets |
| VEO | Veo 3.1 Fast | fast |
Drafts, iteration, quick previews |
| Sora | Sora 2 | sora-2 (default) |
Visual quality, creative motion |
| Sora | Sora 2 Pro | sora-2-pro |
Highest Sora quality, slower |
When to Use Which
| Need | Use |
|---|---|
| Native synchronized audio (dialogue, SFX) | VEO - Sora has no audio |
| Longer clips (12 seconds) | Sora - VEO maxes at 8s |
| Higher visual fidelity / artistic styles | Sora - stronger on visual aesthetics |
| Fast iteration / drafts | VEO Fast - quickest turnaround |
| 4K resolution | VEO - Sora uses fixed sizes |
| Negative prompts (exclude elements) | VEO - Sora doesn't support them |
Video Parameters
| Parameter | VEO Options | Sora Options | Default |
|---|---|---|---|
| Duration | 4, 6, or 8 seconds | 4, 8, or 12 seconds | 8s |
| Resolution | 720p, 1080p, 4K | Fixed (from aspect ratio) | 720p |
| Aspect Ratio | 16:9, 9:16 | 16:9 -> 1280x720, 9:16 -> 720x1280 | 16:9 |
| Count | 1-4 variations | 1-4 variations | 1 |
| Negative Prompt | Supported | Not supported (ignored) | none |
Approximate Cost
| Provider | Model | Cost |
|---|---|---|
| VEO | Standard | ~$0.025-0.05 per video |
| VEO | Fast | ~$0.01-0.025 per video |
| Sora | sora-2 | ~$0.10 per second of video |
| Sora | sora-2-pro | ~$0.20 per second of video |
Latency
Video generation is async - expect 11 seconds to 6 minutes depending on server load and provider. The script polls automatically and saves when ready.
Workflow Overview
- Define the Concept - What story does the video tell in 4-12 seconds?
- Storyboard the Shot - Camera, motion, subject, environment
- Add Audio Direction - Dialogue, sound effects, ambient sound (VEO only)
- Generate Video - Run via API
- Iterate - Adjust prompt based on results
Prompt Rules
- 150-300 characters is the sweet spot. Under 100 = generic. Over 400 = the model drops elements unpredictably.
- One shot = one action. Don't pack multiple scene changes or style shifts into one prompt. One camera move + one subject action.
- Describe what you want, not what you don't want. Use the
--negativeflag for exclusions (VEO only), not the main prompt. - Treat audio as a separate layer. Write audio cues in their own sentences, not mixed into visual descriptions. (VEO only - Sora has no audio.)
- Use colon syntax for dialogue.
A man says: "Hello!"prevents subtitle artifacts. (VEO only.) - Keep dialogue under 7 words per line. Longer speech causes lip-sync drift. (VEO only.)
- Start simple, then layer. Begin with a basic prompt, evaluate, then add one variable at a time.
- Slow camera movements win. Fast pans and spins break output. Use tight framing for perceived speed.
Storyboarding the Shot
Structure your prompt with cinematic language. Both VEO and Sora respond well to film terminology:
Camera Language
| Term | Effect |
|---|---|
| Wide shot | Shows full environment, establishes context |
| Close-up | Tight on a subject, emphasizes detail |
| Tracking shot | Camera follows subject movement |
| Dolly in/out | Camera moves toward or away from subject |
| Static shot | Locked camera, subject moves within frame |
| Slow pan | Camera rotates horizontally across scene |
| Overhead / bird's eye | Looking straight down |
| Low angle | Looking up at subject, adds drama |
Motion Description
Be explicit about what moves and how:
| Don't | Do |
|---|---|
| "A dog in a park" | "A golden retriever runs toward camera through tall grass, ears bouncing" |
| "City at night" | "Camera slowly dollies through a neon-lit Tokyo alley as rain puddles reflect signs" |
| "Ocean" | "A single wave forms, curls, and crashes onto wet sand in slow motion" |
Lighting & Atmosphere
| Term | Mood |
|---|---|
| Golden hour | Warm, nostalgic, cinematic |
| Overcast | Soft, |
Установить video-generator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл video-generator?
Generate AI videos using Google VEO 3.1 or OpenAI Sora. Two providers for different strengths - VEO for native audio, Sora for visual quality and longer clips.
Как установить скилл video-generator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл video-generator запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
slack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
от Anthropicautomate-this
Analyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
от GitHubfrom-the-other-side-vega
Patterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
от GitHubplantuml-ascii
Generate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…
от GitHub