MultispeakerPrebuiltVoice
import type { MultispeakerPrebuiltVoice } from "https://googleapis.deno.dev/v1/texttospeech:v1.ts";
Configuration for a single speaker in a Gemini TTS multi-speaker setup. Enables dialogue between two speakers.
interface MultispeakerPrebuiltVoice {
speakerAlias?: string;
speakerId?: string;
}§Properties
§
speakerAlias?: string
[src]Required. The speaker alias of the voice. This is the user-chosen speaker name that is used in the multispeaker text input, such as "Speaker1".
§
speakerId?: string
[src]Required. The speaker ID of the voice. See https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options for available values.