# KwaiVGI Kling Image V4 Long Image API

> Kling Image V4 Long Image by Kuaishou designs one complete ultra-tall image, such as an ecommerce product detail page from 1 to 3 product photos or a full webpage visual.

Source: https://www.sandbase.ai/models/kwaivgi/kling-image/v4/long-image
API reference: https://www.sandbase.ai/models/kwaivgi/kling-image/v4/long-image#api

## Facts

- Provider: KwaiVGI
- Type: Image model
- Model ID: `kwaivgi/kling-image/v4/long-image`
- Price: From $0.55 per run
- Capabilities: text 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/v4/long-image",
  "skill": "webpage",
  "length": "medium",
  "prompt": "Design a complete website for a specialty coffee brand as one long image: hero section, product showcase, roasting philosophy, store information and footer.",
  "resolution": "1K"
}'
```

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 V4 Long Image through SandBase?

Create a SandBase API key, then send requests with the model ID "kwaivgi/kling-image/v4/long-image" 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 V4 Long Image and the other models in the catalog; you do not need to sign up with KwaiVGI separately.

## README

### Kling Image V4 Long Image
Kling Image V4 Long Image designs one complete ultra-tall image: an ecommerce product detail page built from 1–3 product photos, or a full webpage visual.
#### Fields
| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Describe the page. Refer to product images as `@Image1`, … |
| `skill` | `webpage` / `ecommerce` | `webpage` | `ecommerce` requires `images`. |
| `images` | image URL[] | — | ecommerce only: 1–3 product images. |
| `style_image` | image URL | — | webpage only: visual and layout style reference. |
| `subject_image` | image URL | — | webpage only: subject to design around. |
| `length` | `short` / `medium` / `long` | `medium` | ecommerce only: about 2–5, 6–10 or 11–18 sections. |
| `resolution` | `1K` / `2K` | `1K` | Output resolution. |
#### Billing
Per long image, plus $0.00315 per input image.
| Request | 1K | 2K |
|---|---|---|
| webpage | $0.5483 | $0.5953 |
| ecommerce, short | $0.235 | $0.282 |
| ecommerce, medium | $0.47 | $0.5483 |
| ecommerce, long | $0.7833 | $0.8617 |
Failed runs are not charged.
#### Prompting
- For ecommerce, list only real product facts; the model builds the key visual, selling points and usage scenes.
#### Also on SandBase
Other Kling Image V4 endpoints: `kwaivgi/kling-image/v4`, `kwaivgi/kling-image/v4/edit`, `kwaivgi/kling-image/v4/long-image`.
