OptionalabortAbort 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.
OptionaladdWhether to add a SynthID watermark to the generated images.
OptionalbaseThe number of sampling steps. A higher value has better image quality, while a lower value has better latency.
OptionalenhanceWhether to use the prompt rewriting logic.
OptionalhttpUsed to override HTTP request options.
OptionallabelsUser specified labels to track billing usage.
OptionalnumberNumber of images to generate.
OptionaloutputCompression quality of the generated image (for image/jpeg
only).
OptionaloutputCloud Storage URI used to store the generated images.
OptionaloutputMIME type of the generated image.
OptionalpersonWhether allow to generate person images, and restrict to specific ages.
OptionalsafetyFilter level for safety filtering.
OptionalseedRandom seed for image generation.
Configuration for recontextualizing an image.