# Ideogram V4 API

> Ideogram's Ideogram V4: text to image and image editing. By Ideogram, on Revana from $0.04 per image.

- Model id: `ideogram-v4`
- Kind: image
- Maker: Ideogram
- Tasks: Text to image, Image to image
- Routes: 1
- Status: live on the API
- Page: https://revana.si/models/ideogram-v4

## Price (per image, USD)

| Setting | Price | Credits |
|---|---|---|
| balanced | $0.08 | 8 |
| quality | $0.14 | 14 |
| turbo | $0.04 | 4 |

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": "ideogram-v4",
  "input": {
    "prompt": "A product photo of a ceramic coffee cup on a linen tablecloth, soft morning light"
  },
  "max_cost_usd": 0.12
}
```

`max_cost_usd` is your cap, the most this request may cost (it lists at $0.08). 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

- [Ideogram V3](https://revana.si/models/ideogram-v3.md): from $0.03 per image
- [Ideogram Character](https://revana.si/models/ideogram-character.md): from $0.08 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

