Quick Start with Sora 2 Pro
Generate videos with Sora 2 Pro in 60 seconds.
terminal
$ npm install -g agent-media-cli
$ agent-media login
$ agent-media generate sora2 -p "A cat astronaut floating in zero gravity inside a space station" --sync
Capabilities
Text-to-video generation
Creative and artistic video styles
Smooth motion interpolation
Multiple duration options (4s, 8s, 12s)
Strong prompt interpretation
Sora 2 Pro Specifications
| Model | Sora 2 Pro |
| Provider | OpenAI |
| Type | video generation |
| CLI Slug | sora2 |
| Resolutions | 720p, 1080p |
| Durations | 4s, 8s, 12s |
| Aspect Ratios | 16:9, 9:16, 1:1 |
| Input Types | Text prompt |
| Credit Cost | 250-600 credits per video (varies by duration and resolution) |
CLI Examples
Real commands you can run right now with agent-media CLI.
Generate a creative concept video
agent-media generate sora2 -p "A cat astronaut floating in zero gravity inside a space station" --syncGenerate a 12-second slow-motion nature clip
agent-media generate sora2 -p "Ocean waves crashing on rocks, slow motion" -d 12 -r 1080p --syncGenerate a square artistic animation
agent-media generate sora2 -p "Watercolor painting coming to life" -d 8 --aspect-ratio 1:1 --syncStrengths
- Excellent creative and artistic interpretation
- Longest generation duration (up to 12 seconds)
- Smooth and natural motion
- Handles abstract and surreal concepts well
Best For
- Creative and artistic video content
- Longer-form video clips (up to 12s)
- Concept art and mood boards in motion
- Social media content with a creative twist
Use Sora 2 Pro in Claude Code
agent-media CLI works as an MCP server for Claude Code. Add it to your config and generate videos with Sora 2 Pro using natural language.
.claude/settings.json
{
"mcpServers": {
"agent-media": {
"command": "npx",
"args": ["-y", "agent-media-cli", "mcp"],
"env": {
"AGENT_MEDIA_API_KEY": "your-api-key"
}
}
}
}Then ask Claude: "Generate a video with Sora 2 Pro: your prompt here"