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

# Kling Image 3.0

### Model parameters

* Model ID: `kling-image-v3`
* Pricing: Check the [model details page](https://geekai.co/models/kling-image-v3) for current prices.
* Endpoint: `https://geekai.co/api/v1/images/generations`
* Parameters: See the [Image API reference](https://docs.geekai.co/en/api/image/generations.md).
* Authentication: [Get an API key](https://geekai.co/user/api_keys).

> [!NOTE]
>
> The following common Image API parameters are not supported:
>
> * `seed`
> * `quality`
> * `style_preset`
> * `response_format`
> * `output_format`
> * `mask`
> * `background`
>
> See also: [Official Kling Image v3 API documentation](https://app.klingai.com/cn/dev/document-api/apiReference/model/imageGeneration).

Supported values for `aspect_ratio`:

* 1:1
* 16:9
* 4:3
* 3:2
* 2:3
* 3:4
* 9:16
* 21:9

Use `size` instead of the official `resolution` to set the image resolution. Supported values for `size`:

* `1k` (default)
* `2k`

Use `watermark` instead of the official `watermark_info` to control whether the generated output has a watermark. `watermark` accepts `true` or `false` and defaults to `false`.

### Text-to-image generation

Generate an image from a text description:

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/images/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
    "model":"kling-image-v3",
    "prompt": "Draw a cute kitten",
    "negative_prompt": "Low quality",
    "aspect_ratio": "4:3",
    "n": 1,
}'
```

The response is a JSON object containing the generated image URL:

```json theme={null}
{
    "task_id": "5b36a98e-e202-43f8-8a28-cecdc83020b8",
    "task_status": "succeed",
    "data": [
        {
            "url": "https://static.geekai.co/image/2026/01/15/c07071e78203f406b0a607a2120adc11.png"
        }
    ]
}
```

To generate multiple images, set `n` to the number you want, up to 9.

### Image-to-image generation

**Single image**

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/images/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
    "model":"kling-image-v3",
    "prompt": "Change the color of the girl’s clothes to green",
    "image": "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_imagesToimage_1.png",
    "aspect_ratio": "16:9"
}'
```

The response is a JSON object containing the generated image URL:

```json theme={null}
{
    "task_id": "72580c6b-7733-4fbb-9661-f50c0e25280a",
    "task_status": "succeed",
    "data": [
        {
            "url": "https://static.geekai.co/image/2026/01/21/d5c09e54706a09cbb6271236e9d95fe1.png"
        }
    ]
}
```

Image requirements:

* Supply a Base64-encoded image or a publicly accessible image URL. For the mainland China version, the URL must be accessible from mainland China; otherwise, use Base64.
* Supported formats: .jpg, .jpeg, and .png.
* Each file must be no larger than 10 MB. Both dimensions must be at least 300 px, and the aspect ratio must be between 1:2.5 and 2.5:1.
* At most 1 reference image.


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