创建视频生成任务
1. 概述
2. 请求说明
3. 请求参数
3.1 Header 参数
参数名称
类型
必填
说明
示例值
3.2 Body 参数 (application/json)
参数名称
类型
必填
说明
示例(默认值)
4. 请求示例
5. 响应示例
最后更新于
curl -X POST https://gateway.theturbo.ai/v1/videos \
-H "Authorization: Bearer $YOUR_API_KEY" \
-F "model=sora-2" \
-F "prompt=A calico cat playing a piano on stage" \
-F "seconds=4" \
-F "size=720x1280"curl -X POST https://gateway.theturbo.ai/v1/videos \
-H "Authorization: Bearer $YOUR_API_KEY" \
-F "model=sora-2" \
-F "[email protected]" \
-F "prompt=A calico cat playing a piano on stage" \
-F "seconds=4" \
-F "size=720x1280"{
"id": "video_68f7441dd5f0819096687ce9bde11dd9",
"object": "video",
"created_at": 1761035293,
"status": "queued",
"completed_at": null,
"error": null,
"expires_at": null,
"model": "sora-2",
"progress": 0,
"remixed_from_video_id": null,
"seconds": "4",
"size": "720x1280"
}