Sora 2 API
Generate realistic Sora 2 clips through one production API.
Sora 2 is designed for realistic motion, prompt adherence, and short narrative scenes. Use it from the same API key and callback workflow as your other video models, with duration-based pricing and a clean task lifecycle.
模型能力
为生产级 API 工作流设计,不只是演示。
Sora 2 与你接入的其他视频和图片模型共用同一套 API Key、积分、日志、Webhook 和文档体系。
Text-to-video scenes
Turn natural-language prompts into realistic shots with subject, setting, and camera direction.
Image-to-video starts
Use a source image as the first frame and animate it into a short clip.
Predictable duration options
Choose 4, 8, or 12 second clips for ads, product demos, and social workflows.
Unified fallback surface
Keep Sora behind the same auth, credits, logs, and async callback layer as other providers.
提交任务、跟踪进度、取回生成结果。
Describe the shot
Send a prompt and optional first-frame image.
Choose duration
Pick 4, 8, or 12 seconds for the target creative format.
Receive task output
Poll or receive callback payloads with hosted output URLs.
curl -X POST https://api.aivideoapi.ai/v1/videos/generations \
-H "Authorization: Bearer sk-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "sora-2",
"prompt": "A realistic handheld shot of a city cafe at sunrise",
"duration": 8,
"size": "1280x720"
}'定价与用量
清晰的模型选项,共享积分余额。
Short tests and variants
Default balanced clip
Longer narrative beat
在 AI Video API 上开始使用 Sora 2。
一个 API Key、一份积分余额,在视频和图片模型之间无缝切换,无需为每家供应商单独接入。