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
Prices are not listed here — they follow upstream changes, and anything written into the docs drifts out of date.Live prices: the “Model Market” in the console, or the
GET /v1/models endpoint (see Models).
What a call actually cost: every response carries cost / usage.cost — that is the authoritative number.Examples
GET /v1/tasks/{task_id}. See Task System for details.
Available Models
Common Parameters
string
必填
Choose one from the Available Models list
string
默认值:"generate"
generate— text to image (default)edit— image editing; pair withimage_urls
prompt alone is text-to-image; one image_urls entry is image-to-image; several are multi-image reference; add mask_url for inpainting.string
必填
Image description. Supports Chinese and English. Imagen 4.0 excels at scene detail, lighting, and text rendering
integer
默认值:"1"
Number of images to generate (returned in a single call)
integer
默认值:"-1"
Random seed.
-1 for random; a fixed value reproduces similar resultsstring
默认值:"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