Seedance 2.0 is here - create consistent, multimodal AI videos faster with images, videos, and audio in one prompt.

Try Now
Skip to main content
Available now on ModelsLab · Image Generation

Imagen 4Imagen 4 Image Generation

Imagen 4

Access Imagen 4 API

Photorealistic Detail

Sharp Text Rendering

Produces legible typography in posters and graphics using Imagen 4 model.

High Resolution

Up to 2K Output

Supports 2K resolution across 1:1, 3:4, 4:3, 9:16, 16:9 ratios via Imagen 4 API.

Fast Generation

Multiple Speed Options

Choose Imagen 4 Fast for 10x speed or Ultra for refined Imagen 4 image generation.

Examples

See what Imagen 4 can create

Copy any prompt below and try it yourself in the playground.

City Skyline

Photorealistic image of a modern city skyline at dusk, sharp lights reflecting on glass towers, 16:9 aspect ratio, high detail

Mountain Landscape

Detailed landscape of snow-capped mountains over a calm lake, golden hour lighting, photorealistic, 3:4 aspect ratio

Abstract Architecture

Futuristic architecture with geometric patterns and neon accents, clean lines, 1:1 square format, high resolution

Product Mockup

Sleek smartphone on marble surface with soft shadows, studio lighting, product photography style, 4:3 aspect ratio

For Developers

A few lines of code.
Imagen 4. One call.

ModelsLab handles the infrastructure: fast inference, auto-scaling, and a developer-friendly API. No GPU management needed.

  • Serverless: scales to zero, scales to millions
  • Pay per image, no minimums
  • Python and JavaScript SDKs, plus REST API
import requests
response = requests.post(
"https://modelslab.com/api/v7/images/text-to-image",
json={
"key": "YOUR_API_KEY",
"prompt": "a regal knight in ornate, reflective golden armor with intricate blue accents, wearing a deep royal blue cape adorned with gold embroidery, sitting proudly on a majestic white horse. the knight’s helmet features a tall blue plume. the horse is also dressed in elaborate golden and blue tack, standing gracefully on a stone step partially surrounded by water. in the background, there is a grand palace with classical columns, arches, and marble statues, evoking renaissance or baroque architecture. lush greenery frames the scene, adding a serene, enchanted garden ambiance. the lighting is bright and natural, casting soft reflections in the water below",
"aspect_ratio": "1:1"
}
)
print(response.json())

FAQ

Common questions about Imagen 4

Read the docs

Imagen 4 API provides text-to-image generation via Google/Imagen 4 endpoint. Supports up to 2K resolution and multiple aspect ratios. Ideal for Imagen 4 image generation tasks.

Renders sharp, legible typography in images like posters. Outperforms prior models in text accuracy. Use for graphics needing clear text.

Up to 2K with ratios 1:1, 3:4, 4:3, 9:16, 16:9. Set output resolution directly. Max 10MB input size.

Yes, Imagen 4 Fast generates 10x faster than Imagen 3. Balances speed for high-volume Imagen 4 image generation. Same core capabilities.

Generates illustrative styles like toy story 4 png from text prompts. Outputs PNG with digital watermarking. Use for animated character scenes.

ModelsLab Imagen 4 API offers direct access as top Imagen 4 alternative. Matches Google capabilities with easy integration. No setup needed.

Ready to create?

Start generating with Imagen 4 on ModelsLab.