Optional
addWhether to add a watermark to the generated images.
Optional
aspectAspect ratio of the generated images.
Optional
enhanceWhether to use the prompt rewriting logic.
Optional
guidanceControls how much the model adheres to the text prompt. Large values increase output and prompt alignment, but may compromise image quality.
Optional
httpUsed to override HTTP request options.
Optional
includeWhether to include the Responsible AI filter reason if the image is filtered out of the response.
Optional
includeWhether to report the safety scores of each image in the response.
Optional
languageLanguage of the text in the prompt.
Optional
negativeDescription of what to discourage in the generated images.
Optional
numberNumber of images to generate.
Optional
outputCompression quality of the generated image (for image/jpeg
only).
Optional
outputCloud Storage URI used to store the generated images.
Optional
outputMIME type of the generated image.
Optional
personAllows generation of people by the model.
Optional
safetyFilter level for safety filtering.
Optional
seedRandom seed for image generation. This is not available when
add_watermark
is set to true.
The config for generating an images.