# MiniMax H3 Image API

> MiniMax's H3 picture model: text to image and edits from up to 4 reference pictures, 1K to 4K, with the prompt rewritten for detail. By MiniMax, on Revana from $0.02 per image.

- Model id: `minimax-h3-image`
- Kind: image
- Maker: MiniMax
- Tasks: Text to image, Image to image
- Resolutions: 1K, 2K, 4K
- Input images: up to 4
- Routes: 1
- Status: live on the API
- Page: https://revana.si/models/minimax-h3-image

## Price (per image, USD)

| Setting | Price | Credits |
|---|---|---|
| 1K | $0.02 | 2 |
| 2K | $0.02 | 2 |
| 4K | $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": "minimax-h3-image",
  "input": {
    "prompt": "A product photo of a ceramic coffee cup on a linen tablecloth, soft morning light",
    "resolution": "1K"
  },
  "max_cost_usd": 0.03
}
```

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

- [Hailuo 2.3](https://revana.si/models/hailuo-2.3.md): from $0.06 per second of video
- [Hailuo 02](https://revana.si/models/hailuo-02.md): from $0.02 per second of video
- [Hailuo 02 Pro](https://revana.si/models/hailuo-02-pro.md): from $0.06 per second of video
- [Hailuo 02 Standard](https://revana.si/models/hailuo-02-std.md): from $0.02 per second of video
- [Hailuo 2.3 Fast](https://revana.si/models/hailuo-2.3-fast.md): from $0.04 per second of video
- [Hailuo 2.3 Standard](https://revana.si/models/hailuo-2.3-std.md): from $0.04 per second of video

