核心能力
- 文生视频和单帧图生视频
- 固定生成 5 秒或 10 秒
std为 720p,pro为 1080p- 文生视频支持
16:9、9:16、1:1
Kling 2.1 Master 不支持尾帧、原生音频、指定音色、多镜头、运动笔刷和运镜控制。
cURL
cURL
Kling 2.1 Master API 参考
查看完整旧版 API 字段。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
通过可灵旧版 API 使用 Kling 2.1 Master 文生视频和图生视频。
std 为 720p,pro 为 1080p16:9、9:16、1:1curl --request POST \
--url https://www.anyfast.ai/kling/v1/videos/text2video \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{"model_name":"kling-2.1-master","prompt":"火车穿过被白雪覆盖的山谷","duration":"5","mode":"pro","aspect_ratio":"16:9"}'
curl --request POST \
--url https://www.anyfast.ai/kling/v1/videos/image2video \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{"model_name":"kling-2.1-master","image":"https://example.com/frame.png","prompt":"天空开始飘雪","duration":"5","mode":"pro"}'
此页面对您有帮助吗?