Image generation API

AI image generation, one API key

Generate photorealistic images, logos, vector art, and typography across the best image models — FLUX, Ideogram, Recraft, Imagen, and more — through a single OpenAI-compatible endpoint and one balance. Pay per image; failed renders are refunded in full.

POST /v1/images/generations · $0.50 free credit, no card

AI-generated photorealistic image

16 models, one API key

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

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 Imagen 4 and Nano Banana, 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 modelsPricingCompareImage API docs

$0.50 free credit on signup. No credit card required.

Get your free API key →