Sora Video Generation
Generate videos using OpenAI's Sora API. Use when the user asks to generate, create, or make videos from text prompts or reference images. Supports image-to-video generation with automatic resizing.
Generate videos using OpenAI's Sora API. Use when the user asks to generate, create, or make videos from text prompts or reference images. Supports image-to-video generation with automatic resizing.
Real data. Real impact.
Emerging
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
Generate videos using OpenAI's Sora API.
Endpoint:
POST https://api.openai.com/v1/videos
| Parameter | Values | Description |
|---|---|---|
| string | Text description of the video (required) |
| file | Optional image that guides generation |
| , | Model to use (default: sora-2) |
| , , | Video duration (default: 4) |
| , , , | Output resolution |
# Basic text-to-video uv run ~/.clawdbot/skills/sora/scripts/generate_video.py \ --prompt "A cat playing piano" \ --filename "output.mp4"Image-to-video (auto-resizes image)
uv run ~/.clawdbot/skills/sora/scripts/generate_video.py
--prompt "Slow dolly shot, steam rising, warm lighting"
--filename "output.mp4"
--input-image "reference.png"
--seconds 8
--size 720x1280With specific model
uv run ~/.clawdbot/skills/sora/scripts/generate_video.py
--prompt "Cinematic scene"
--filename "output.mp4"
--model sora-2-pro
--seconds 12
| Flag | Description | Default |
|---|---|---|
, | Video description (required) | - |
, | Output file path (required) | - |
, | Reference image path | None |
, | Duration: 4, 8, or 12 | 8 |
, | Resolution | 720x1280 |
, | sora-2 or sora-2-pro | sora-2 |
, | OpenAI API key | env var |
| Check status every N seconds | 10 |
Set
OPENAI_API_KEY environment variable or pass --api-key.
Food commercial:
Slow dolly shot of gourmet dish, soft morning sunlight streaming through window, subtle steam rising, warm cozy atmosphere, premium food commercial aesthetic
Lifestyle:
Golden hour light slowly shifting across mountains, gentle breeze rustling leaves, serene morning atmosphere, premium lifestyle commercial
Product shot:
Cinematic close-up, dramatic lighting with warm highlights, slow reveal, luxury commercial style
--input-image to Sora--size parameterNo automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.