Pricing
Compare models →Billing is based on the length of text: $0.035 per 1,000 input characters, with a minimum charge of $0.035 per request (default settings: $0.035 per run).
Requests with fewer than 1,000 characters are billed as 1,000 characters. Above 1,000 characters, billing uses the actual text length, without rounding up to whole thousands.
| Input Characters | Price |
|---|---|
| 100 | $0.035 |
| 500 | $0.035 |
| 1,000 | $0.035 |
| 1,500 | $0.0525 |
| 5,000 | $0.175 |
The same rate applies when using a public voice or a reference recording.
Input schema
| Parameter | Type | Description |
|---|---|---|
textRequired | string | The text to speak.Characters: 1–5000JSON schema{
"title": "Text",
"x-rows": 5
} |
voice | string | Public voice to use. Ignored when reference_audio is provided.JonahNadineTabithaSorenElowenVincentJocelynMarielleCorinneLucianKieranHughNoelleBramEwanIonaCecilySimonWestonFelicityGarethRoryMeredithSabrina"Jonah"JSON schema{
"title": "Voice"
} |
reference_audio | string | Recording of a single speaker to clone instead of using a public voice. Only the first 3 minutes are used.Characters: 1 or moreJSON schema{
"format": "uri",
"pattern": "^https?://",
"title": "Reference Audio"
} |
language | string | Language of the text. Detected from the text when omitted.xxx-emptyarbebgcacsdadeelenesfafifrhehihrhuiditjakomkmsnlplptroruskslsrsvtathtltrukvizhJSON schema{
"title": "Language",
"x-clearable": true
} |
expressiveness_boost | number | How expressive the delivery is.Default: 1Minimum: 0 · Maximum: 1JSON schema{
"title": "Expressiveness Boost"
} |
README
HeyGen Voice
HeyGen Voice turns text into natural, expressive speech. Choose a public voice or provide a single-speaker recording for instant voice cloning, with language selection and adjustable expressiveness.
Why Choose This?
- 24 public voices — Choose a voice that fits your content.
- Instant voice cloning — Use a reference recording instead of a public voice.
- 39 supported languages — Select a language or let it be detected from the text.
- Expression control — Adjust the delivery with an expressiveness setting.
- WAV audio output — Generate speech as a 44.1 kHz WAV file.
Parameters
| Parameter | Required | Description |
|---|---|---|
text | Yes | Text to speak, from 1 to 5,000 characters. |
voice | No | Select a public voice. Default: Jonah. Ignored when reference_audio is provided. |
reference_audio | No | Single-speaker audio URL or upload for voice cloning. Only the first 3 minutes are used. |
language | No | Choose a supported language code. Leave empty to detect the language from the text. |
expressiveness_boost | No | Expressiveness from 0 to 1. Default: 1. |
How to Use
- Enter your text — Add the script you want spoken.
- Choose a voice — Select a public voice or upload a single-speaker reference recording.
- Adjust delivery — Optionally select the language and expressiveness.
- Generate — Submit the request and download the speech audio.
Pricing
Billing is based on the length of text: $0.035 per 1,000 input characters, with a minimum charge of $0.035 per request (default settings: $0.035 per run).
Requests with fewer than 1,000 characters are billed as 1,000 characters. Above 1,000 characters, billing uses the actual text length, without rounding up to whole thousands.
| Input Characters | Price |
|---|---|
| 100 | $0.035 |
| 500 | $0.035 |
| 1,000 | $0.035 |
| 1,500 | $0.0525 |
| 5,000 | $0.175 |
The same rate applies when using a public voice or a reference recording.
Best Use Cases
- Narration — Create spoken explanations and stories.
- Video voiceovers — Add speech to presentations and social content.
- Multilingual content — Generate speech in supported languages.
- Custom voices — Use a reference recording for voice consistency.
Pro Tips
- Use punctuation to guide phrasing and pauses.
- Provide a clear recording with one speaker for voice cloning.
- Set the language explicitly when the text is short or ambiguous.
Notes
- Reference audio must be in MP3, WAV, or OGG format. Convert M4A recordings to a supported format before uploading; renaming the file extension is not sufficient.
textis required and supports up to 5,000 characters.
- A reference recording takes priority over the selected public voice.
- Only the first 3 minutes of reference audio are used.
- Omit
languageto detect it from the text.
- Use only recordings you own or have permission to clone.
- The output is a WAV audio file, not a reusable voice ID.
- The language setting does not translate your text. Write the text in the language you want spoken.
Related Models
- HeyGen Avatar IV — Create talking-avatar videos from a portrait and speech audio.
- HeyGen Avatar V — Create talking-avatar videos from a supported avatar and speech audio.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
HeyGen Voice Text-to-Speech API example
The catalog lists POST https://api.opensi.com.ai/api/v3/heygen/voice for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"text": "A clear example input",
"voice": "Jonah",
"reference_audio": "https://d3c24lvfmudc1v.cloudfront.net/agicontent/voices/1755333488578-07c4e4a258bb4b959978b40761c355ed-audio.mp3",
"language": "ar",
"expressiveness_boost": 1
}HeyGen Voice Text-to-Speech API — Frequently asked questions
What is the Voice API?
Voice is a Heygen model for speech synthesis, exposed as a REST API on OpenSIAI. HeyGen Voice Text-to-Speech converts text into expressive speech using public voices or reference recordings for instant voice cloning, supporting narration, voiceovers, multilingual content, digital humans, and voice production workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Voice API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/heygen/voice.
How much does Voice cost per run or per second?
Voice starts at $0.035 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Voice accept?
Key inputs: expressiveness_boost, language, reference_audio, text, voice. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/heygen/voice.
How long does Voice take to generate?
Reported generation time on OpenSIAI is around 22 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Voice outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (Heygen). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.