POST
/v1/videos/{id}/remixopenai 编辑视频
API Key application/json
请求示例
curl -X POST https://top.qingyuntop.ai/v1/videos/{id}/remix \
-H "Authorization: Bearer ${QINGYUN_TOP_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"prompt": "画面更精细一些",
"size": "1280x720"
}'请求参数
| 参数 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
id | Path | string | 是 | - | video_099c5197-abfd-4e16-88ff-1e162f2a5c77 |
Content-Type | Header | string | 是 | - | application/json |
prompt | JSON body | string | 是 | - | - |
返回响应 (401)
| 参数 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
error | 响应 JSON | object | 是 | - | - |
error.message | 响应 JSON | string | 是 | - | - |
error.message_zh | 响应 JSON | string | 是 | - | - |
error.type | 响应 JSON | string | 是 | - | - |
响应示例
{
"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": {}
}来源原始接口定义(用于追溯)
以下内容来自 Apifox 快照,可能包含兼容层字段或旧示例;公开调用请以本页的协议说明和当前模型列表为准。
{
"id": 497673341,
"name": "openai 编辑视频",
"type": "http",
"serverId": "",
"preProcessors": [],
"postProcessors": [],
"inheritPreProcessors": {},
"inheritPostProcessors": {},
"description": "",
"operationId": "",
"sourceUrl": "",
"method": "post",
"path": "/v1/videos/{id}/remix",
"tags": [],
"status": 1,
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"prompt": {
"type": "string"
}
},
"required": [
"prompt"
],
"x-apifox-orders": [
"prompt"
]
},
"examples": [
{
"value": "{\n \"prompt\": \"画面更精细一些\",\n \"size\": \"1280x720\"\n}",
"mediaType": "application/json",
"description": ""
}
],
"mediaType": "",
"oasExtensions": "",
"required": false,
"additionalContentTypes": []
},
"parameters": {
"path": [
{
"id": "id#0",
"name": "id",
"required": true,
"enable": true,
"description": "",
"type": "string",
"sampleValue": "video_099c5197-abfd-4e16-88ff-1e162f2a5c77"
}
],
"query": [],
"cookie": [],
"header": [
{
"id": "duU8YhJm7b",
"name": "Content-Type",
"required": true,
"enable": true,
"description": "",
"type": "string",
"sampleValue": "application/json"
}
]
},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"auth": {},
"responses": [
{
"id": 108141049,
"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"
],
"x-apifox-orders": [
"message",
"message_zh",
"type"
]
}
},
"required": [
"error"
],
"x-apifox-orders": [
"error"
]
},
"itemSchema": {},
"description": "",
"mediaType": "",
"headers": []
}
],
"responseExamples": [
{
"name": "成功示例",
"responseId": 108141049,
"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": "019fd25e-4be6-7169-93b6-c344e2c75650"
}
],
"codeSamples": [],
"projectId": 8662722,
"moduleId": 8310462,
"folderId": 92436134,
"ordering": 30,
"responsibleId": 0,
"commonResponseStatus": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"customApiFields": {},
"oasExtensions": "",
"mockScript": {},
"createdAt": "2026-08-05T14:40:23.000Z",
"updatedAt": "2026-08-06T12:15:55.000Z",
"creatorId": 2863449,
"editorId": 2863449,
"creatorUserId": 2863449,
"editorUserId": 2863449,
"responseChildren": [],
"visibility": "INHERITED",
"securityScheme": {},
"callbacks": ""
}