基本信息

接口名称: Sora2 视频生成V2
请求方法: POST
计费类型: 资源包

接口文档

# API文档 ## 接口说明 API名称 ## 请求地址 `/sora2_submit_v2` ## 请求方法 `POST` ## 请求参数 | 参数名 | 类型 | 必填 | 说明 | |-------|------|------|------| | apikey | string | 是 | 参数说明 | ## 响应示例 ```json { "code": 200, "message": "success", "data": {} } ```

请求参数

参数名 是否必填 类型 参数说明 示例值
apikey string apikey
prompt string 提示词 A cinematic drone shot of mountains at sunrise
model string 标准 sora-2 / 高清sora-2-hd sora-2
duration string 视频时长 10/15 10
aspect_ratio string 16:9 /9:16 16:9
images string 参考图片url
watermark boolean 是否加水印 false
remix_from_task string 二次创作ID 已完成任务ID
storyboard boolean 故事板 false

请求示例

{
    "apikey": "apikey",
    "prompt": "A cinematic drone shot of mountains at sunrise",
    "model": "sora-2",
    "duration": "10",
    "aspect_ratio": "16:9",
    "images": "",
    "watermark": "false",
    "remix_from_task": "",
    "storyboard": "false"
}

返回参数

参数名 类型 说明
code number

返回示例

{
    "code": 200
}