fltman/claude-code-skill-sora-video/sora-video
Claude Code and agent skill by fltman/claude-code-skill-sora-video
- community
Checking that the SKILL.md file is still in the repository.
Generates AI videos from text prompts or reference images using OpenAI Sora. Use when the user wants to create videos, generate video clips, make AI films, animate images, or produce motion content. Supports text-to-video, image-to-video, and video remixing.
Install
npx vskill@latest install fltman/claude-code-skill-sora-video/sora-videoSKILL.md
Sora Video Generation
Generate high-quality AI videos using OpenAI's Sora model.
Capabilities
- Text-to-video: Create video clips from text descriptions
- Image-to-video: Animate a reference image into a video clip
- Remix: Create variations of previously generated videos
Requirements
Before using this skill, ensure:
- Python packages are installed:
``bash pip install openai ``
- API key is set:
``bash export OPENAI_API_KEY="your-openai-api-key" ``
Get your key at: https://platform.openai.com/api-keys
Usage
Text-to-Video
Generate a video from a text description:
Image-to-Video
Animate a reference image:
Higher Quality (Pro)
Use the pro model for production-grade quality:
Script Arguments
| Argument | Short | Required | Default | Description | |
|---|---|---|---|---|---|
--prompt | -p | Yes | -- | Text description of the desired video | |
--output | -o | No | generated_video.mp4 | Output file path | |
--input | -i | No | -- | Reference image for image-to-video mode | |
--model | -m | No | sora-2 | Model: sora-2 or sora-2-pro | |
--seconds | -s | No | 8 | Duration: 4, 8, or 12 | |
--size | No | 1280x720 | Resolution (see table below) | ||
--timeout | No | 600 | Max wait time in seconds |
Available Sizes
| Size | Orientation | Models | |
|---|---|---|---|
1280x720 | Landscape | sora-2, sora-2-pro | |
720x1280 | Portrait | sora-2, sora-2-pro | |
1792x1024 | Landscape HD | sora-2-pro only | |
1024x1792 | Portrait HD | sora-2-pro only |
Prompt Tips
For best results:
- Be cinematic: Describe camera movement, lighting, and atmosphere
- Specify style: "photorealistic", "anime style", "watercolor animation"
- Describe motion: "slowly panning", "time-lapse", "tracking shot"
- Set the mood: "dramatic lighting", "golden hour", "neon-lit"
Example Prompts
Nature:
Urban:
Abstract:
Pricing
| Model | Resolution | Per Second | 4s Clip | 8s Clip | 12s Clip | |
|---|---|---|---|---|---|---|
| sora-2 | 720p | $0.10 | $0.40 | $0.80 | $1.20 | |
| sora-2-pro | 720p | $0.30 | $1.20 | $2.40 | $3.60 | |
| sora-2-pro | 1024p | $0.50 | $2.00 | $4.00 | $6.00 |
Note: You are charged for every generation attempt, including failed ones.
Workflow
- Understand what the user wants to create
- Craft a detailed, cinematic prompt (camera angles, lighting, mood, motion)
- Choose appropriate model, duration, and resolution
- Run the generation script
- If the user provides an image, use image-to-video mode with
--input - Present the generated video to the user
- Offer to iterate or adjust based on feedback
Troubleshooting
"OPENAI_API_KEY not set"
- Set the environment variable:
export OPENAI_API_KEY="your-key"
"openai package not installed"
- Install it:
pip install openai
"Video generation failed: content_policy_violation"
- The prompt was flagged by content moderation
- Remove references to real people, copyrighted characters, or inappropriate content
- Rephrase the prompt and try again
"Video generation timed out"
- Pro model and higher resolutions take longer (up to 5 minutes)
- Increase timeout:
--timeout 900 - Try with
sora-2(faster) instead ofsora-2-pro
"Rate limit exceeded"
- Wait a moment and try again
- Standard API tier allows ~10 requests per minute
Output
The script will:
- Print progress messages with status and percentage
- Save the MP4 video to the specified output path
- Print "SUCCESS" with the file path on success
- Return exit code 0 on success, 1 on failure
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sora-video/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/fltman/claude-code-skill-sora-video/sora-video)