Package com.google.genai.types
Class UpscaleImageAPIParameters
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.UpscaleImageAPIParameters
Deprecated.
API parameters for UpscaleImage.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.Builder for UpscaleImageAPIParameters. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Deprecated.Instantiates a builder for UpscaleImageAPIParameters.abstract Optional<UpscaleImageAPIConfig>config()Deprecated.Configuration for upscaling.static UpscaleImageAPIParametersDeprecated.Deserializes a JSON string to a UpscaleImageAPIParameters object.image()Deprecated.The input image to upscale.model()Deprecated.The model to use.abstract UpscaleImageAPIParameters.BuilderDeprecated.Creates a builder with the same values as this instance.Deprecated.The factor to upscale the image (x2 or x4).Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
UpscaleImageAPIParameters
public UpscaleImageAPIParameters()Deprecated.
-
-
Method Details
-
model
Deprecated.The model to use. -
image
Deprecated.The input image to upscale. -
upscaleFactor
Deprecated.The factor to upscale the image (x2 or x4). -
config
Deprecated.Configuration for upscaling. -
builder
Deprecated.Instantiates a builder for UpscaleImageAPIParameters. -
toBuilder
Deprecated.Creates a builder with the same values as this instance. -
fromJson
Deprecated.Deserializes a JSON string to a UpscaleImageAPIParameters object.
-