> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cdn-fly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Kling 3.0 图生视频

> 快手 Kling 3.0 图生视频 模型，支持从参考图片生成视频，可自定义运镜、运动笔刷和多镜头分镜。

Kling 3.0 图生视频 是快手可灵系列的图生视频模型，通过 Starrise AI API 提供服务。将静态图片转化为动态视频，支持自定义运镜、运动笔刷和多镜头分镜。

## 核心能力

* **图生视频** — 从首帧和/或尾帧参考图片生成视频
* **运镜控制** — 预设和自定义运镜（平移、倾斜、缩放、翻滚）
* **运动笔刷** — 静态和动态笔刷蒙版实现精确运动控制
* **多镜头分镜** — 创建最多 6 个分镜，自定义提示词和时长
* **标准与专业模式** — 可选标准模式或高画质专业模式

## 快速示例

```bash cURL theme={null}
curl https://dayu.cdn-fly.com/kling/v1/videos/image2video \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model_name": "kling-v3",
    "image": "https://example.com/photo.jpg",
    "prompt": "人物微笑着向镜头挥手",
    "duration": "5",
    "mode": "std"
  }'
```

```python Python theme={null}
import requests

response = requests.post(
    "https://dayu.cdn-fly.com/kling/v1/videos/image2video",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json"
    },
    json={
        "model_name": "kling-v3",
        "image": "https://example.com/photo.jpg",
        "prompt": "人物微笑着向镜头挥手",
        "duration": "5",
        "mode": "std"
    }
)

task = response.json()
print(f"任务 ID: {task['task_id']}")
```

## 参数说明

| 参数 | 类型 | 必填 | 说明 |
| - | - | - | - |
| `model_name` | string | 否 | 固定为 `kling-v3` |
| `image` | string | 条件必填 | 首帧参考图片（Base64 或 URL） |
| `image_tail` | string | 条件必填 | 尾帧参考图片（Base64 或 URL） |
| `prompt` | string | 条件必填 | 文本提示词（最长 2500 字符） |
| `negative_prompt` | string | 否 | 负向提示词（最长 2500 字符） |
| `mode` | string | 否 | `std` 或 `pro`，默认 `std` |
| `duration` | string | 否 | `3`–`15` 秒，默认 `5` |
| `cfg_scale` | float | 否 | 提示词相关性 `0`–`1`，默认 `0.5` |
| `camera_control` | object | 否 | 运镜控制 |
| `sound` | string | 否 | `on` 或 `off`，默认 `off`（仅 V2.6+） |
| `callback_url` | string | 否 | 任务状态回调 URL |

> **[API 参考](/zh/api-reference/model-api/kuaishou/kling-v3-i2v)**
>
> 查看 Kling 3.0 图生视频 的交互式 API Playground。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.