images
Generate images from text
Generate one or more images from a text prompt. Supported models include flux-2 (and its pro, max, flex, flash, turbo and klein variants), gpt-image-2, grok-imagine, nano-banana, nano-banana-2, nano-banana-2-lite, recraft, ideogram, seedream, z-image-turbo and kling. Credits vary by model, from 2 to about 63 per image.
post/images/generations
Request
- Base URLhttps://api.krater.ai/v1
- AuthHTTP bearer
Request body
Example request
{
"model": "flux-2",
"size": "1024x1024"
}Response
Generated image URLs.
Changes
No recorded changes to this operation across all 1 revision of this API.