POST
/v1/video/create创建视频 (带 Character)
API Key application/json
请求示例
curl -X POST https://top.qingyuntop.ai/v1/video/create \
-H "Authorization: Bearer ${QINGYUN_TOP_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"images": [],
"model": "sora-2",
"orientation": "portrait",
"prompt": "make animate",
"duration": 15,
"character_url": "https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4",
"character_timestamps": "1,3",
"size": "large"
}'请求参数
| 参数 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
Content-Type | Header | string | 是 | - | application/json |
images | JSON body | array<string> | 否 | - | - |
model | JSON body | string | 是 | - | - |
orientation | JSON body | string: portrait | landscape | 否 | - | - |
prompt | JSON body | string | 是 | - | - |
duration | JSON body | integer: 10 | 15 | 25 | 否 | 时长 | - |
character_url | JSON body | string | 否 | 创建角色需要的视频链接,注意视频中一定不能出现真人,否则会失败 | - |
character_timestamps | JSON body | string | 否 | 视频角色出现的秒数范围,格式 `{start},{end}`, 注意 end-start 的范围 1-3秒 | - |
size | JSON body | string: large | small | 是 | - | - |
返回响应 (200)
此部分没有定义参数。
响应示例
{
"id": "sora-2:task_01k900ag82ecgbewj2xa3758z0",
"status": "pending",
"status_update_time": 1762010677921
}来源原始接口定义(用于追溯)
以下内容来自 Apifox 快照,可能包含兼容层字段或旧示例;公开调用请以本页的协议说明和当前模型列表为准。
{
"id": 497673352,
"name": "创建视频 (带 Character)",
"type": "http",
"serverId": "",
"preProcessors": [],
"postProcessors": [],
"inheritPreProcessors": {},
"inheritPostProcessors": {},
"description": "",
"operationId": "",
"sourceUrl": "",
"method": "post",
"path": "/v1/video/create",
"tags": [],
"status": -2,
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"images": {
"type": "array",
"items": {
"type": "string"
}
},
"model": {
"type": "string"
},
"orientation": {
"type": "string",
"enum": [
"portrait",
"landscape"
],
"x-apifox-enum": [
{
"value": "portrait",
"name": "",
"description": "竖屏"
},
{
"value": "landscape",
"name": "",
"description": "横屏"
}
]
},
"prompt": {
"type": "string"
},
"duration": {
"type": "integer",
"description": "时长",
"enum": [
10,
15,
25
],
"x-apifox-enum": [
{
"value": 10,
"name": "",
"description": "sora-2,sora-2-pro 可用"
},
{
"value": 15,
"name": "",
"description": "sora-2,sora-2-pro 可用"
},
{
"value": 25,
"name": "",
"description": "sora-2-pro可用"
}
]
},
"character_url": {
"type": "string",
"description": "创建角色需要的视频链接,注意视频中一定不能出现真人,否则会失败"
},
"character_timestamps": {
"type": "string",
"description": "视频角色出现的秒数范围,格式 `{start},{end}`, 注意 end-start 的范围 1-3秒"
},
"size": {
"type": "string",
"enum": [
"large",
"small"
],
"x-apifox-enum": [
{
"value": "large",
"name": "高清",
"description": ""
},
{
"value": "small",
"name": "一般",
"description": ""
}
]
}
},
"required": [
"model",
"prompt",
"size"
],
"x-apifox-orders": [
"images",
"model",
"orientation",
"prompt",
"duration",
"character_url",
"character_timestamps",
"size"
]
},
"examples": [
{
"value": "{\n \"images\": [],\n \"model\": \"sora-2\",\n \"orientation\": \"portrait\",\n \"prompt\": \"make animate\",\n \"duration\": 15,\n \"character_url\": \"https://filesystem.site/cdn/20251030/javYrU4etHVFDqg8by7mViTWHlMOZy.mp4\",\n \"character_timestamps\": \"1,3\",\n \"size\": \"large\"\n}",
"mediaType": "application/json",
"description": ""
}
],
"mediaType": "",
"oasExtensions": "",
"required": false,
"additionalContentTypes": []
},
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": [
{
"id": "KI6enZdPSI",
"name": "Content-Type",
"required": true,
"enable": true,
"description": "",
"type": "string",
"sampleValue": "application/json"
}
]
},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"auth": {},
"responses": [
{
"id": 191023531,
"name": "成功",
"code": 200,
"contentType": "json",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"itemSchema": {},
"description": "",
"mediaType": "",
"headers": []
}
],
"responseExamples": [
{
"name": "成功示例",
"responseId": 191023531,
"data": "{\r\n \"id\": \"sora-2:task_01k900ag82ecgbewj2xa3758z0\",\r\n \"status\": \"pending\",\r\n \"status_update_time\": 1762010677921\r\n}",
"description": "",
"oasKey": "",
"oasExtensions": "",
"id": "019fd25e-4be7-74fc-a46e-806eff55a01c"
}
],
"codeSamples": [],
"projectId": 8662722,
"moduleId": 8310462,
"folderId": 92749338,
"ordering": 24,
"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": [
"BLANK.191023531"
],
"visibility": "INHERITED",
"securityScheme": {},
"callbacks": ""
}