Text-to-image API — 8 models, one request shape

GPT Image 2, Nano Banana Pro / 2, Seedream 5, Kling 3 Image, Qwen Image 2 and CogView 4 behind the OpenAI images endpoint. Samples below were generated through this API, with the real latency and cost.

Crazyrouter is an AI API gateway that serves 8 text-to-image models through the OpenAI images endpoint with one key, billed per image from $0.01, with real generated samples on every model page.

8
models
$0.01
from, per generation
45%
max below list
Price per image, cheapest first
CogView-4$0.010Kling Image 3.0$0.026Nano Banana 2$0.037GPT Image 2$0.038Nano Banana Pro$0.074GPT Image 1.5$0.165

Real samples from these models

Generated through this API, 2026-09-28

Text-to-image models, by price per image

ModelVendorCrazyrouter price (per generation)Discount
CogView-4
cogview-4
Zhipu AI$0.01 / generation—Try
Kling Image 3.0
aigc-image-kling-3.0
Kling AI$0.0255 / generation−40%Try
Nano Banana 2
nano-banana-2
Google$0.0369 / image−45%Try
GPT Image 2
gpt-image-2
OpenAI$0.0377 / image−35%Try
Nano Banana Pro
nano-banana-pro
Google$0.0737 / image−45%Try
GPT Image 1.5
gpt-image-1.5
OpenAI$0.165 / image—Try
Qwen Image 2.0
qwen-image-2.0
Alibaba Cloudsee live pricing—Try
Seedream 5.0
doubao-seedream-5-0
ByteDancesee live pricing—Try

Prices come from the live billing table and already include the Crazyrouter discount; list prices are each vendor's public rate, for comparison only.

What is a text-to-image API?

A text-to-image API turns a prompt into an image file. Models differ in realism, text rendering, prompt adherence and speed; all of the ones below accept the same POST /v1/images/generations body, so you can A/B them by changing the model field.

How to choose

Photoreal product and people

GPT Image 2, Nano Banana Pro, Seedream 5. Best skin, materials and text in image.

Cheap at scale

Nano Banana 2, CogView 4, Qwen Image 2. A few cents per image; fine for thumbnails and variations.

Stylized / illustration

Kling 3 Image, Qwen Image 2. Strong on illustration and poster styles.

Editing an existing image

Use the image-edit hub: GPT Image 2 and Nano Banana Pro accept a reference image.

Generate an image

Swap model for any row in the table; the example uses cogview-4.

cURL
curl https://api.crazyrouter.com/v1/images/generations \
  -H "Authorization: Bearer $CRAZYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"cogview-4","prompt":"studio photo of a ceramic mug, soft light","size":"1024x1024","n":1}'

FAQ

What endpoint do image models use?

POST https://api.crazyrouter.com/v1/images/generations with the OpenAI images schema; model, prompt, size and n.

How is it billed?

Per generated image at the price in the table; failed generations are not charged.

Which text-to-image model is cheapest?

CogView-4 at $0.01 per image as of the latest sync.

Are the sample images real?

Yes — each was generated through this API on the date shown, with the measured latency and the actual cost.

Can I try without an account?

Yes, every image model page has a Try-it box with one free run; signup adds $2 of Playground credit.