Skip to content

Imagen 4

Imagen 4 is Google's standard-tier image generation model, the default production choice in the Imagen 4 family, balancing photorealistic quality with practical generation speed for commercial photography, scene generation, and everyday visual asset pipelines.

Image Gen
index.ts
import { experimental_generateImage as generateImage } from 'ai';
const result = await generateImage({
model: 'google/imagen-4.0-generate-001',
prompt: 'A red balloon on a wooden table.'
});

Providers

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.

Provider
Context
Latency
Throughput
Input
Output
Cache
Web Search
Per Query
Capabilities
ZDR
No Training
Release Date
Google Vertex AI
Legal:Terms
Privacy
480
05/22/2025