imagen-3.0
Last updated
Was this helpful?
Last updated
Was this helpful?
This documentation is valid for the following list of our models:
imagen-3.0-generate-002
Google's latest text-to-image AI model, designed to generate high-quality, photorealistic images from text descriptions with improved detail, lighting, and fewer artifacts. It boasts enhanced natural language understanding and better text rendering.
If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guide.
/v1/images/generations
The text prompt for the image
If the condition is true, the url to the image will be returned; otherwise, the file will be provided in base64 format.
The number of images to generate
The random seed for image generation
An optional parameter to use an LLM-based prompt rewriting feature to deliver higher quality images that better reflect the original prompt's intent. Disabling this feature may impact image quality and prompt adherence
Add an invisible watermark to the generated images
imagen-3.0-generate-002
The aspect ratio for the image
1:1
, 9:16
, 16:9
, 3:4
, 4:3
Allow generation of people by the model
dont_allow
, allow_adult
Adds a filter level to safety filtering
block_low_and_above
, block_medium_and_above
, block_only_high
No body