给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。
为提供的提示和参数创建完成
/v1/videos/{id}/content给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。
为提供的提示和参数创建完成
curl https://top.qingyuntop.ai/v1/videos/{id}/content \
-H "Authorization: Bearer ${QINGYUN_TOP_API_KEY}"| 参数 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
id | Path | string | 是 | - | video_099c5197-abfd-4e16-88ff-1e162f2a5c77 |
Content-Type | Header | string | 是 | - | application/json |
Accept | Header | string | 是 | - | application/json |
Authorization | Header | string | 否 | - | Bearer {{YOUR_API_KEY}} |
X-Forwarded-Host | Header | string | 否 | - | localhost:5173 |
model | JSON body | string | 是 | 枚举值: veo2 veo2-fast veo2-fast-frames veo2-fast-components veo2-pro veo3 veo3-fast veo3-pro veo3-pro-frames | - |
messages | JSON body | array<object> | 是 | 至今为止对话所包含的消息列表。Python 代码示例。 | - |
messages[].role | JSON body | string | 否 | - | - |
messages[].content | JSON body | string | 否 | - | - |
stream | JSON body | boolean | 否 | 默认为 false 如果设置,则像在 ChatGPT 中一样会发送部分消息增量。标记将以仅数据的服务器发送事件的形式发送,这些事件在可用时,并在 data: [DONE] 消息终止流。Python 代码示例。 | - |
| 参数 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
id | 响应 JSON | string | 是 | - | - |
status | 响应 JSON | string | 是 | - | - |
video_url | 响应 JSON | null | 是 | - | - |
enhanced_prompt | 响应 JSON | string | 是 | - | - |
status_update_time | 响应 JSON | integer | 是 | - | - |
以下内容来自 Apifox 快照,可能包含兼容层字段或旧示例;公开调用请以本页的协议说明和当前模型列表为准。
{
"id": 497673357,
"name": "openai 下载视频",
"type": "http",
"serverId": "",
"preProcessors": [],
"postProcessors": [],
"inheritPreProcessors": {},
"inheritPostProcessors": {},
"description": "给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。\n\n为提供的提示和参数创建完成\n\n",
"operationId": "",
"sourceUrl": "",
"method": "get",
"path": "/v1/videos/{id}/content",
"tags": [],
"status": 1,
"requestBody": {
"type": "multipart/form-data",
"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"
},
"messages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"content": {
"type": "string"
}
},
"x-apifox-orders": [
"role",
"content"
]
},
"description": "至今为止对话所包含的消息列表。Python 代码示例。"
},
"stream": {
"type": "boolean",
"description": "默认为 false 如果设置,则像在 ChatGPT 中一样会发送部分消息增量。标记将以仅数据的服务器发送事件的形式发送,这些事件在可用时,并在 data: [DONE] 消息终止流。Python 代码示例。"
}
},
"required": [
"model",
"messages"
],
"x-apifox-orders": [
"model",
"messages",
"stream"
]
},
"examples": [],
"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": "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}}"
},
{
"id": "t8P0euDZvz",
"name": "X-Forwarded-Host",
"required": false,
"enable": false,
"description": "",
"type": "string",
"sampleValue": "localhost:5173"
}
]
},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"auth": {},
"responses": [
{
"id": 151944274,
"name": "成功",
"code": 200,
"contentType": "json",
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"status": {
"type": "string"
},
"video_url": {
"type": "null"
},
"enhanced_prompt": {
"type": "string"
},
"status_update_time": {
"type": "integer"
}
},
"required": [
"id",
"status",
"video_url",
"enhanced_prompt",
"status_update_time"
],
"x-apifox-orders": [
"id",
"status",
"video_url",
"enhanced_prompt",
"status_update_time"
]
},
"itemSchema": {},
"description": "",
"mediaType": "",
"headers": [],
"oasExtensions": ""
}
],
"responseExamples": [],
"codeSamples": [],
"projectId": 8662722,
"moduleId": 8310462,
"folderId": 92749339,
"ordering": 36,
"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.151944274"
],
"visibility": "INHERITED",
"securityScheme": {},
"callbacks": ""
}