PlayHT

Use PlayHT text-to-speech voices with your Vapi voice agent.

PlayHT provides text-to-speech and voice-cloning options that you can use as a Vapi assistant’s voice.

You can use PlayHT through Vapi’s default integration, or use your own PlayHT account by connecting it in Integrations.

Text-to-speech

Set voice.provider to playht and voice.voiceId to a voice. PlayHT offers many voices, you can browse and copy a voice’s ID from the Voice Library.

$curl -X PATCH "https://api.vapi.ai/assistant/ASSISTANT_ID" \
> -H "Authorization: Bearer $VAPI_API_KEY" \
> -H "Content-Type: application/json" \
> -d '{
> "voice": { "provider": "playht", "voiceId": "VOICE_ID" }
> }'

For additional API configuration options, review the PlayHTVoice fields in the Create Assistant API reference.

Supported languages

The following language values are currently accepted by Vapi for this provider.

LanguageLanguage value
afrikaansafrikaans
albanianalbanian
amharicamharic
arabicarabic
bengalibengali
bulgarianbulgarian
catalancatalan
croatiancroatian
czechczech
danishdanish
dutchdutch
englishenglish
frenchfrench
galiciangalician
germangerman
greekgreek
hebrewhebrew
hindihindi
hungarianhungarian
indonesianindonesian
italianitalian
japanesejapanese
koreankorean
malaymalay
mandarinmandarin
polishpolish
portugueseportuguese
russianrussian
serbianserbian
spanishspanish
swedishswedish
tagalogtagalog
thaithai
turkishturkish
ukrainianukrainian
urduurdu
xhosaxhosa