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

    Interface ElevenlabsTtsProvider

    ElevenLabs provider details: the provider type and the requested voice id. Available to premium users.

    Pass it as TextStreamScript.provider to have ElevenLabs synthesize the text, optionally with VoiceConfigElevenlabs to control how closely the voice is reproduced.

    interface ElevenlabsTtsProvider {
        type: "elevenlabs";
        voice_config?: VoiceConfigElevenlabs;
        voice_id: string;
    }
    Index
    type: "elevenlabs"

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

    voice_config?: VoiceConfigElevenlabs

    How closely the voice should follow the original it was cloned from. See VoiceConfigElevenlabs.

    voice_id: string

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

    "21m00Tcm4TlvDq8ikWAM"