主题
openai 编辑视频
POST
https://az.gptplus5.com/v1/videos/{id}/remix
请求参数
Authorization
在 Header 添加参数Authorization,其值为在 Bearer 之后拼接 Token
示例:Authorization: Bearer ********************
Path 参数
| 参数名 | 类型 | 必需 | 说明 |
|---|---|---|---|
id | string | 必需 |
Header 参数
| 参数名 | 类型 | 必需 | 说明 | 示例 |
|---|---|---|---|---|
Content-Type | string | 必需 | application/json |
Body 参数 (application/json)
| 参数名 | 类型 | 必需 | 说明 |
|---|---|---|---|
prompt | string | 必需 |
请求示例
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
| 参数名 | 类型 | 必需 | 说明 |
|---|---|---|---|
error | object | 必需 | |
└ message | string | 必需 | |
└ message_zh | string | 必需 | |
└ type | string | 必需 |
响应示例
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": {}
}