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

# 可靈 Image 4.0

> 透過文字提示或參考圖片生成獨立圖片和連貫的系列圖片。

可靈 Image 4.0 可根據文字和參考圖片生成靜態圖片，與可靈 4.0 影片模型不同。

## 生成模式

* `single`：一次生成 1–9 張獨立圖片。
* `series`：生成 2–10 張相關圖片，也可以用 `auto` 自動決定張數。
* 標準圖片與系列圖片可選擇 `2k`、`4k` 或 `8k` 解析度。

## 送出請求

呼叫 `POST /kling/image-generation/kling-4.0`，將 `contents` 和 `settings` 放在 JSON 最外層。目錄 ID 是 `kling-image-4.0`，但請求路徑結尾是 `kling-4.0`。

完整參數、cURL 範例和查詢流程請見[可靈圖片生成 API](https://mixroute.ai/docs/zh-Hant/api-reference/endpoint/kling-image-generation.md)。

費用取決於解析度，以及計入的參考圖和輸出圖片張數。最新價格請查看 [MixRoute 模型廣場](https://console.mixroute.ai/models)，實際扣款以控制台帳單為準。


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