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

# Kling Omni Image

> Generate high-quality images with reference image support

Generate high-quality AI images using Kling Omni Image models with support for up to 10 reference images.

## Models

| Model                           | Resolution       | Aspect Ratio          |
| ------------------------------- | ---------------- | --------------------- |
| `kuaishou/kling-o1-image`       | `1k`, `2k`       | No `4k`               |
| `kuaishou/kling-3.0-omni-image` | `1k`, `2k`, `4k` | Adds `auto` (default) |

***

## Parameters

### O1 Image (`kuaishou/kling-o1-image`)

| Parameter      | Type      | Required | Default  | Description                                                                         |
| -------------- | --------- | -------- | -------- | ----------------------------------------------------------------------------------- |
| `prompt`       | string    | Yes      | -        | Text description. Use `@Image1`, `@Image2` to reference inputs                      |
| `resolution`   | string    | No       | `"1k"`   | `"1k"`, `"2k"`                                                                      |
| `aspect_ratio` | string    | No       | `"auto"` | `"auto"`, `"1:1"`, `"16:9"`, `"9:16"`, `"4:3"`, `"3:4"`, `"3:2"`, `"2:3"`, `"21:9"` |
| `image_urls`   | string\[] | No       | -        | Reference image URLs (max 10). Use `@Image1`, `@Image2` in prompt                   |

### 3.0 Omni Image (`kuaishou/kling-3.0-omni-image`)

| Parameter      | Type      | Required | Default  | Description                                                                         |
| -------------- | --------- | -------- | -------- | ----------------------------------------------------------------------------------- |
| `prompt`       | string    | Yes      | -        | Text description. Use `@Image1`, `@Image2` to reference inputs                      |
| `resolution`   | string    | No       | `"1k"`   | `"1k"`, `"2k"`, `"4k"`                                                              |
| `aspect_ratio` | string    | No       | `"auto"` | `"auto"`, `"1:1"`, `"16:9"`, `"9:16"`, `"4:3"`, `"3:4"`, `"3:2"`, `"2:3"`, `"21:9"` |
| `image_urls`   | string\[] | No       | -        | Reference image URLs (max 10). Use `@Image1`, `@Image2` in prompt                   |

## Example - Text-to-Image

```bash theme={null}
curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "kuaishou/kling-o1-image",
    "input": {
      "prompt": "A serene mountain landscape at sunset, photorealistic",
      "aspect_ratio": "16:9",
      "resolution": "2k"
    }
  }'
```

## Example - With Reference Images

```bash theme={null}
curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "kuaishou/kling-3.0-omni-image",
    "input": {
      "prompt": "Transform @Image1 into a watercolor painting style",
      "image_urls": ["https://example.com/reference.jpg"],
      "aspect_ratio": "auto",
      "resolution": "2k"
    }
  }'
```

## Response

```json theme={null}
{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "processing"
  }
}
```
