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

# Kling O1

> 通过 Omni 端点进行多模态参考生成和视频编辑。仅保留原声或静音，不支持原生音频生成、4K 或视频角色 Element。

通过 Omni 端点进行多模态参考生成和视频编辑。仅保留原声或静音，不支持原生音频生成、4K 或视频角色 Element。

## 模型规格

| 项目        | 说明                                                        |
| --------- | --------------------------------------------------------- |
| ID        | `kling-o1`                                                |
| 接口        | [Omni 生成与编辑](/cn/api-reference/endpoint/kling-omni-video) |
| 普通生成分辨率   | 720p / 1080p                                              |
| 普通生成时长（秒） | 3-10                                                      |

以上时长不用于动作控制；有媒体输入时还须遵守对应接口的组合限制。模型写在路径中，请求体保留原生层级，不用 metadata。

## 请求示例

先设置环境变量 `MIXROUTE_API_KEY`。将 `example.com` 媒体地址替换为无需登录即可访问的真实素材。

```bash theme={null}
curl --request POST "https://api.mixroute.ai/kling/omni-video/kling-o1" \
  --header "Authorization: Bearer $MIXROUTE_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "contents": [
    {
      "type": "prompt",
      "text": "Change the red mug in @video_1 to blue. Preserve the original motion and background."
    },
    {
      "type": "base_video",
      "url": "https://example.com/source.mp4",
      "id": "video_1"
    }
  ],
  "settings": {
    "resolution": "720p",
    "duration": 5,
    "audio": "off"
  }
}'
```

保存提交返回的 `data.id`，通过 [查询 Kling 任务](/cn/api-reference/endpoint/kling-tasks) 读取状态与 `outputs`。通用选项与基础计费见 [Kling 概览](/cn/api-reference/endpoint/kling)。
