infery
← All models

HeyGen Voice

heygen-voice

Text to Speechby Heygen

HeyGen Voice turns text into natural speech with a library voice or an instant clone from a reference clip.

Details

Accepts
text

Pricing

Price
0.00375 cr / character

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
textrequiredstringThe text to speak.
voicestringenum: Jonah, Nadine, Tabitha, Soren, Elowen, Vincent…HeyGen public voice. Ignored when reference_audio_url is set.
language—Language of the text. Detected from the text when omitted.
reference_audio_url—Recording of a single speaker to clone instead of using a public voice. Only the first 3 minutes are used.
expressiveness_boostnumberHow expressive the delivery is.
enable_safety_checkerbooleanAuthorized callers may set false to request relaxed screening.

Output

FieldTypeDescription
audio—Generated speech as a 44.1 kHz WAV file.
durationnumberDuration of the audio in seconds.