OpenAI 兼容 API 手册
视频生成
统一的视频生成异步接口,覆盖 Sora、Veo、Seedance、Kling、Hailuo、Vidu、Wan 和 Grok Video。不同模型沿用各自的按任务或按秒计费方式,提交前返回费用预估。
POST /v1/videos/generations
Videoscurl https://api09.com/v1/videos/generations -H "Authorization: Bearer sk-api09_xxx" -H "Content-Type: application/json" -d '{"model":"veo3.1-lite","prompt":"海豚跃出蓝色海面,电影镜头","duration":8,"aspect_ratio":"16:9","metadata":{"resolution":"720p"}}'
curl https://api09.com/v1/videos/generations/video_task_id -H "Authorization: Bearer sk-api09_xxx"