Skip to main content
POST

Authorizations

string
必填
所有接口均需要使用 Bearer Token 进行认证。在请求头中添加:

Body

string
默认值:"sora-2"
模型/风格 ID示例:sora-2
string
文本描述提示词示例:宇航员站起身走了
string
图片输入 (URL 或 Base64)示例:https://example.com/image.jpg
number
视频时长(秒)示例:5
integer
视频宽度示例:1280
integer
视频高度示例:720
integer
视频帧率示例:30
integer
随机种子示例:20231234
integer
生成视频数量示例:1
string
响应格式示例:url
string
用户标识示例:user-1234
object
扩展参数 (如 negative_prompt, style, quality_level 等)

Response

string
视频 ID
string
对象类型
string
默认值:"sora-2"
使用的模型示例:sora-2
string
任务状态
integer
进度百分比
integer
创建时间戳
string
视频时长
integer
完成时间戳
integer
过期时间戳
string
视频尺寸
object
OpenAI 视频错误信息
string
错误信息
string
错误码
object
额外元数据