/fal-ai/kling-video/v2.5-turbo/pro/text-to-video
POST https://aiapi.winfull.top/fal-ai/kling-video/v2.5-turbo/pro/text-to-video 官方文档: https://fal.ai/models//fal-ai/kling-video/v2.5-turbo/pro/text-to-video
请求参数
Authorization 在 Header 添加参数 Authorization ,其值为在 Bearer 之后拼接 Token 示例: Authorization: Bearer ******************** Body 参数application/json 生成代码 示例
{
"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
}请求示例代码
Shell JavaScript Java Swift Go PHP Python HTTP C C# Objective-C Ruby OCaml Dart R 请求示例请求示例 Shell JavaScript Java Swift cURLcURL-WindowsHttpiewgetPowerShell
curl --location --request POST 'https://aiapi.winfull.top/fal-ai/kling-video/v2.5-turbo/pro/text-to-video' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"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
}'返回响应
🟢200成功 application/json生成代码 Body 生成代码 示例
{
"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
}修改于 2025-09-25 07:44:42
