openai 编辑视频
POST /v1/videos/{id}/remix
概览
| Method | POST |
|---|---|
| Path | /v1/videos/{id}/remix |
| Type | http |
| Status | 1 |
| Module | 2102810 |
| Folder | 68864887 |
参数
{ "path": [ { "name": "id", "required": true, "description": "", "id": "id#0", "enable": true, "sampleValue": "video_099c5197-abfd-4e16-88ff-1e162f2a5c77" } ], "header": [ { "name": "Content-Type", "required": true, "description": "", "id": "duU8YhJm7b", "type": "string", "enable": true, "sampleValue": "application/json" } ] }
请求体
{ "type": "application/json", "parameters": [], "jsonSchema": { "type": "object", "properties": { "prompt": { "type": "string" } }, "required": [ "prompt" ] }, "mediaType": "", "examples": [ { "value": "{\n \"prompt\": \"画面更精细一些\",\n \"size\": \"1280x720\"\n}", "mediaType": "application/json", "description": "" } ], "oasExtensions": "" }
响应
[ { "id": 790819523, "name": "成功", "code": 401, "contentType": "json", "jsonSchema": { "type": "object", "properties": { "error": { "type": "object", "properties": { "message": { "type": "string" }, "message_zh": { "type": "string" }, "type": { "type": "string" } }, "required": [ "message", "message_zh", "type" ] } }, "required": [ "error" ] }, "itemSchema": {}, "description": "", "mediaType": "", "headers": [] } ]
响应示例
[ { "name": "成功示例", "responseId": 790819523, "data": "{\r\n \"id\": \"video_8a60610c-3a5e-4ca8-be05-405f0dc635d0\",\r\n \"object\": \"video\",\r\n \"model\": \"sora_video2\",\r\n \"status\": \"queued\",\r\n \"progress\": 0,\r\n \"created_at\": 1766374127,\r\n \"seconds\": \"10\",\r\n \"size\": \"1280x720\",\r\n \"remixed_from_video_id\": \"e3215864-dd3c-49b1-8475-e4669b6d5c33\",\r\n \"detail\": {}\r\n}", "description": "", "oasKey": "", "oasExtensions": "", "id": 715515733 } ]