> ## 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.

# Kling Image 4.0

> テキストや参照画像から、個別の画像や一連の画像を生成します。

Kling Image 4.0 は、テキストと参照画像から静止画を生成するモデルです。動画モデルの Kling 4.0 とは別のモデルです。

## 生成モード

* `single`：1 回のタスクで独立した画像を 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 の例、タスクの照会方法は [Kling 画像生成 API](https://mixroute.ai/docs/ja/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.