Package com.google.genai.types
Class AvatarConfig
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.AvatarConfig
Configures the avatar to be used in the session.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe bitrate of compressed audio.Pre-built avatar id.static AvatarConfig.Builderbuilder()Instantiates a builder for AvatarConfig.abstract Optional<CustomizedAvatar>Customized avatar appearance with a reference image.static AvatarConfigDeserializes a JSON string to a AvatarConfig object.abstract AvatarConfig.BuilderCreates a builder with the same values as this instance.The bitrate of compressed video output.Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
AvatarConfig
public AvatarConfig()
-
-
Method Details
-
avatarName
Pre-built avatar id. -
customizedAvatar
Customized avatar appearance with a reference image. -
audioBitrateBps
The bitrate of compressed audio. -
videoBitrateBps
The bitrate of compressed video output. -
builder
Instantiates a builder for AvatarConfig. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a AvatarConfig object.
-