# Kling Webpage Image API

> Kling's webpage design: one tall image of a full web page (hero, sections, call to action) from a prompt, 1024 px (1K) or 2048 px (2K) wide. By Kuaishou, on Revana from $0.54 per image.

- Model id: `kling-webpage-image`
- Kind: image
- Maker: Kuaishou
- Tasks: Text to image
- Resolutions: 1K, 2K
- Routes: 1
- Status: live on the API
- Page: https://revana.si/models/kling-webpage-image

## Price (per image, USD)

| Setting | Price | Credits |
|---|---|---|
| 1K | $0.54 | 54 |
| 2K | $0.59 | 59 |

100 credits = $1. Charged once, only for the route that succeeds; failed generations cost nothing.

## Request

POST https://api.revana.si/v1/generations with `Authorization: Bearer $REVANA_API_KEY` and an `Idempotency-Key` header: one key per request, made once and sent again on every resend after a timeout, a 429 or a 5xx, so the request is never made or charged twice. After a generation has failed, use a new key.

```json
{
  "model": "kling-webpage-image",
  "input": {
    "prompt": "A product photo of a ceramic coffee cup on a linen tablecloth, soft morning light",
    "resolution": "1K"
  },
  "max_cost_usd": 0.81
}
```

`max_cost_usd` is your cap, the most this request may cost (it lists at $0.54). Poll `GET /v1/generations/{id}` until `status` is `succeeded` or `failed`, then download `GET /v1/generations/{id}/content`. Full API: https://revana.si/llms.txt

## Similar models

- [Kling Image 4.0](https://revana.si/models/kling-image-4.0.md): from $0.08 per image
- [Kling Long Image](https://revana.si/models/kling-long-image.md): from $0.24 per image
- [Nano Banana Pro](https://revana.si/models/nano-banana-pro.md): from $0.04 per image
- [Nano Banana 2](https://revana.si/models/nano-banana-2.md): from $0.03 per image
- [GPT Image 2](https://revana.si/models/gpt-image-2.md): from $0.03 per image
- [Soul 2](https://revana.si/models/soul-2.md): from $0.01 per image

