Cette page n’est pas encore traduite en français ; elle s’affiche en anglais.

Text to Speech API

The VoiceHue text to speech API takes text and a voice and returns audio, MP3 by default or WAV on request. It follows the OpenAI speech format, so code written for that format usually needs only a new base URL and key. Any signed-in account with a confirmed email can create keys for free.

Start free
Encore 1,799 caractères disponibles pour ce texte
201 / 2,000 caractèresDurée estimée 0:14

Synthèse vocale gratuite : collez jusqu’à 2 000 caractères, choisissez une voix et écoutez dans votre navigateur. Les voix se chargent dans un instant.

Écoute seule
Votre audio s’affiche ici après la conversion

Try it with a free API key

Create a free account and API key, then use your free allowance of 10,000 characters a month for your account, in code or through MCP. No card needed.

Create a free API key

How it works

Send a POST request to voicehue.com/v1/audio/speech with your key in the Authorization header and a JSON body with the input text, a voice and, optionally, the format and speed. The response is the audio file. The developers page has copy-and-paste examples for curl, Python and Node.js, the list of voices and every error code.

The free plan

Each account can create up to 2 keys. Together they share 10,000 characters a month and 2,000 a day; each key gets 10 requests a minute and up to 5,000 characters in one request. The free plan uses the standard voices. Usage is shown in your dashboard, and a request over a limit is refused with a clear error instead of being billed.

Free planValue
Keys per account2
Characters per month10,000
Characters per day2,000
Requests per minute10
Characters per request5,000

Try the voices first

The web tool uses the same kind of voices. Paste a sentence from your app, pick a cloud voice and listen, or download an MP3, to judge whether the voices and languages fit your project before you write any code.

Paid plans

Need more than the free plan? Monthly and yearly plans and credit packs for the premium voices are on the pricing page, with prices in US dollars.

Frequently asked questions

Does VoiceHue have a text to speech API?

Yes. It is an OpenAI-compatible endpoint at voicehue.com/v1/audio/speech. Sign in, create a key in your dashboard and send your first request. The developers page documents the request, voices, limits and errors.

Is the API free?

There is a free plan: 10,000 characters a month and 2,000 a day for the account, 10 requests a minute per key, up to 2 keys per account. A monthly or yearly plan raises the account, while it is active, to 300,000 to 3,000,000 characters a month depending on the plan, a third of that a day, and 10 keys. A credit pack alone raises it to 10 keys, 20,000 characters a day, 300,000 a month and 60 requests a minute.

Is the API OpenAI-compatible?

Yes. The endpoint, request fields and error shape follow the OpenAI speech format, so you can point an OpenAI client at the VoiceHue base URL and use your VoiceHue key.

Which audio formats can I get?

MP3 by default, as with the OpenAI API. Set response_format to wav to get WAV instead.

Can I use the voices without an API?

Yes. The web tool is free and needs no sign-up: paste your text, pick a voice and listen or download an MP3.

Ready to hear your text?

Paste it into the free tool, pick a voice and press play. Cloud voices download as MP3, free within the daily limits.

Free developer APIPricing

Start free