Save time and money. Focus on creating great AI products, not maintaining complex GPU infrastructure.
curl \
-X POST https://api.getimg.ai/v1/seedream-v4/text-to-image \
-HÂ "Authorization: Bearer $ACCESS_TOKEN"Â \
-HÂ "Content-Type: application/json"Â \
-d '{"prompt":"astronaut riding a horse on mars"}'
From early prototypes to products serving millions of users, the getimg.ai API is built to handle it all. You get fast, reliable image generation through a single, flexible endpoint: no setup, no servers, no maintenance.

Everything is well documented and consistent, so you always know what each parameter does and what each request costs. It works exactly the way you expect, with no hidden surprises.
curl --request POST \
--url https://api.getimg.ai/v1/flux-schnell/text-to-image \
--header 'authorization: Bearer $ACCESS_TOKEN' \
--header 'accept: application/json' \
--data '{"prompt": "your image description"}'Total price per image is based on the amount of compute required to fulfill the request.
$0.03 / image
/v1/seedream-v4/text-to-image| Size | Price |
|---|---|
| 2048×2048 | 0.03 / image |
| 2560x1440, 2496x1664, 2304x1728 | 0.03 / image |
$0.0006 / 1M pixelsteps
/v1/flux-schnell/text-to-image| Size | Price |
|---|---|
| 1024×1024 | $0.00252 / image |
| 1280×720, 720×1280 | $0.00221 / image |
getimg.ai’s Text to Image API helps you create images from text inside your own product. Instead of managing GPUs or training models, you just send a request and get a finished image back in seconds.
It’s used by teams who want to:
The value is simple: you get reliable image generation (e.g., with the FLUX API) without the overhead of running your own infrastructure. That means faster development, lower costs, and more time to focus on what makes your app unique.
Getting started only takes a minute. The API uses a separate account from the main getimg.ai web app, so even if you used our tools before, you’ll still need to create an API account first.
After that, you can start making requests to models like Seedream 4 and FLUX.1 [schnell] right away. You’ll manage your balance and usage directly from the API Dashboard.
The API isn’t free, but it’s built to be affordable and flexible. You pay only for what you generate. There are no subscriptions, no idle GPU costs.
Each model has its own rate based on image size and compute used. FLUX.1 [schnell] API is the most cost-efficient option, while Seedream 4 offers higher-end quality and style versatility.
This pay-as-you-go model makes it easy to start small and scale up as your usage grows. Whether you’re building a personal project or powering a large production app, you’ll always have predictable costs and full control over your spend.
Once you have your API key, you can start making requests right away. The API is straightforward: you make a POST request with a JSON body that includes a prompt, and it returns a generated image in response.
Each model (like Seedream 4 or FLUX.1 [schnell]) has its own set of parameters. For image generation, the prompt field is the only required one, but you can also include optional fields such as seed for more control over the output.
For details on available parameters and full request examples, check the API documentation. Our API is built to be simple, flexible, and reliable, so you can add image generation to your product without extra setup or complexity.