🎉 New Year Sale: Get 20% OFF on all plans — Use code NEWYEAR2026.

Upgrade now
Imagen 4 Fast thumbnail

Google/Imagen 4 Fast

imagen-4.0-fast-generate
Google/Imagen 4 FastLLMs.txt
Generates photorealistic 2K resolution images with superior text rendering, up to 10x faster speed, advanced diffusion architecture, and versatile style and composition controls.
API PlaygroundAPI Documentation

API Endpoint URL

Base URL for all API requests to this endpoint.

https://modelslab.com/api/v7/images/text-to-image

API Authentication

Authentication requires a valid API key included in the request. Generate and manage your API keys from your developer dashboard. Include the key in the key parameter for all API requests.

Integration Examples

Production-ready code samples for API integration

{
"prompt": "Ultra-realistic image of a professional office man in smart business attire, standing at the front of a modern conference room, giving a presentation to colleagues seated around a table. A large screen behind him displays charts and graphs, while attendees listen attentively with laptops and notebooks open. Bright daylight shines through tall glass windows, city skyline in the background, cinematic corporate atmosphere, hyper-detailed, 8K UHD, professional business setting",
"model_id": "imagen-4.0-fast-generate",
"aspect_ratio": "1:1",
"key": "YOUR_API_KEY"
}

SDKs

Official SDKs

Production-ready SDKs and client libraries for all major programming languages

API Parameters

Technical specifications for API request parameters.

Field NameParameterTechnical Description
promptpromptEnter Prompt for image generation. Maximum input tokens: 480 tokens
Modelmodel_idModel
Aspect Ratioaspect_ratiot tells you the shape of an image by comparing its width to its height. For example, 1:1 is square, 3:4 and 4:3 are slightly tall or wide, 9:16 is vertical, and 16:9 is wide