🖼️

AI Image Generation

Text prompt in, image out.

Describe the picture, choose the size, get an image in seconds. Powered by FLUX.1 schnell (Apache-2.0 licence).

What it does

Fast text-to-image for product shots, illustrations, thumbnails and concept art.

FLUX.1 schnell

Apache-2.0 licensed text-to-image model.

Your size

Any width and height up to a total of 1920×1080 pixels.

Prompt help

Use Smart Generate to have your prompt enhanced automatically.

Commercial use

Use generated images in your products and marketing.

API

Authenticate with Authorization: Bearer YOUR_API_KEY (create a key in the dashboard). Returns a generation_id. Poll GET /v1/image/{generation_id} until status is completed.

POST /v1/image/generate

JSON body.

FieldTypeRequiredDescription
promptstringyesWhat to draw.
widthintegernoDefault 1024.
heightintegernoDefault 1024. Total area up to 1920×1080 pixels.
modelstringnoflux-schnell.
curl -X POST https://api.pixelapi.dev/v1/image/generate \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"prompt": "product photo of white sneakers on a marble plinth, soft studio light", "width": 1024, "height": 1024, "model": "flux-schnell"}' curl https://api.pixelapi.dev/v1/image/GENERATION_ID -H "Authorization: Bearer YOUR_API_KEY"

Pricing

Billed in credits. 1 credit = $0.001 on the Starter plan; the cash value of a credit depends on your plan. Failed jobs are refunded.

Per image
1.2 credits
≈ $0.0012 per image on Starter.

FAQ

How much does an image cost?

1.2 credits per image. 1 credit = $0.001 on the Starter plan.

Which model is used?

FLUX.1 schnell (Apache-2.0).

What sizes are supported?

Any width and height up to a total area of 1920×1080 pixels. The default is 1024×1024.

Is SDXL available?

No. Text-to-image uses FLUX.1 schnell only.

Ready to try AI Image Generation?

New accounts get 300 free trial credits (one trial per person), no card required.