# Imagen 4.0 Generate 001 > Google's latest Imagen 4.0 text-to-image generation model with significantly better text rendering and overall image quality ## Quick Reference - Model ID: imagen-4.0-generate-001 - Creator: Google - Status: active - Family: imagen-4 - Base URL: https://api.lumenfall.ai/openai/v1 ## Specifications - Input Modalities: text - Output Modalities: image - Supported Modes: Text to Image ## API Parameters The compiled parameter schema for this model is available via the API: `GET /v1/models/imagen-4.0-generate-001?schema=true`. ### Core Parameters - `prompt` (string) — REQUIRED: Text prompt for image generation - `negative_prompt` (string): Negative prompt to guide generation away from undesired content - `seed` (integer): Random seed for reproducibility ### Size & Layout - `size` (string): Image dimensions as WxH pixels (e.g. "1024x1024") or aspect ratio (e.g. "16:9"). Values: 1365x768, 768x1365, 887x1182, 1024x1024, 1183x887, 2048x2048, 2731x1536, 1536x2731, 2365x1774, 1774x2365 - `aspect_ratio` (string): Aspect ratio of the output image (e.g. "16:9", "1:1"). Values: 9:16, 3:4, 1:1, 4:3, 16:9 - `resolution` (string): Output resolution tier (e.g. "1K", "4K"). Values: 1K, 2K ### Output & Format - `response_format` (string): How to return the image. Default: url. Values: url, b64_json - `output_format` (string): Output image format. Values: png, jpeg, gif, webp, avif - `output_compression` (integer): Compression level for lossy formats (JPEG, WebP, AVIF) - `n` (integer): Number of images to generate. Default: 1 ### Additional Parameters - `image_size` (string): Resolution of the generated image. Values: 1K, 2K. Only available via replicate - `personGeneration` (string): Whether to allow generation of people. 'allow_adult' permits adults only; 'dont_allow' blocks all human generation.. Values: allow_adult, dont_allow. Only available via gemini - `safety_filter_level` (string): block_low_and_above is strictest, block_medium_and_above blocks some prompts, block_only_high is most permissive but some prompts will still be blocked. Values: block_low_and_above, block_medium_and_above, block_only_high. Only available via replicate - `safety_tolerance` (string): The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.. Values: 1, 2, 3, 4, 5, 6. Only available via fal - `sync_mode` (boolean): If `True`, the media will be returned as a data URI and the output data won't be available in the request history.. Only available via fal ## Model Identifiers - Primary Slug: imagen-4.0-generate-001 ## Tags image-generation, text-to-image ## Available Providers ### Vertex AI - Config Key: vertex/imagen-4.0-generate-001 - Provider Model ID: imagen-4.0-generate-001 - Regions: global - Pricing: $0.040/image - Source: https://cloud.google.com/vertex-ai/generative-ai/pricing ### fal.ai - Config Key: fal/imagen-4.0-generate-001 - Provider Model ID: fal-ai/imagen4/preview - Pricing: $0.040/image - Source: https://fal.ai/models/fal-ai/imagen4/preview/api ### Replicate - Config Key: replicate/imagen-4.0-generate-001 - Provider Model ID: google/imagen-4 - Pricing: $0.040/image - Source: https://replicate.com/google/imagen-4 ### Gemini API - Config Key: gemini/imagen-4.0-generate-001 - Provider Model ID: imagen-4.0-generate-001 - Regions: global - Pricing: $0.040/image - Source: https://ai.google.dev/gemini-api/docs/pricing#imagen ## Arena Benchmarks ### Adorable Baby Animals in Sunny Meadow - Elo: 1112 - Record: 5W / 19L / 0T (24 battles) - Rank: #23 of 25 ## Image Gallery 5 images available for this model. Browse all at https://lumenfall.ai/models/google/imagen-4.0-generate-001/gallery ### Curated Examples - [A wide, cinematic shot of a high-end, boutique hotel lobby at golden hour. In the center of the f...](https://assets.lumenfall.ai/OVSUtJAKFyrmcfy_CkkavzWqc8ZyPYtKYdwY3XN7m98/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/aqstugnjk27fsubrwqrablllb8im@jpeg) - [A hyper-realistic, macro close-up of a weathered leather workbench where a silver quill and a gla...](https://assets.lumenfall.ai/0uSq6XSIbBz6dCP6g20mSDRjFmZFjGWsEwDtamFxOcs/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/r8tskg3ou5imgk5ctw0dgclmo3zb@jpeg) - [A hyper-realistic close-up of an artisan's workbench, focusing on a hand-carved wooden printing b...](https://assets.lumenfall.ai/7aC24UVsm6DOb-QrvEi222TUbR-wL_IYyuiae68FKX8/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/wn7oo2avf8r8rfib477p0t7r05l7@jpeg) - [A sun-drenched artisanal bakery storefront with a large gold-leaf sign on the window that reads "...](https://assets.lumenfall.ai/sQKhX_Ydkxk4TvMD5Z1x2trMkZ28VlXB-f_Wq1mc1s8/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/av97rv3qfltfpgz9iwnhf7of6itw@jpeg) ### Arena Competition Results - [Adorable Baby Animals in Sunny Meadow](https://assets.lumenfall.ai/qgghbhiWeP7pgVGhzxEyHPb3aJDPsV8fOFaMuc6ZM2Q/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/x5r8izv403067focxozkvnwuh7nw@jpeg): #23 of 25 (Elo 1112) ## Example Prompt The following prompt was used to generate an example image in our playground: A sun-drenched artisanal bakery storefront with a large gold-leaf sign on the window that reads "FLOUR & BLOOM" in elegant serif typography. A small, calm capybara sits quietly on the sidewalk next to a potted lavender plant. ## Code Examples ### Text to Image (/v1/images/generations) #### cURL curl -X POST \ https://api.lumenfall.ai/openai/v1/images/generations \ -H "Authorization: Bearer $LUMENFALL_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "imagen-4.0-generate-001", "prompt": "", "size": "1024x1024" }' # Response: # { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] } #### JavaScript import OpenAI from 'openai'; const client = new OpenAI({ apiKey: 'YOUR_API_KEY', baseURL: 'https://api.lumenfall.ai/openai/v1' }); const response = await client.images.generate({ model: 'imagen-4.0-generate-001', prompt: '', size: '1024x1024' }); // { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } console.log(response.data[0].url); #### Python from openai import OpenAI client = OpenAI( api_key="YOUR_API_KEY", base_url="https://api.lumenfall.ai/openai/v1" ) response = client.images.generate( model="imagen-4.0-generate-001", prompt="", size="1024x1024" ) # { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } print(response.data[0].url) ## About ## Overview Imagen 4.0 Generate 001 is Google’s fourth-generation text-to-image model, designed to synthesize high-fidelity visuals from natural language descriptions. Developed by Google Research, this iteration focuses on solving long-standing hurdles in diffusion models, specifically the accurate rendering of complex typography and the adherence to detailed, multi-part prompts. It represents a significant architectural leap over the 3.0 series in terms of spatial reasoning and fine-grained detail. ## Strengths * **Precise Text Rendering:** The model demonstrates a high success rate when embedding specific strings, legible words, and long phrases into images, minimizing the common "gibberish" artifacts found in earlier generation models. * **Nuanced Prompt Adherence:** It excels at interpreting complex instructions that involve multiple subjects, specific lighting conditions (e.g., "volumetric God rays"), and precise camera angles without merging distinct elements. * **Compositional Realism:** The model exhibits improved spatial awareness, accurately placing objects in relation to one another according to prepositional commands (e.g., "behind," "to the left of," or "resting on"). * **High-Fidelity Textures:** It produces sharp, realistic textures for challenging subjects such as human skin, woven fabrics, and reflective surfaces, reducing the "plastic" look often associated with AI-generated imagery. ## Limitations * **Photorealistic Bias:** While capable of various styles, the model can lean toward a "stock photo" aesthetic unless specific artistic styles or medium-specific keywords (e.g., "charcoal sketch" or "35mm film grain") are heavily emphasized. * **Anatomical Edge Cases:** Like most diffusion models, it may still struggle with extreme anatomical poses or complex overlapping of limbs in crowded scenes. * **Generation Latency:** Due to the model's increased parameter count and complexity, inference times may be slightly higher compared to "Turbo" or "Lightning" variants of competing models. ## Technical Background Imagen 4.0 is built upon an evolved transformer-based diffusion architecture, likely utilizing a massive T5-XXL text encoder to deeply understand linguistic semantics before the image synthesis phase begins. This version incorporates a more robust training dataset focused on high-descriptive captions and high-resolution aesthetics. Key technical refinements were made to the sampling process to ensure that textural details remain coherent even at the edges of the frame. ## Best For * **Marketing and Ad Copy:** Creating hero images that require integrated legible text, such as signs, storefronts, or branded packaging. * **Concept Art:** Generating detailed character designs and environments that require strict adherence to specific stylistic and spatial prompts. * **UI/UX Prototyping:** Visualizing app interfaces and website layouts where text placement and icon clarity are essential. Imagen 4.0 Generate 001 is available for testing and integration through Lumenfall’s unified API and interactive playground, allowing developers to compare its output alongside other industry-leading image models. ## Frequently Asked Questions ### How much does Imagen 4.0 Generate 001 cost? Imagen 4.0 Generate 001 starts at $0.04 per image through Lumenfall. Pricing varies by provider. Lumenfall does not add any markup to provider pricing. ### How do I use Imagen 4.0 Generate 001 via API? You can use Imagen 4.0 Generate 001 through Lumenfall's OpenAI-compatible API. Send requests to the unified endpoint with model ID "imagen-4.0-generate-001". Code examples are available in Python, JavaScript, and cURL. ### Which providers offer Imagen 4.0 Generate 001? Imagen 4.0 Generate 001 is available through Vertex AI, fal.ai, Replicate, and Gemini API on Lumenfall. Lumenfall automatically routes requests to the best available provider. ## Links - Model Page: https://lumenfall.ai/models/google/imagen-4.0-generate-001 - About: https://lumenfall.ai/models/google/imagen-4.0-generate-001/about - Providers, Pricing & Performance: https://lumenfall.ai/models/google/imagen-4.0-generate-001/providers - API Reference: https://lumenfall.ai/models/google/imagen-4.0-generate-001/api - Benchmarks: https://lumenfall.ai/models/google/imagen-4.0-generate-001/benchmarks - Use Cases: https://lumenfall.ai/models/google/imagen-4.0-generate-001/use-cases - Gallery: https://lumenfall.ai/models/google/imagen-4.0-generate-001/gallery - Playground: https://lumenfall.ai/playground?model=imagen-4.0-generate-001 - API Documentation: https://docs.lumenfall.ai