Imagen 4.0
[Core Function] Imagen 4.0 is Google’s flagship professional-grade text-to-image model designed for high-fidelity visual generation. [Strengths] It excels at industry-leading photorealism, exceptional typography/text rendering inside images, and strong prompt adherence, supporting up to 2K resolution and batch generation. [Best For] Highly recommended for general high-quality image generation, marketing assets (posters, product labels, menus, signage), and product photography mockups where readable text is required. [Limitations] Do NOT use this model if you need instant/real-time generation, native image editing (inpainting/outpainting), or negative prompts. It is strictly an image-only output model. [Routing] Use this model by default for high-quality, photorealistic text-to-image requests. If the user emphasizes speed or needs lower cost, route to Imagen 4.0 Fast. If the user demands the absolute highest detail and prompt precision, route to Imagen 4.0 Ultra.
Authorizations
API Key authentication. Format: Bearer YOUR_API_KEY.
Body
Image description text
1"A golden retriever playing fetch on the beach at sunset"
Number of images to generate per request
1 <= x <= 41
Image aspect ratio
1:1, 3:4, 4:3, 9:16, 16:9 "16:9"
Person generation policy
dont_allow, allow_adult, allow_all "allow_all"
Output image resolution
1K, 2K "1K"