Image Generation
Imagen 4.0
Google DeepMind flagship text-to-image — native 2K output, photorealistic, accurate Chinese and English text rendering
POST
Imagen 4.0
Imagen 4.0 from Google DeepMind — native 2K output, photorealistic lighting and materials, with high accuracy for Chinese and English text rendering. Suited for poster key visuals, marketing hero images, and artistic illustrations where image quality and text rendering matter.
Per-image pricing, unified 2K output.
After submission, poll status with
Pricing
Examples
GET /v1/tasks/{task_id}. See Task System for details.
Available Models
Common Parameters
string
required
Choose one from the Available Models list
string
default:"generate"
Operation type. Imagen 4.0 supports only:
generate— Text-to-image (default)
string
required
Image description. Supports Chinese and English. Imagen 4.0 excels at scene detail, lighting, and text rendering
integer
default:"1"
Number of images to generate (returned in a single call)
integer
default:"-1"
Random seed.
-1 for random; a fixed value reproduces similar resultsstring
default:"1:1"
Aspect ratio. Options:
1:1— Square4:3/3:4— Standard landscape / portrait16:9/9:16— Widescreen landscape / portrait
string
Output resolution. Imagen 4.0 defaults to native 2K with no resolution tiers — leave empty
string
Webhook callback URL, invoked when the task reaches a terminal state. See Callback Mechanism
string[]
Event types to receive callbacks for. Defaults to all terminal events
Resource Limits
Related Docs
- Task System — Task state machine / polling cadence / async push
- Request & Response — Common error codes / Headers / rate limits
- Authentication — API Key application and usage
Imagen 4.0