POST
/v1/videosopenai 创建视频,带图片
API Key multipart/form-data
请求示例
curl -X POST https://top.qingyuntop.ai/v1/videos \
-H "Authorization: Bearer ${QINGYUN_TOP_API_KEY}"请求参数
| 参数 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
model | 请求体 | string | 是 | 现目前只支持veo_3_1 和 veo_3_1-fast,分组选择 限时特价和默认分组 | veo_3_1 |
prompt | 请求体 | string | 是 | 提示词 | 让牛快乐的跳科目三 |
seconds | 请求体 | string | 是 | 时长 | 8 |
input_reference | 请求体 | file | 是 | 垫图 | file://C:\Users\Administrator\Desktop\场景1.png |
size | 请求体 | string | 是 | 720x1280 竖屏 1280x720 横屏 | 16x9 |
watermark | 请求体 | string | 否 | - | false |
返回响应 (200)
| 参数 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
id | 响应 JSON | string | 是 | - | - |
object | 响应 JSON | string | 是 | - | - |
model | 响应 JSON | string | 是 | - | - |
status | 响应 JSON | string | 是 | - | - |
progress | 响应 JSON | integer | 是 | - | - |
created_at | 响应 JSON | integer | 是 | - | - |
seconds | 响应 JSON | string | 是 | - | - |
size | 响应 JSON | string | 是 | - | - |
响应示例
{
"id": "video_55cb73b3-60af-40c8-95fd-eae8fd758ade",
"object": "video",
"model": "veo_3_1",
"status": "queued",
"progress": 0,
"created_at": 1762336916,
"seconds": "8",
"size": "16x9"
}来源原始接口定义(用于追溯)
以下内容来自 Apifox 快照,可能包含兼容层字段或旧示例;公开调用请以本页的协议说明和当前模型列表为准。
{
"id": 497673338,
"name": "openai 创建视频,带图片",
"type": "http",
"serverId": "",
"preProcessors": [],
"postProcessors": [],
"inheritPreProcessors": {},
"inheritPostProcessors": {},
"description": "",
"operationId": "",
"sourceUrl": "",
"method": "post",
"path": "/v1/videos",
"tags": [],
"status": 1,
"requestBody": {
"type": "multipart/form-data",
"parameters": [
{
"id": "JneOMkZTMb",
"name": "model",
"required": true,
"enable": true,
"description": "现目前只支持veo_3_1 和 veo_3_1-fast,分组选择 限时特价和默认分组",
"type": "string",
"sampleValue": "veo_3_1"
},
{
"id": "MspMEqG0Yi",
"name": "prompt",
"required": true,
"enable": true,
"description": "提示词",
"type": "string",
"sampleValue": "让牛快乐的跳科目三"
},
{
"id": "QHFWKkJhjS",
"name": "seconds",
"required": true,
"enable": true,
"description": "时长",
"type": "string",
"sampleValue": "8"
},
{
"id": "CKLcYn3cMH",
"name": "input_reference",
"required": true,
"enable": true,
"description": "垫图",
"type": "file",
"schema": {
"format": "binary",
"type": "string"
},
"sampleValue": "file://C:\\Users\\Administrator\\Desktop\\场景1.png"
},
{
"id": "uUrbYSj8r2",
"name": "size",
"required": true,
"enable": true,
"description": "720x1280 竖屏 1280x720 横屏",
"type": "string",
"sampleValue": "16x9"
},
{
"id": "npj4jWjCMN",
"name": "watermark",
"required": false,
"enable": true,
"description": "",
"type": "string",
"sampleValue": "false"
}
],
"examples": [],
"mediaType": "",
"oasExtensions": "",
"required": false,
"additionalContentTypes": []
},
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"auth": {},
"responses": [
{
"id": 114610458,
"name": "成功",
"code": 200,
"contentType": "json",
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"object": {
"type": "string"
},
"model": {
"type": "string"
},
"status": {
"type": "string"
},
"progress": {
"type": "integer"
},
"created_at": {
"type": "integer"
},
"seconds": {
"type": "string"
},
"size": {
"type": "string"
}
},
"required": [
"id",
"object",
"model",
"status",
"progress",
"created_at",
"seconds",
"size"
],
"x-apifox-orders": [
"id",
"object",
"model",
"status",
"progress",
"created_at",
"seconds",
"size"
]
},
"itemSchema": {},
"description": "",
"mediaType": "",
"headers": []
}
],
"responseExamples": [
{
"name": "成功示例",
"responseId": 114610458,
"data": "{\r\n \"id\": \"video_55cb73b3-60af-40c8-95fd-eae8fd758ade\",\r\n \"object\": \"video\",\r\n \"model\": \"veo_3_1\",\r\n \"status\": \"queued\",\r\n \"progress\": 0,\r\n \"created_at\": 1762336916,\r\n \"seconds\": \"8\",\r\n \"size\": \"16x9\"\r\n}",
"description": "",
"oasKey": "",
"oasExtensions": "",
"id": "019fd25e-4be6-7169-93b6-b4e8c39a655d"
}
],
"codeSamples": [],
"projectId": 8662722,
"moduleId": 8310462,
"folderId": 92436134,
"ordering": 0,
"responsibleId": 0,
"commonResponseStatus": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"customApiFields": {},
"oasExtensions": "",
"mockScript": {},
"createdAt": "2026-08-05T14:40:23.000Z",
"updatedAt": "2026-08-06T12:16:00.000Z",
"creatorId": 2863449,
"editorId": 2863449,
"creatorUserId": 2863449,
"editorUserId": 2863449,
"responseChildren": [],
"visibility": "INHERITED",
"securityScheme": {},
"callbacks": ""
}