WaveSpeedAI APIGoogleGoogle Imagen4 Ultra

Google Imagen4 Ultra

Google Imagen4 Ultra

Playground

Try it on WavespeedAI!

Imagen4 Ultra is Google’s highest-quality text-to-image model, generating high-fidelity images from simple text prompts. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

Features

Google Imagen 4 Ultra

Imagen 4 Ultra is Google’s flagship high-fidelity image generation model, offering unmatched visual quality, detail precision, and stylistic versatility. Designed for professional creators and production pipelines, it pushes the limits of realism and aesthetic control in AI-generated imagery.


🌟 Why it stands out

  • Unparalleled Photorealism: Captures ultra-fine surface textures, natural lighting gradients, and lifelike skin, fabric, and material details.

  • 2K-Resolution Mastery: Natively supports ultra-high-resolution outputs up to 2048 × 2048 px, preserving composition balance and clarity even at large scale.

  • Advanced Lighting & Color Accuracy: Delivers cinematic exposure, dynamic contrast, and true-to-life color grading for production-ready visuals.

  • Text & Typography Precision: Generates legible, stylized typography — ideal for posters, magazines, product packaging, and digital design.

  • Style Versatility: Excels across photography, hyperrealism, illustration, fantasy art, and branded visual design, adapting intuitively to tone and mood.

  • Several Images in One Click: Instantly generate multiple high-quality image variations per prompt — perfect for fast exploration and creative selection.


⚙️ Capabilities

  • Input: text prompt

  • Enhanced semantic understanding for multi-subject, complex lighting, and layered compositions

  • Works with descriptive prompts such as:

    • “A cinematic portrait of an astronaut illuminated by warm sunlight filtering through a space station window.”
    • “Luxury product photography of a perfume bottle on marble, soft reflections and shallow focus.”

💰 Pricing

  • $0.058 per image
  • Commercial use allowed

💡 Best Use Cases

  • Advertising & Branding — Create visually stunning, print-ready assets with precision detail.
  • Film & Media Production — Generate high-resolution concept art and cinematic stills.
  • Product & Fashion Design — Showcase materials and craftsmanship with photorealistic lighting.
  • Fine Art & Illustration — Achieve painterly or hyper-detailed results with exceptional control.

📝 Notes

Please ensure your prompts comply with Google’s Safety Guidelines. If an error occurs, review your prompt for restricted content, adjust it, and try again.

Authentication

For authentication details, please refer to the Authentication Guide.

API Endpoints

Submit Task & Query Result


# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/google/imagen4-ultra" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
    "aspect_ratio": "1:1",
    "resolution": "1k",
    "num_images": 1,
    "enable_base64_output": false
}'

# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"

Parameters

Task Submission Parameters

Request Parameters

ParameterTypeRequiredDefaultRangeDescription
promptstringYes-The positive prompt for the generation.
aspect_ratiostringNo1:11:1, 16:9, 9:16, 4:3, 3:4The aspect ratio of the generated media.
resolutionstringNo1k1k, 2kThe target resolution of the generated media.
num_imagesintegerNo11 ~ 4The number of images to generate.
negative_promptstringNo-The negative prompt for the generation.
seedintegerNo--1 ~ 2147483647The random seed to use for the generation.
enable_base64_outputbooleanNofalse-If enabled, the output will be encoded into a BASE64 string instead of a URL. This property is only available through the API.

Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
data.idstringUnique identifier for the prediction, Task Id
data.modelstringModel ID used for the prediction
data.outputsarrayArray of URLs to the generated content (empty when status is not completed)
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.has_nsfw_contentsarrayArray of boolean values indicating NSFW detection for each output
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds

Result Request Parameters

© 2025 WaveSpeedAI. All rights reserved.