Skip to main content
POST
Imagen 4.0
imagen-4.0 was delisted on 2026-09-03; this page is kept for reference only. For Google image generation use the Nano Banana family (Gemini Image Series)
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.

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

After submission, poll status with 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 with image_urls
The mode is decided by what you send, not by the action: 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 results
string
默认值:"1:1"
Aspect ratio. Options:
  • 1:1 — Square
  • 4:3 / 3:4 — Standard landscape / portrait
  • 16: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