Upscale Image APIConfig
Internal API config for UpscaleImage.
These fields require default values sent to the API which are not intended to be modifiable or exposed to users in the SDK method.
Types
Properties
Functions
Link copied to clipboard
Instantiates a builder for UpscaleImageAPIConfig.
Link copied to clipboard
Whether to add an image enhancing step before upscaling.
Link copied to clipboard
Deserializes a JSON string to a UpscaleImageAPIConfig object.
Link copied to clipboard
@InternalApi()
Deserializes a JsonNode to an object of the given type.
Link copied to clipboard
@InternalApi()
Deserializes a Json string to an object of the given type.
Link copied to clipboard
Used to override HTTP request options.
Link copied to clipboard
With a higher image preservation factor, the original image pixels are more respected.
Link copied to clipboard
Whether to include a reason for filtered-out images in the response.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The level of compression.
Link copied to clipboard
Cloud Storage URI used to store the generated images.
Link copied to clipboard
The image format that the output should be saved as.
Link copied to clipboard
Allows generation of people by the model.
Link copied to clipboard
Filter level for safety filtering.
Link copied to clipboard
Overrides the default maximum JSON string length (20MB) for the JSON parser.
Link copied to clipboard
Converts a Json string to a JsonNode.
Link copied to clipboard
Creates a builder with the same values as this instance.
Link copied to clipboard
Serializes an object to a JsonNode.
Link copied to clipboard
Serializes an object to a Json string.