D-ID Client SDK - v3.0.0-0
    Preparing search index...

    Interface MicrosoftTtsProvider

    Microsoft Azure provider details: the provider type, the requested voice id and an optional voice_config for style, rate and pitch.

    Pass it as TextStreamScript.provider to pick a Microsoft Azure voice explicitly, optionally with VoiceConfigMicrosoft to set style, rate and pitch. The Agents API documents Microsoft TTS as its default when a script names no provider, so this is also the provider a script without one ends up using.

    interface MicrosoftTtsProvider {
        type: "microsoft";
        voice_config?: VoiceConfigMicrosoft;
        voice_id: string;
    }
    Index
    type: "microsoft"

    Selects Microsoft Azure. Either Providers.Microsoft or its string value 'microsoft' — both are accepted, so the provider object can be written inline without importing the enum.

    voice_config?: VoiceConfigMicrosoft

    How the voice should deliver the text: style, rate and pitch. See VoiceConfigMicrosoft.

    voice_id: string

    Id of the voice to speak with, from D-ID's list of Microsoft Azure voices.

    "en-US-JennyNeural"