# KwaiVGI Kling Image O3 Edit API

> Kling Image O3 Edit by Kuaishou edits or recomposes images from a text instruction using up to 10 reference images, with 1K, 2K, or 4K output.

Source: https://www.sandbase.ai/models/kwaivgi/kling-image/o3/edit
API reference: https://www.sandbase.ai/models/kwaivgi/kling-image/o3/edit/docs

## Facts

- Provider: KwaiVGI
- Type: Image model
- Model ID: `kwaivgi/kling-image/o3/edit`
- Price: From $0.02 per run (30% off list price)
- Capabilities: image to image
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "kwaivgi/kling-image/o3/edit",
  "images": [
    "https://static.sandbase.ai/examples/kwaivgi/kling-image/o3/edit/output_url_0.png"
  ],
  "prompt": "Transform into photorealistic 3D render, add proper lighting and shadows, realistic materials and textures, maintain exact proportions and design from sketch, product visualization quality",
  "resolution": "1K",
  "aspect_ratio": "16:9",
  "output_format": "png"
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## FAQ

### How do I call KwaiVGI Kling Image O3 Edit through SandBase?

Create a SandBase API key, then send requests with the model ID "kwaivgi/kling-image/o3/edit" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### Do I need a separate KwaiVGI account?

No. One SandBase API key and balance gives you access to KwaiVGI Kling Image O3 Edit and the other models in the catalog; you do not need to sign up with KwaiVGI separately.

## README

### Kling Image O3 Edit

Kling Image O3 edit: change or combine images with an instruction, up to 4K.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Up to 2,500 characters. |
| `images` | image URL[], required | — | Images to edit or combine, @Image1, @Image2, … |
| `resolution` | `1K` / `2K` / `4K` | `1K` | Sets the per-image rate. |
| `output_format` | `jpeg` / `png` | `png` | Output file format. |
| `aspect_ratio` | `21:9` / `16:9` / `3:2` / `4:3` / `5:4` / `1:1` / `4:5` / `3:4` / `2:3` / `9:16` | `16:9` | Output shape. |

#### Billing

$0.028 per image at 1K or 2K and $0.056 at 4K.

| Request | 1K | 2K | 4K |
|---|---|---|---|
| One image | $0.028 | $0.028 | $0.056 |

Failed runs are not charged.

#### Prompting

- Quote any text that must appear.

#### Limits

- One image per request.

#### Also on SandBase

Related: `kwaivgi/kling-image/o3`.
