Imagen 4 API — Google Imagen 4.0 Text-to-Image
Imagen 4.0 is Google's flagship text-to-image model. Five aspect ratios, one flat per-image rate, async-first JSON contract — drop it into the same /api/v1/images/generations endpoint you already use.
English or Chinese · detailed prompts produce better Imagen 4 results
1:1 · 4:3 · 3:4 · 16:9 · 9:16 — pick by surface
Fixed at 1 on Imagen 4 — send multiple requests for variations

Try one of these prompts
What you can build
Real workflows powered by this model.

Hero shots at any aspect ratio
Imagen 4 covers the five aspect ratios most product surfaces ship — 1:1 for grid tiles, 16:9 and 9:16 for hero / mobile, 4:3 and 3:4 for editorial. One prompt template, five ratios, one flat rate. The same scene description carries across ratios without recomposition, which keeps a campaign visually consistent across web, app, and social.
Generate a hero
Editorial and marketing creative
Imagen 4's prompt adherence and lighting handle editorial-grade product photos, marketing banners, and brand moodboards. Describe the subject, the surface, the light, the lens — the render lands with composition you can drop straight into a layout. Async submit returns a task_id in milliseconds so a creative pipeline isn't blocked waiting on render.

Concept art and ideation
Send Imagen 4 a free-form scene description — a city skyline, a character beat, a landscape under a specific light — and it returns a single high-fidelity frame. Because Imagen 4 is text-to-image only, the result is purely prompt-driven; ideal for early-stage concept work where you haven't picked a reference yet.
Pricing
Credit-based — 1 credit = $0.001 USD. Pay only for completed generations.
| Mode | Category | Unit | Price |
|---|---|---|---|
| Per image | |||
| Any aspect ratio | 1 image | $0.046 46 credits | |
Why reAPI
Google Imagen 4 on one endpoint
Imagen 4 ships through the same /api/v1/images/generations endpoint you already use for the rest of your image stack. One JSON shape, one auth header, one credit ledger. Send model: imagen-4-0 with a prompt and a size and the task lands the same way every other reApi image task does.
Flat per-image rate — no hidden tiers
1 credit equals $0.001 USD. Imagen 4 is a flat 46 credits per image regardless of aspect ratio. No quality tier, no resolution tier, no n multiplier — the spec accepts exactly one image per request. The estimator on this page is the actual charge.
Async-first for production stacks
Submit an Imagen 4 task, get a task_id back, poll until done. Failed and moderated requests are not charged. Imagen 4 fits the same task plumbing as every other reApi model — drop it in, the lifecycle is identical.
Integrate Imagen 4 in three steps
- step 01
Create an API key
Sign up at reApi and grab a key. Free signup credits cover dozens of Imagen 4 generations, enough to validate the prompt → asset path before topping up.
Open - step 02
Submit a generation
POST to /api/v1/images/generations with model: imagen-4-0, a prompt, and an optional size. Imagen 4 returns a task_id immediately — your handler is free to move on.
Open - step 03
Poll the result
GET /api/v1/tasks/:id until status is completed. The Imagen 4 response carries an image URL valid for 24 hours; mirror to your own storage if you need it longer.
Open
Frequently asked questions
Common questions about this model.
Ready to ship?
Try it in the playground or grab an API key to integrate now.