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.0 图生视频 模型,支持从参考图片生成视频,可自定义运镜、运动笔刷和多镜头分镜。
curl https://ai.alad.com/kling/v1/videos/image2video \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model_name": "kling-v1", "image": "https://example.com/photo.jpg", "prompt": "人物微笑着向镜头挥手", "duration": "5", "mode": "std" }'
import requests response = requests.post( "https://ai.alad.com/kling/v1/videos/image2video", headers={ "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" }, json={ "model_name": "kling-v1", "image": "https://example.com/photo.jpg", "prompt": "人物微笑着向镜头挥手", "duration": "5", "mode": "std" } ) task = response.json() print(f"任务 ID: {task['task_id']}")
model_name
kling-v1
image
image_tail
prompt
negative_prompt
mode
std
pro
duration
3
15
5
cfg_scale
0
1
0.5
camera_control
sound
on
off
callback_url