ApiModels
Kling 2.6 模型
Kling 2.6 和 Motion Control 的模式、积分价格与 Vidrush API 示例。
简介
厂商: Kling。kling-2-6 可生成文生视频和图生视频,并支持可选音频;kling-2-6-motion-control 将人物图片与动作参考视频结合。
支持模式
| 模型 | 模式 | 时长 | 分辨率 | 宽高比 | 音频 |
|---|---|---|---|---|---|
kling-2-6 | text-to-video, image-to-video | 5s, 10s | 配置未提供分辨率选项 | 配置未提供宽高比选项 | 支持 |
kling-2-6-motion-control | image-to-video, video-to-video | 配置未提供时长选项 | 720p, 1080p | 配置未提供宽高比选项 | 不支持 |
Motion Control 同时需要 image_urls 和 video_urls。传入 video_urls 时,还必须传正数 options.source_video_duration_seconds。
积分价格
kling-2-6
文生视频和图生视频使用相同矩阵。
| 时长 | 无音频 | 有音频 |
|---|---|---|
| 5s | 55 | 110 |
| 10s | 110 | 220 |
kling-2-6-motion-control
| 分辨率 | 每秒积分 |
|---|---|
| 720p | 6 |
| 1080p | 9 |
按秒计费时,Vidrush 使用 ceil(rate * duration_seconds) 计算积分。
cURL
curl -X POST https://vidrush-ai.com/api/v1/videos \
-H "Authorization: Bearer $VIDRUSH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-2-6",
"mode": "text-to-video",
"prompt": "A slow dolly through a neon-lit night market",
"options": { "duration": "5s", "audio": true }
}'CLI
vidrush generate -m kling-2-6 -p "A slow dolly through a neon-lit night market" \
--duration 5s --audio --waitMCP
使用 generate_video 并传入 model: "kling-2-6";使用 Motion Control 时,应同时提供必填图片、视频和源视频时长。
注意事项
kling-2-6不应传resolution或aspect_ratio。kling-2-6-motion-control不应传duration或aspect_ratio。- Motion Control 的每秒费率适用于它的两种支持模式。