
Gemini 2.5 Flash Image Preview
From $0.014 per image
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
Imagen 4.0 is Google's high-fidelity text-to-image model — prompts only, with no reference images and no inpainting masks. Each request takes a prompt of up to 4,000 characters and one of five aspect ratios (1:1, 4:3, 3:4, 16:9, 9:16, default 16:9), returns exactly one image, and is billed at a flat per-image rate.

Real-world workflows and production use cases you can build and ship with this model.

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
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.

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.
Credit-based — 1 credit = $0.001 USD. Pay only for completed generations.
One sample at the cheapest tier (1 image).
| Model | Category | Price |
|---|---|---|
| Per image | Any aspect ratio | $0.046 46 credits · 1 image |
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.
1 credit equals $0.001 USD. Imagen 4 is a flat per-image rate 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.
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.
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.
OpenPOST 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.
OpenGET /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.
Opencurl -X POST https://reapi.ai/api/v1/images/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "imagen-4-0",
"prompt": "A corgi wearing an astronaut helmet on the lunar surface",
"size": "16:9"
}'Rejected synchronously with the failing field named. Check enum values, ranges, and URL fields — nothing is charged.
401 means a missing or invalid Bearer key; 402 means the reserve exceeds your balance. Manage keys and credits in the console.
Reference material and outputs pass automated moderation. Rejected tasks fail with a clear error and a full refund.
A task that reaches a failed state is never charged — the reserve refunds automatically. Keep the task id and retry when ready.
Common questions about this model.
Explore more models in the same category.

From $0.014 per image

From $0.015 per image

From $0.028 per image

From $0.032 per image
Try it in the playground or grab an API key to integrate now.