Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
快手 Kling 1.6 文生视频 模型,支持从文本提示词生成视频,可自定义运镜、多镜头分镜和音效生成。
curl https://ai.alad.com/kling/v1/videos/text2video \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model_name": "kling-v1-6", "prompt": "一只猫在金色夕阳下穿过向日葵花田", "duration": "5", "mode": "std", "aspect_ratio": "16:9" }'
import requests response = requests.post( "https://ai.alad.com/kling/v1/videos/text2video", headers={ "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" }, json={ "model_name": "kling-v1-6", "prompt": "一只猫在金色夕阳下穿过向日葵花田", "duration": "5", "mode": "std", "aspect_ratio": "16:9" } ) task = response.json() print(f"任务 ID: {task['task_id']}")
model_name
kling-v1-6
prompt
negative_prompt
mode
std
pro
duration
3
15
5
aspect_ratio
16:9
9:16
1:1
cfg_scale
0
1
0.5
multi_shot
sound
on
off
camera_control
callback_url