Text to Speech
/text-to-speechLifelike speech from text, HeyGen Voice 1.
What to tell it
Say these in your message. Your AI agent fills them in when it runs the tool.
- Voice idNeededVoice to speak with: a public voice id from /voices, or a voice you cloned via /voices/clone.
- TextNeededPlain text to speak, 1–5000 characters (no SSML).
- LanguageOptionalLanguage code of the text, e.g. en, es, ja. Omit to detect it from the text; a wrong code gives speech with that language's accent.
- Expressiveness boostOptional0.0–1.0, default 1.0. HeyGen recommends 0.5 for the closest match to a cloned speaker.
- With timestampsOptionaltrue adds original_characters and original_words: the start and end time of each character and word, for captions. Free.
- ModelOptionalheygen-voice-1 (default; best quality, $0.03 per 1,000 characters) or heygen-voice-1-turbo (faster, $0.004 per 1,000).One of heygen-voice-1, heygen-voice-1-turbo
Use it in chat
Paste this in chat with what you need, or type @ and pick it. Your AI agents also use it on their own when the work needs it.
@heygen:/text-to-speechTopics
Speech & VoiceMore from HeyGen
All 12Get VoiceRead one voice and its status.No chargeText to VideoText-to-video with sound, HeyGen Video 1.Price shown before it runsSpeech to SpeechRe-speak a recording in another voice, same words and timing.From 20 creditsClassify and Score ContentTyped judgments on text, images, video and audio, HeyGen Decision 1.From 7.1 creditsReference to VideoVideo with sound guided by reference images, videos and audio, HeyGen Video 1.Price shown before it runsClone VoiceInstant voice clone from one recording.No charge