POST
/v1/video/create创建视频
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 '{
"model": "grok-video-3",
"prompt": "小猫在吃鱼 --mode=custom",
"aspect_ratio": "3:2",
"size": "720P",
"images": ["https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_5_imageToimage.png"]
}'请求参数
| 参数 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
Content-Type | Header | string | 是 | - | application/json |
Accept | Header | string | 是 | - | application/json |
Authorization | Header | string | 否 | - | Bearer {{YOUR_API_KEY}} |
model | JSON body | string | 是 | 模型名字 grok-video-3 | - |
prompt | JSON body | string | 是 | 提示词 | - |
aspect_ratio | JSON body | string | 是 | 可选为 2:3, 3:2, 1:1 | - |
size | JSON body | string | 是 | 720P或者1080P 暂只支持720P | - |
images | JSON body | array<string> | 是 | 垫图图片链接,垫图后视频尺寸跟着图片尺寸走, | - |
返回响应 (200)
| 参数 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
id | 响应 JSON | string | 是 | - | - |
status | 响应 JSON | string | 是 | - | - |
status_update_time | 响应 JSON | integer | 是 | - | - |
响应示例
{
"id": "veo3.1-components:1762241017-xTL0P9HvGF",
"status": "pending",
"status_update_time": 1762241017286
}来源原始接口定义(用于追溯)
以下内容来自 Apifox 快照,可能包含兼容层字段或旧示例;公开调用请以本页的协议说明和当前模型列表为准。
{
"id": 497673354,
"name": "创建视频 ",
"type": "http",
"serverId": "",
"preProcessors": [],
"postProcessors": [],
"inheritPreProcessors": {},
"inheritPostProcessors": {},
"description": "",
"operationId": "",
"sourceUrl": "",
"method": "post",
"path": "/v1/video/create",
"tags": [],
"status": 1,
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "模型名字 grok-video-3"
},
"prompt": {
"type": "string",
"description": " 提示词"
},
"aspect_ratio": {
"type": "string",
"description": "可选为 2:3, 3:2, 1:1"
},
"size": {
"type": "string",
"description": "720P或者1080P 暂只支持720P"
},
"images": {
"type": "array",
"items": {
"type": "string"
},
"description": "垫图图片链接,垫图后视频尺寸跟着图片尺寸走,"
}
},
"required": [
"model",
"prompt",
"aspect_ratio",
"size",
"images"
],
"x-apifox-orders": [
"model",
"prompt",
"aspect_ratio",
"size",
"images"
]
},
"examples": [
{
"value": "{\r\n \"model\": \"grok-video-3\",\r\n \"prompt\": \"小猫在吃鱼 --mode=custom\",\r\n \"aspect_ratio\": \"3:2\",\r\n \"size\": \"720P\",\r\n \"images\": [\"https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_5_imageToimage.png\"]\r\n}",
"mediaType": "application/json"
}
],
"mediaType": "",
"oasExtensions": "",
"required": false,
"additionalContentTypes": []
},
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": [
{
"id": "NQs7bxnpZf",
"name": "Content-Type",
"required": true,
"enable": true,
"description": "",
"type": "string",
"sampleValue": "application/json"
},
{
"id": "qb8tEQbCty",
"name": "Accept",
"required": true,
"enable": true,
"description": "",
"type": "string",
"sampleValue": "application/json"
},
{
"id": "gBxcCbXhsa",
"name": "Authorization",
"required": false,
"enable": true,
"description": "",
"type": "string",
"sampleValue": "Bearer {{YOUR_API_KEY}}"
}
]
},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"auth": {},
"responses": [
{
"id": 141188160,
"name": "成功",
"code": 200,
"contentType": "json",
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"status": {
"type": "string"
},
"status_update_time": {
"type": "integer"
}
},
"required": [
"id",
"status",
"status_update_time"
],
"x-apifox-orders": [
"id",
"status",
"status_update_time"
]
},
"itemSchema": {},
"description": "",
"mediaType": "",
"headers": [],
"oasExtensions": ""
}
],
"responseExamples": [
{
"name": "成功示例",
"responseId": 141188160,
"data": "{\r\n \"id\": \"veo3.1-components:1762241017-xTL0P9HvGF\",\r\n \"status\": \"pending\",\r\n \"status_update_time\": 1762241017286\r\n}",
"description": "",
"oasKey": "",
"oasExtensions": "",
"id": "019fd25e-4be7-74fc-a46e-8a5c84e693ca"
},
{
"name": "成功示例",
"responseId": 141188160,
"data": "{\r\n \"id\": \"grok:299604b7-c5ea-47b5-bc64-c06f300f0d27\",\r\n \"status\": \"processing\",\r\n \"status_update_time\": 1764522528\r\n}",
"description": "",
"oasKey": "",
"oasExtensions": "",
"id": "019fd700-6415-724a-a45b-3dcc0c538484"
}
],
"codeSamples": [],
"projectId": 8662722,
"moduleId": 8310462,
"folderId": 92749338,
"ordering": 0,
"responsibleId": 0,
"commonResponseStatus": {},
"advancedSettings": {
"disabledSystemHeaders": {},
"isDefaultUrlEncoding": 1
},
"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.141188160"
],
"visibility": "INHERITED",
"securityScheme": {},
"callbacks": ""
}