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 '{
"prompt": "牛飞上天了",
"model": "veo3-fast-frames",
"images": [
"https://filesystem.site/cdn/20250612/VfgB5ubjInVt8sG6rzMppxnu7gEfde.png",
"https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png"
],
"enhance_prompt": true,
"enable_upsample": true,
"aspect_ratio": "16:9"
}'请求参数
| 参数 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
Content-Type | Header | string | 是 | - | application/json |
Accept | Header | string | 是 | - | application/json |
Authorization | Header | string | 否 | - | Bearer {{YOUR_API_KEY}} |
model | JSON body | string | 是 | 枚举值: veo2 veo2-fast veo2-fast-frames veo2-fast-components veo2-pro veo3 veo3-fast veo3-pro veo3-pro-frames veo3-fast-frames veo3-frames | - |
prompt | JSON body | string | 是 | 提示词 | - |
images | JSON body | array<string> | 否 | 当模型是带 veo2-fast-frames 最多支持两个,分别是首尾帧,当模型是 veo3-pro-frames 最多支持一个首帧,当模型是 veo2-fast-components 最多支持 3 个,此时图片为视频中的元素 | - |
enhance_prompt | JSON body | boolean | 是 | 由于 veo 只支持英文提示词,所以如果需要中文自动转成英文提示词,可以开启此开关 | - |
enable_upsample | JSON body | string | 是 | 超分 | - |
aspect_ratio | JSON body | string | 是 | ⚠️仅veo3支持,“16:9”或“9:16” | - |
返回响应 (200)
| 参数 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
id | 响应 JSON | string | 是 | - | - |
object | 响应 JSON | string | 是 | - | - |
created | 响应 JSON | integer | 是 | - | - |
choices | 响应 JSON | array<object> | 是 | - | - |
choices[].index | 响应 JSON | integer | 否 | - | - |
choices[].message | 响应 JSON | object | 否 | - | - |
choices[].message.role | 响应 JSON | string | 是 | - | - |
choices[].message.content | 响应 JSON | string | 是 | - | - |
choices[].finish_reason | 响应 JSON | string | 否 | - | - |
usage | 响应 JSON | object | 是 | - | - |
usage.prompt_tokens | 响应 JSON | integer | 是 | - | - |
usage.completion_tokens | 响应 JSON | integer | 是 | - | - |
usage.total_tokens | 响应 JSON | integer | 是 | - | - |
响应示例
{
"id": "veo3-fast-frames:1762010543-twr7BEQ5wO",
"status": "pending",
"status_update_time": 1762010543957
}来源原始接口定义(用于追溯)
以下内容来自 Apifox 快照,可能包含兼容层字段或旧示例;公开调用请以本页的协议说明和当前模型列表为准。
{
"id": 497673335,
"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": "枚举值:\nveo2\nveo2-fast\nveo2-fast-frames\nveo2-fast-components\nveo2-pro\nveo3\nveo3-fast\nveo3-pro\nveo3-pro-frames\nveo3-fast-frames\nveo3-frames"
},
"prompt": {
"type": "string",
"description": "提示词"
},
"images": {
"type": "array",
"items": {
"type": "string"
},
"description": "当模型是带 veo2-fast-frames 最多支持两个,分别是首尾帧,当模型是 veo3-pro-frames 最多支持一个首帧,当模型是 veo2-fast-components 最多支持 3 个,此时图片为视频中的元素\n"
},
"enhance_prompt": {
"type": "boolean",
"description": "由于 veo 只支持英文提示词,所以如果需要中文自动转成英文提示词,可以开启此开关\n"
},
"enable_upsample": {
"type": "string",
"description": "超分"
},
"aspect_ratio": {
"type": "string",
"description": "⚠️仅veo3支持,“16:9”或“9:16”\n"
}
},
"required": [
"model",
"prompt",
"enhance_prompt",
"enable_upsample",
"aspect_ratio"
],
"x-apifox-orders": [
"model",
"prompt",
"images",
"enhance_prompt",
"enable_upsample",
"aspect_ratio"
]
},
"examples": [
{
"value": "{\r\n \"prompt\": \"牛飞上天了\",\r\n \"model\": \"veo3-fast-frames\",\r\n \"images\": [\r\n \"https://filesystem.site/cdn/20250612/VfgB5ubjInVt8sG6rzMppxnu7gEfde.png\",\r\n \"https://filesystem.site/cdn/20250612/998IGmUiM2koBGZM3UnZeImbPBNIUL.png\"\r\n ],\r\n \"enhance_prompt\": true,\r\n \"enable_upsample\": true,\r\n \"aspect_ratio\": \"16:9\"\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": 117603490,
"name": "OK",
"code": 200,
"contentType": "json",
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"object": {
"type": "string"
},
"created": {
"type": "integer"
},
"choices": {
"type": "array",
"items": {
"type": "object",
"properties": {
"index": {
"type": "integer"
},
"message": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"content": {
"type": "string"
}
},
"required": [
"role",
"content"
],
"x-apifox-orders": [
"role",
"content"
]
},
"finish_reason": {
"type": "string"
}
},
"x-apifox-orders": [
"index",
"message",
"finish_reason"
]
}
},
"usage": {
"type": "object",
"properties": {
"prompt_tokens": {
"type": "integer"
},
"completion_tokens": {
"type": "integer"
},
"total_tokens": {
"type": "integer"
}
},
"required": [
"prompt_tokens",
"completion_tokens",
"total_tokens"
],
"x-apifox-orders": [
"prompt_tokens",
"completion_tokens",
"total_tokens"
]
}
},
"required": [
"id",
"object",
"created",
"choices",
"usage"
],
"x-apifox-orders": [
"id",
"object",
"created",
"choices",
"usage"
]
},
"itemSchema": {},
"description": "",
"mediaType": "",
"headers": [],
"oasExtensions": ""
}
],
"responseExamples": [
{
"name": "成功示例",
"responseId": 117603490,
"data": "{\r\n \"id\": \"veo3-fast-frames:1762010543-twr7BEQ5wO\",\r\n \"status\": \"pending\",\r\n \"status_update_time\": 1762010543957\r\n}",
"description": "",
"oasKey": "",
"oasExtensions": "",
"id": "019fd25e-4be6-7169-93b6-abb4fc0b3dd5"
}
],
"codeSamples": [],
"projectId": 8662722,
"moduleId": 8310462,
"folderId": 92436132,
"ordering": 6,
"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.117603490"
],
"visibility": "INHERITED",
"securityScheme": {},
"callbacks": ""
}