Get Media $20.00 / 1,000 calls

Speech by text

What this tool does

This tool converts written words into spoken audio files. It helps you create audio recordings from text so you can listen to messages, notifications, or content instead of reading them. It is useful for making content accessible or adding voice elements to your projects.

When to use it

  • Creating audio previews for newsletters or blog posts.
  • Generating voice announcements for internal systems.
  • Producing audio content for accessibility purposes.
  • Testing how text sounds in different languages or voices.

What to expect

You will receive a link to a downloadable audio file. The file will be in the format you requested, such as MP3, and will sound like the voice you selected.

Limitations

  • The quality of the speech depends on the language and voice selected.
  • Very long texts might take longer to process or may be limited in length.
  • The voice may not capture every nuance or emotion of the original text.

When it fails

  • If the text is empty, no audio is created.
  • If the chosen language or voice is not supported, the request may fail.
  • If there is a temporary issue with the service, the link might not be generated.

Good to know

  • You can choose between male and female voices to match your preference.
  • The audio link is unique to the specific text and voice settings you used.

Input data

Parameter Required Example Description
text Yes Hi! My name is Miquel. I will read any text you type here. The text you want to convert to speech (required). Example: 'Hello, this is a test.' Must be at least 500 characters long.
gender No male The voice gender for the speech (required). Use 'male' or 'female'.
language No es The language for the speech (required). Use one of: 'american', 'french', 'german', 'italian', 'japanese', 'portuguese', 'russian', 'spanish'.
voice No es_ES-sharvard-medium Explicit voice. Optional: when empty it is derived from the language and gender.
format No mp3 Audio format. Default is mp3.
speed No 1.25 Speaking speed between 0.5 and 2.0. Default is 1.0.

Output data

Field Description
result Public URL of the generated audio file.
voice Voice used for the synthesis.
gender Actual gender of the voice used (male or female).
gender_fallback True when the requested gender has no voice in the deployed engine and the language default was used.
format Audio format (mp3 or wav).
language Language used for the synthesis.
duration Estimated duration in seconds.
chars Number of characters synthesized.
reason Short reason when the request is rejected (text too long, unsupported language, format, speed or voice).