Class PromptedVoice
java.lang.Object
com.google.genai.gaos.models.voices.PromptedVoice
PromptedVoice
Parameters for prompted voice generation. Required in `CreateVoice` when `type` is `"prompted"`. Returned in `CreateVoice`, `GetVoice`, and `ListVoices` responses for prompted voices.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional.static PromptedVoice.Builderbuilder()booleaninthashCode()input()Required.toString()withBaseVoice(String baseVoice) Optional.Required.
-
Constructor Details
-
PromptedVoice
-
PromptedVoice
-
-
Method Details
-
baseVoice
Optional. The name or ID of an existing base voice to edit or remix. Use the voice name for prebuilt voices (e.g., `Puck`) or the voice ID for previously created voices (e.g., `voice_abc123`). This can be any prompted or replicated voice that the user has access to. When present, `input` describes relative alterations to make to the base voice. -
input
Required. The natural-language prompt describing the desired voice, e.g. "A deep, booming male voice of a massive evil ogre in his middle years." -
builder
-
withBaseVoice
Optional. The name or ID of an existing base voice to edit or remix. Use the voice name for prebuilt voices (e.g., `Puck`) or the voice ID for previously created voices (e.g., `voice_abc123`). This can be any prompted or replicated voice that the user has access to. When present, `input` describes relative alterations to make to the base voice. -
withInput
Required. The natural-language prompt describing the desired voice, e.g. "A deep, booming male voice of a massive evil ogre in his middle years." -
equals
-
hashCode
public int hashCode() -
toString
-