202 with a job_id immediately; poll GET /v1/jobs/{job_id} until status is succeeded.
Pick a model
| Model | Best for | Cost / image | Input |
|---|---|---|---|
flux-1.1-ultra | Cinematic photos, hero shots, editorial | $0.081 | text |
flux-kontext-pro | Image edit — inpaint, refine, modify | $0.054 | text + image |
ideogram-v3 | Typography, logos, posters, packaging | $0.108 | text |
recraft-v3 | Vector illustration, brand assets | $0.054 | text |
flux-1.1-ultra
Highest-fidelity FLUX. Hero shots, cinematic photo, editorial-grade output. Use this when the result is going on a landing page, ad, or above-the-fold position.- Cost: $0.081 per image
- Aspect ratios:
1:1,16:9,9:16,4:3,3:4,21:9 - n: up to 4 images per request
flux-kontext-pro
Image-to-image editor. Takes an existing image plus a text instruction; returns a modified image. Use for inpainting, style refinement, prop swaps, background changes.- Cost: $0.054 per image
- Requires:
image_url(HTTPS URL to the source image). A request withoutimage_urlreturns400 image_url_required.
ideogram-v3
Text-in-image specialist. Best model on Kyma for typography, packaging mockups, posters, and logos where readable text matters.- Cost: $0.108 per image
- Strengths: legible text, brand-safe layouts, packaging design
recraft-v3
Vector illustration and brand style. Use for icons, marketing illustrations, brand-consistent illustration sets, and anything that benefits from flat / vector aesthetics.- Cost: $0.054 per image
- Strengths: vector look, brand styles, illustration sets
Billing flow
- POST creates a job and places a hold for
estimated_cost(price × n images, markup applied). - On
succeeded, the hold is finalized as ausagetransaction at the actual cost. - On
failedorexpired, the hold is fully refunded — you only pay for images you receive.
GET /v1/jobs/{id}: charged_amount is the final billed amount, estimated_cost is what was held up front.
Idempotency
Passidempotency_key to make POST safe to retry. The same (user_id, idempotency_key) pair always returns the same job — no duplicate charges, no duplicate generations.
See also
POST /v1/images/generations— full request/response reference- Pricing — Image generation — per-image cost table