Skip to content

openai 编辑视频

POST https://az.gptplus5.com/v1/videos/{id}/remix

请求参数

Authorization

在 Header 添加参数Authorization,其值为在 Bearer 之后拼接 Token

示例:Authorization: Bearer ********************

Path 参数

参数名类型必需说明
idstring必需

Header 参数

参数名类型必需说明示例
Content-Typestring必需application/json

Body 参数 (application/json)

参数名类型必需说明
promptstring必需

请求示例

json
{
    "prompt": "画面更精细一些",
      "size": "1280x720"
}

cURL 示例

bash
curl --location --request POST 'https://az.gptplus5.com/v1/videos/video_099c5197-abfd-4e16-88ff-1e162f2a5c77/remix' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "prompt": "画面更精细一些",
      "size": "1280x720"
}'

返回响应

🟠401成功

响应 Body

参数名类型必需说明
errorobject必需
  └ messagestring必需
  └ message_zhstring必需
  └ typestring必需

响应示例

json
{
    "id": "video_8a60610c-3a5e-4ca8-be05-405f0dc635d0",
    "object": "video",
    "model": "sora_video2",
    "status": "queued",
    "progress": 0,
    "created_at": 1766374127,
    "seconds": "10",
    "size": "1280x720",
    "remixed_from_video_id": "e3215864-dd3c-49b1-8475-e4669b6d5c33",
    "detail": {}
}