Image Generation Model APIs
61 image models for text-to-image, image-to-image and editing — GPT Image 2, Nano Banana (Gemini image), Seedream, FLUX, Qwen Image, Grok Imagine and Midjourney — behind one asynchronous images endpoint.

GPT Image
OpenAI · 12 modelsgpt-image-1
gpt-image-1-official
gpt-image-1.5
gpt-image-1.5-official
gpt-image-2
gpt-image-2-official
gpt-image-2.5-ext
gpt-image-2.5-flare
gpt-image-2.5-sunburst
gpt-image-2.6-ext
gpt-image-2.6-flare
gpt-image-2.6-sunburst
Seedream
ByteDance · 6 modelsseedream-4-0
seedream-4-5
seedream-5-0-flash
seedream-5-0-lite
seedream-5-0-pro
seedream-5-5
Nano Banana
Google · 10 modelsNano Banana
gemini-2.5-flash-image-previewgemini-2.5-flash-image-preview-official
Nano Banana Pro
gemini-3-pro-image-previewgemini-3-pro-image-preview-official
Nano Banana 2
gemini-3.1-flash-image-previewgemini-3.1-flash-image-preview-official
Nano-Banana-2-Lite
gemini-3.1-flash-lite-imagegemini-3.1-flash-lite-image-ext
Nano Banana 2.1
gemini-nano-banana-2.1gemini-nano-banana-2.1-ext
FLUX
Black Forest Labs · 7 modelsflux-2-flex
flux-2-max
flux-2-pro
flux-3-image
flux-3-image-klein
flux-kontext-max
flux-kontext-pro
Grok Imagine
xAI · 6 modelsgrok-imagine-1.5-openrouterapi
grok-imagine-1.5-ext
grok-imagine-1.5-edit-openrouterapigrok-imagine-2.0-ext
grok-imagine-image
grok-imagine-image-2.0
grok-imagine-image-quality
Qwen Image
Alibaba · 4 modelsqwen-image-2.0
qwen-image-2.0-pro
qwen-image-3.0
qwen-image-3.0-pro
MAI Image
Microsoft · 4 modelsmai-image-2.6
mai-image-2.6-flash
mai-image-2.7
mai-image-2.7-flash
Wan Image
Alibaba · 2 modelsKling Image
Kuaishou · 2 modelsMiniMax Image
MiniMax · 2 modelsZ-Image
Alibaba · 1 modelsImagen
Google · 1 modelsMidjourney
Midjourney · 1 modelsMuse
Muse · 1 modelsDALL·E
OpenAI · 1 modelsHunyuan Image
Tencent · 1 modelsHow to call Image models
Submit a prompt (and optional reference images) to POST /v1/images/generations, receive a task_id, then poll GET /v1/tasks/{task_id} until the result URLs are ready. Most image models are billed per successful image at a fixed price per resolution tier; token-priced models such as Gemini image models are billed from the returned usage. Failed generations are not charged.
Per successful image by resolution or quality tier for most models; token-priced models are billed from usage.
curl --request POST \
--url https://openrouterapi.ru/v1/images/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-image-2.6-flare",
"prompt": "A cozy reading nook by a rainy window, warm lamp light",
"size": "1:1",
"resolution": "1k",
"quality": "medium",
"n": 1
}'Image model FAQ
Which endpoint do Image models use?
Image models use POST /v1/images/generations. Each model page shows the exact request body, parameters and a working example.
How are Image models billed?
Per successful image by resolution or quality tier for most models; token-priced models are billed from usage.
Can I switch between Image models without code changes?
Yes. Models in the same category share the same endpoint and request schema, so switching usually means changing only the model field. Some models add optional parameters, documented on their pages.
Are results charged when a request fails?
No. Only successful requests are billed. Requests that are rejected or blocked by moderation are free.
One key. Every model. Start shipping today.
Create an account, top up from $50, and point your existing OpenAI, Anthropic or Gemini SDK at Openrouter API. No subscriptions, no seat fees, no idle charges.
