Optional
abortAbort signal which can be used to cancel the request.
NOTE: AbortSignal is a client-only operation. Using it to cancel an operation will not cancel the request in the service. You will still be charged usage for any applicable operations.
Optional
addWhether to add a SynthID watermark to the generated images.
Optional
baseThe number of sampling steps. A higher value has better image quality, while a lower value has better latency.
Optional
enhanceWhether to use the prompt rewriting logic.
Optional
httpUsed to override HTTP request options.
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
personWhether allow to generate person images, and restrict to specific ages.
Optional
safetyFilter level for safety filtering.
Optional
seedRandom seed for image generation.
Configuration for recontextualizing an image.