Interface UpscaleImageConfig

Configuration for upscaling an image.

For more information on this configuration, refer to the Imagen API reference documentation <https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/imagen-api>_.

interface UpscaleImageConfig {
    httpOptions?: HttpOptions;
    includeRaiReason?: boolean;
    outputCompressionQuality?: number;
    outputMimeType?: string;
}

Properties

httpOptions?: HttpOptions

Used to override HTTP request options.

includeRaiReason?: boolean

Whether to include a reason for filtered-out images in the response.

outputCompressionQuality?: number

The level of compression if the output_mime_type is image/jpeg.

outputMimeType?: string

The image format that the output should be saved as.

MMNEPVFCICPMFPCPTTAAATR