sora-video-genGenerate 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.
Install via ClawdBot CLI:
clawdbot install PauldeLavallaz/sora-video-genGenerate videos using OpenAI's Sora API.
Endpoint: POST https://api.openai.com/v1/videos
| Parameter | Values | Description |
|-----------|--------|-------------|
| prompt | string | Text description of the video (required) |
| input_reference | file | Optional image that guides generation |
| model | sora-2, sora-2-pro | Model to use (default: sora-2) |
| seconds | 4, 8, 12 | Video duration (default: 4) |
| size | 720x1280, 1280x720, 1024x1792, 1792x1024 | 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 720x1280
# With 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 |
|------|-------------|---------|
| --prompt, -p | Video description (required) | - |
| --filename, -f | Output file path (required) | - |
| --input-image, -i | Reference image path | None |
| --seconds, -s | Duration: 4, 8, or 12 | 8 |
| --size, -sz | Resolution | 720x1280 |
| --model, -m | sora-2 or sora-2-pro | sora-2 |
| --api-key, -k | OpenAI API key | env var |
| --poll-interval | 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 parameterAI Usage Analysis
Analysis is being generated… refresh in a few seconds.
Extract frames or short clips from videos using ffmpeg.
Download videos, audio, subtitles, and clean paragraph-style transcripts from YouTube and any other yt-dlp supported site. Use when asked to “download this video”, “save this clip”, “rip audio”, “get subtitles”, “get transcript”, or to troubleshoot yt-dlp/ffmpeg and formats/playlists.
Generate SRT subtitles from video/audio with translation support. Transcribes Hebrew (ivrit.ai) and English (whisper), translates between languages, burns subtitles into video. Use for creating captions, transcripts, or hardcoded subtitles for WhatsApp/social media.
Create AI videos with optimized prompts, motion control, and platform-ready output.
自动登录抖音账号,上传并发布视频到抖音创作者平台,支持视频标签管理和登录状态检查。
AI video generation workflow on Volcengine. Use when users need text-to-video, image-to-video, generation parameter tuning, or async task troubleshooting for video jobs.