SpeechMetadata

@Serializable
data class SpeechMetadata(val speaker: String? = null, val style: String? = null)

Extra metadata associated with the part for speech synthesis.

Constructors

Link copied to clipboard
constructor(speaker: String? = null, style: String? = null)

Properties

Link copied to clipboard
val speaker: String? = null

The speaker for this part, which must match a speaker name in MultiSpeakerVoiceConfig.speaker_voice_configs.

Link copied to clipboard
val style: String? = null

The style instruction for how the voice should be synthesized (e.g. "excited, fast-paced").