Generate Images from Text with an API
Turn a prompt into one to four images with an open-weight model running on our GPUs, delivered as PNG or WebP files you can download. Run the preset directly on this page or call the same agent-ready endpoint from your product.
See what the tool changes.
A real example: the after side is the unedited output of a KinoGenie job. Run the live form above to generate the same result from your own media.
Demo footage: public-domain timelapses (Bureau of Land Management, Oregon · NASA SVS). Processed by the same pipeline the API and MCP tools call.
Useful defaults, typed options.
The tool slug stays stable while your agent supplies named media inputs and a narrow set of documented options.
- Open-weight models, no GPU of your own
- Up to four images per call, billed per image
- Same API, MCP server and account as the video tools
- 01Send a prompt and pick a model, aspect ratio and size
- 02Render one to four images on a GPU worker
- 03Mark each file as AI-generated in its metadata
- 04Return one downloadable file per image in result.outputs
POST /api/v1/tools/generate-imageKnow the boundaries before you run.
About generate images
Which models can I call?
Z-Image Turbo (Apache-2.0) by default, and Qwen-Image (Apache-2.0) when you need legible text in the image or a negative prompt. Pass model to choose, or call the model page directly, which pins it for you.
How are several images returned?
One file per image in result.outputs, each with its own download URL. The video tools return a single result.output, so an agent reading both should check outputs first.
What sizes can I ask for?
Seven aspect ratios at two tiers, 1k and 2k. Dimensions are derived on a 64 pixel grid at a constant megapixel budget, so 16:9 and 1:1 cost the same at the same tier. Z-Image Turbo is 1k only.
How is it billed?
Per image, at a rate that depends on the model and the size tier. The price is reserved when the job is queued, never changes with render time, and is refunded in full if the render fails.
Related media tools
Z-Image Turbo API: Fast Text to Image
Call Z-Image Turbo, the distilled six-billion-parameter text-to-image model from Alibaba Tongyi, over a hosted API: a prompt in, up to four images out, no GPU of your own.
ExploreQwen-Image API: Text to Image with Legible Text
Call Qwen-Image, the twenty-billion-parameter text-to-image model from Alibaba, over a hosted API. It is the one to reach for when the image itself has to contain readable words.
ExploreGenerate AI Video from Text with an API
Turn a text prompt, or an image to animate, into a short video clip with native stereo audio, delivered as an MP4.
Explore