# AI image generation, one API key

Markdown version of https://kymaapi.com/image-generation, for agents and crawlers. Same content as the HTML page.

- Generated: 2026-10-28T21:43:30.633Z
- HTML page: https://kymaapi.com/image-generation
- Model catalog: https://kymaapi.com/models.md
- Pricing: https://kymaapi.com/pricing.md

Image generation API

Generate photorealistic images, logos, vector art, and typography across the best image models (FLUX, Ideogram, Recraft, GPT Image 2, Nano Banana 3 Flash, and more) through a single OpenAI-compatible endpoint and one balance. Pay per image; failed renders are refunded in full.

- [Get free API key →](https://kymaapi.com/signup)
- [See pricing](https://kymaapi.com/pricing)

`POST /v1/images/generations` · $0.50 free credit on the free tier, no card

## 10 models, one API key

Switch models with a string. Billed per use, refunded on failure.

- [MiniMax Image 01 · MiniMax · $0.005 / image](https://kymaapi.com/models/minimax-image-01)
- [GPT Image 2.5 Flare · OpenAI · $0.019 / image](https://kymaapi.com/models/gpt-image-2.5-flare)
- [FLUX.2 Pro · Black Forest Labs · $0.0405 / image](https://kymaapi.com/models/flux-2-pro)
- [FLUX.1 Kontext Pro · Black Forest Labs · $0.054 / image](https://kymaapi.com/models/flux-kontext-pro)
- [Recraft V4 · Recraft · $0.054 / image](https://kymaapi.com/models/recraft-v4)
- [Nano Banana 3 Flash · Google · $0.061 / image](https://kymaapi.com/models/nano-banana-3-flash)
- [GPT Image 2 · OpenAI · $0.072 / image](https://kymaapi.com/models/gpt-image-2)
- [Ideogram V3 · Ideogram · $0.081 / image](https://kymaapi.com/models/ideogram-v3)
- [Recraft V4 Vector · Recraft · $0.108 / image](https://kymaapi.com/models/recraft-v4-vector)
- [Recraft V4 Pro · Recraft · $0.3375 / image](https://kymaapi.com/models/recraft-v4-pro)

## Quick start

OpenAI-compatible. Point your client at `https://kymaapi.com/v1` with a ky- key.

```
curl https://kymaapi.com/v1/images/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "flux-2-pro",
    "prompt": "A serene mountain lake at sunrise, photorealistic",
    "n": 1
  }'
# Response: { "id": "img_...", "status": "queued" }
# Poll: GET /v1/jobs/{id} until status = "succeeded"
```

## FAQ

### Which image generation models does Kyma support?

Kyma serves the leading image models through one API: FLUX.2 Pro and FLUX.1 Kontext from Black Forest Labs, Ideogram V3 for typography, the Recraft V4 family including vector output, Google's Nano Banana 3 Flash, OpenAI's GPT Image 2, and MiniMax Image. Switch between them by changing the model string.

### How much does image generation cost?

You pay per generated image, with rates starting around half a cent. There is no subscription. You only pay for successful renders, and failed jobs are refunded in full. See the pricing page for per-model rates.

### Is the image API OpenAI-compatible?

Yes. Call POST /v1/images/generations with your Kyma API key, the same shape as the OpenAI Images API. Generation is asynchronous: you receive a job id and poll GET /v1/jobs/{id} until it succeeds.

### Can I generate logos and vector art?

Yes. Recraft V4 Vector outputs true SVG vector art, and Ideogram V3 excels at text and typography in images. Both are available on the same Kyma key as the photorealistic models.

- [All models](https://kymaapi.com/models)
- [Pricing](https://kymaapi.com/pricing)
- [Compare](https://kymaapi.com/compare)
- [Image API docs →](https://docs.kymaapi.com/api-reference/images-generations)

$0.50 free credit on the free tier. No card required.

[Get your free API key →](https://kymaapi.com/signup)
