Package com.google.genai.types
Class UpscaleImageParameters
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.UpscaleImageParameters
Deprecated.
User-facing config UpscaleImageParameters.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.Builder for UpscaleImageParameters. -
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 UpscaleImageParameters.abstract Optional<UpscaleImageConfig>config()Deprecated.Configuration for upscaling.static UpscaleImageParametersDeprecated.Deserializes a JSON string to a UpscaleImageParameters object.image()Deprecated.The input image to upscale.model()Deprecated.The model to use.abstract UpscaleImageParameters.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
-
UpscaleImageParameters
public UpscaleImageParameters()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 UpscaleImageParameters. -
toBuilder
Deprecated.Creates a builder with the same values as this instance. -
fromJson
Deprecated.Deserializes a JSON string to a UpscaleImageParameters object.
-