Google Imagen 4

Image generationAvailable
by Google DeepMindModel ID: imagen-4-flagship

Google DeepMind's Imagen 4 text-to-image model, hosted on Replicate. Sharp detail, accurate text rendering, and strong prompt adherence across photographic and illustrated styles. Outputs up to 2K resolution.

Price
$0.048/image
Aspect ratios
1:1, 16:9, 9:16, 4:3, 3:4
Input โ†’ output
Text โ†’ Image
Developer
Google DeepMind
Updated
September 23, 2026
01

Playground

Try Google Imagen 4

Input & output

$0.048/image
Try Google Imagen 4

0 / 2,000

What to generate

Advanced settings (2)
Output
Your image appears here.

This run

$0.048 ยท 4.8 credits

For accounts without a purchase: runs above 2 credits need a top-up.

New here?

10 free credits ($0.10) when you sign up with Google

Usable 24 hours after sign-up, up to 5 runs per day and at most 2 credits per run. Other sign-in methods start without credits.

02

Examples

Real outputs from the public examples of this model on Replicate, with the prompt and settings that produced them. They were not generated live on this page.
  • Example output 1 from Google Imagen 4: The photo: Create a cinematic, photorealistic medium shot capturing the nostalgic warmth of a late 90s indie film. The focus is a young womaOpen full size

    Prompt

    The photo: Create a cinematic, photorealistic medium shot capturing the nostalgic warmth of a late 90s indie film. The focus is a young woman with brightly dyed pink-gold hair and freckled skin, looking directly and intently into the camera lens with a hopeful yet slightly uncertain smile, she is slightly off-center. She wears an oversized, vintage band t-shirt that says "Replicate" (slightly worn) over a long-sleeved striped top and simple silver stud earrings. The lighting is soft, golden hour sunlight streaming through a slightly dusty window, creating lens flare and illuminating dust motes in the air. The background shows a blurred, cluttered bedroom with posters on the wall and fairy lights, rendered with a shallow depth of field. Natural film grain, a warm, slightly muted color palette, and sharp focus on her expressive eyes enhance the intimate, authentic feel

    Settings

    aspect_ratio
    16:9
  • Example output 2 from Google Imagen 4: The text "Imagen-4" in front of a photo, center middle. The photo: Create a cinematic, photorealistic medium shot capturing the nostalgic waOpen full size

    Prompt

    The text "Imagen-4" in front of a photo, center middle. The photo: Create a cinematic, photorealistic medium shot capturing the nostalgic warmth of a late 90s indie film. The focus is a young woman with brightly dyed pink-gold hair and freckled skin, looking directly and intently into the camera lens with a hopeful yet slightly uncertain smile, she is slightly off-center. She wears an oversized, vintage band t-shirt that says "Replicate" (slightly worn) over a long-sleeved striped top and simple silver stud earrings. The lighting is soft, golden hour sunlight streaming through a slightly dusty window, creating lens flare and illuminating dust motes in the air. The background shows a blurred, cluttered bedroom with posters on the wall and fairy lights, rendered with a shallow depth of field. Natural film grain, a warm, slightly muted color palette, and sharp focus on her expressive eyes enhance the intimate, authentic feel

    Settings

    aspect_ratio
    16:9
  • Example output 3 from Google Imagen 4: gorilla riding a moped through busy italian cityOpen full size

    Prompt

    gorilla riding a moped through busy italian city

    Settings

    aspect_ratio
    9:16
03

About Google Imagen 4

TL;DRAs of September 23, 2026

Google Imagen 4 is a model by Google DeepMind in the Image generation category. On Railwail, Google Imagen 4 costs $0.048 per image. Supported aspect ratios: 1:1, 16:9, 9:16, 4:3, and 3:4.

Imagen 4 is Google DeepMind's latest text-to-image model, exposed through Replicate's official Google partnership. It improves on Imagen 3 in fine detail, typography, and prompt fidelity, and renders text inside images more reliably than most competitors. An Ultra tier is available for the highest quality and a Fast tier for lower latency.
04

Pricing

Prices in US dollars. Usage is charged from prepaid credits.
Per image$0.048 per image
  • 1 credit = $0.01

Cost calculator

Price calculator

Total

$4.80

480 credits

Per run

$0.048 ยท 4.8 credits

Fixed price per run, known before the run starts.

05

API

Call Google Imagen 4 with your Railwail API key. Use this model ID in the request:
curl https://railwail.com/api/v1/images/generations \
  -H "Authorization: Bearer $RAILWAIL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "imagen-4-flagship",
    "prompt": "A lighthouse on a rocky coast at sunset, photorealistic"
  }'
Set your key as RAILWAIL_API_KEYCreate API key
06

Specifications

Model ID
imagen-4-flagship
Input
Text
Output
Image
Output formats
PNG, JPG
Aspect ratios
1:1, 16:9, 9:16, 4:3, 3:4
Billing
Fixed price, known before the run
Catalog entry updated
September 23, 2026

Input parameters

Inputs and settings from the model's input schema. The example in the API section shows which of them the API accepts.

  • prompt

    What to generate

    Type: Text
    Default: โ€“
    Allowed values: up to 2,000 characters
  • aspect_ratio
    Type: Choice
    Default: 1:1
    Allowed values: 1:1, 16:9, 9:16, 4:3, or 3:4
  • output_format
    Type: Choice
    Default: jpg
    Allowed values: png or jpg
  • safety_filter_level
    Type: Choice
    Default: block_only_high
    Allowed values: block_low_and_above, block_medium_and_above, or block_only_high

Tags

  • replicate
  • google
  • imagen
  • text-to-image
  • photorealism
  • flagship
07

Use cases

08

Frequently asked questions

What is Google Imagen 4?

Google Imagen 4 is a model by Google DeepMind in the Image generation category. On Railwail you can call it with an API key through the Railwail API.

How much does Google Imagen 4 cost on Railwail?

On Railwail, Google Imagen 4 costs $0.048 per image. The price is known before the run starts. Usage is paid from prepaid credits; 1 credit equals $0.01.

Which settings does Google Imagen 4 support?

According to its input schema, Google Imagen 4 knows these parameters: prompt (up to 2,000 characters), aspect_ratio (1:1, 16:9, 9:16, 4:3, or 3:4), output_format (png or jpg), and safety_filter_level (block_low_and_above, block_medium_and_above, or block_only_high).

How fast is Google Imagen 4?

There are not enough measured runs of Google Imagen 4 on Railwail yet to state a run time. It depends on the input, the settings and the load at the provider.

Is Google Imagen 4 better than FLUX 1.1 Pro?

That depends on the task. Google Imagen 4 (Google DeepMind) and FLUX 1.1 Pro (Black Forest Labs) are both models in the Image generation category. The comparison page shows their prices and specifications side by side.

Compare Google Imagen 4 and FLUX 1.1 Pro

How do I use Google Imagen 4 through the API?

Create a Railwail API key and send your request with the model ID imagen-4-flagship. Code examples for curl, Python and JavaScript are in the API section of this page.

09

Comparable models

All in this category

Use Google Imagen 4 via the API

One API key for every model on Railwail. Usage is charged from prepaid credits, 1 credit = $0.01.