官方文档: https://fal.ai/models//fal-ai/kling-video/v2.5-turbo/pro/text-to-video
POST
/fal-ai/kling-video/v2.5-turbo/pro/text-to-video/fal-ai/kling-video/v2.5-turbo/pro/text-to-video
API Key application/json
请求示例
curl -X POST https://top.qingyuntop.ai/fal-ai/kling-video/v2.5-turbo/pro/text-to-video \
-H "Authorization: Bearer ${QINGYUN_TOP_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A noble lord walks among his people, his presence a comforting reassurance. He greets them with a gentle smile, embodying their hopes and earning their respect through simple interactions. The atmosphere is intimate and sincere, highlighting the bond between the leader and community.",
"duration": "5",
"aspect_ratio": "16:9",
"negative_prompt": "blur, distort, and low quality",
"cfg_scale": 0.5
}'请求参数
| 参数 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
prompt | JSON body | string | 是 | 视频生成提示词。 | - |
duration | JSON body | string | 否 | 生成视频时长,枚举值:5、10 | - |
aspect_ratio | JSON body | string | 否 | 视频比例,枚举值:16:9,9:16,1:1 | - |
negative_prompt | JSON body | string | 否 | - | - |
cfg_scale | JSON body | number | 否 | 范围值:0-1 | - |
返回响应 (200)
此部分没有定义参数。
响应示例
{
"status": "IN_QUEUE",
"request_id": "6d5fbbbd-411c-4c7a-9249-e297304c87d4",
"response_url": "https://queue.fal.run/fal-ai/kling-video/requests/6d5fbbbd-411c-4c7a-9249-e297304c87d4",
"status_url": "https://queue.fal.run/fal-ai/kling-video/requests/6d5fbbbd-411c-4c7a-9249-e297304c87d4/status",
"cancel_url": "https://queue.fal.run/fal-ai/kling-video/requests/6d5fbbbd-411c-4c7a-9249-e297304c87d4/cancel",
"logs": null,
"metrics": {},
"queue_position": 0
}来源原始接口定义(用于追溯)
以下内容来自 Apifox 快照,可能包含兼容层字段或旧示例;公开调用请以本页的协议说明和当前模型列表为准。
{
"id": 495899901,
"name": "/fal-ai/kling-video/v2.5-turbo/pro/text-to-video",
"type": "http",
"serverId": "",
"preProcessors": [],
"postProcessors": [],
"inheritPreProcessors": {},
"inheritPostProcessors": {},
"description": "官方文档: https://fal.ai/models//fal-ai/kling-video/v2.5-turbo/pro/text-to-video",
"operationId": "",
"sourceUrl": "",
"method": "post",
"path": "/fal-ai/kling-video/v2.5-turbo/pro/text-to-video",
"tags": [],
"status": 1,
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "视频生成提示词。"
},
"duration": {
"type": "string",
"description": "生成视频时长,枚举值:5、10"
},
"aspect_ratio": {
"type": "string",
"description": "视频比例,枚举值:16:9,9:16,1:1"
},
"negative_prompt": {
"type": "string"
},
"cfg_scale": {
"type": "number",
"description": "范围值:0-1"
}
},
"required": [
"prompt"
],
"x-apifox-orders": [
"prompt",
"duration",
"aspect_ratio",
"negative_prompt",
"cfg_scale"
]
},
"examples": [
{
"mediaType": "application/json",
"value": "{\r\n \"prompt\": \"A noble lord walks among his people, his presence a comforting reassurance. He greets them with a gentle smile, embodying their hopes and earning their respect through simple interactions. The atmosphere is intimate and sincere, highlighting the bond between the leader and community.\",\r\n \"duration\": \"5\",\r\n \"aspect_ratio\": \"16:9\",\r\n \"negative_prompt\": \"blur, distort, and low quality\",\r\n \"cfg_scale\": 0.5\r\n}"
}
],
"mediaType": "",
"oasExtensions": "",
"required": false,
"additionalContentTypes": []
},
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"auth": {},
"responses": [
{
"id": 151385352,
"name": "成功",
"code": 200,
"contentType": "json",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"itemSchema": {},
"description": "",
"mediaType": "",
"headers": [],
"oasExtensions": ""
}
],
"responseExamples": [
{
"name": "成功示例",
"responseId": 151385352,
"data": "{\r\n \"status\": \"IN_QUEUE\",\r\n \"request_id\": \"6d5fbbbd-411c-4c7a-9249-e297304c87d4\",\r\n \"response_url\": \"https://queue.fal.run/fal-ai/kling-video/requests/6d5fbbbd-411c-4c7a-9249-e297304c87d4\",\r\n \"status_url\": \"https://queue.fal.run/fal-ai/kling-video/requests/6d5fbbbd-411c-4c7a-9249-e297304c87d4/status\",\r\n \"cancel_url\": \"https://queue.fal.run/fal-ai/kling-video/requests/6d5fbbbd-411c-4c7a-9249-e297304c87d4/cancel\",\r\n \"logs\": null,\r\n \"metrics\": {},\r\n \"queue_position\": 0\r\n}",
"description": "",
"oasKey": "",
"oasExtensions": "",
"id": "019fd25e-4e07-74ea-bc26-a9f1c33f3ec9"
}
],
"codeSamples": [],
"projectId": 8662722,
"moduleId": 8310462,
"folderId": 92436089,
"ordering": 96,
"responsibleId": 0,
"commonResponseStatus": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"customApiFields": {},
"oasExtensions": "",
"mockScript": {},
"createdAt": "2026-08-02T03:53:34.000Z",
"updatedAt": "2026-08-05T14:40:24.000Z",
"creatorId": 2863449,
"editorId": 2863449,
"creatorUserId": 2863449,
"editorUserId": 2863449,
"responseChildren": [
"BLANK.151385352"
],
"visibility": "INHERITED",
"securityScheme": {},
"callbacks": ""
}