{"message":"Your audio has been created!","audio_src":"https:\/\/getwoord.s3.amazonaws.com\/2053454600168969101264b6a38423fad6.77866183.mp3","error":false,"remaining_audios":92}
curl --location --request POST 'https://zylalabs.com/api/1791/english+text+to+speech+api/1440/convert?text=Try the latest text to speech tool in the market.&gender_voice=female&language=en_US&speakingRate=1.0' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the English Text to Speech API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
About the API:
English Text to Speech API is a powerful tool that allows you to convert written text into spoken words. The API supports the English language and can be integrated with any speech synthesis, voice assistant, and accessibility application.
The API uses advanced natural language processing algorithms to analyze the input text and generate the corresponding natural-sounding speech output. The output can be customized with different voices, languages, and speech rates. This makes it an ideal tool for a wide variety of use cases, such as speech synthesis, voice assistants, and accessibility.
The API can be integrated into any application to provide spoken information, such as reading text aloud for visually impaired users or generating an audio version of written content, such as books, articles, and others. It can also be used to create voice assistants and chatbots, which can interact with users through speech.
In addition, the API can be used in other applications, such as telephone systems, navigation devices, and other systems where speech synthesis is required. It can also be used to generate audio clips from any text, useful for podcasting, video presentations, etc.
Overall, our English Text-to-Speech API is a valuable tool for companies and individuals who want to add speech synthesis features to their applications. It is easy to use and supports multiple languages, making it accessible to a wide range of use cases and audiences.
Pass the text you want to convert and you will receive the audio ready to use.
Accessibility: Use the API to provide spoken feedback for users with visual impairments, such as reading text aloud on websites or in mobile apps.
Voice assistants: Use the API to create voice assistants and chatbots that can interact with users through speech.
Speech synthesis: Use the API to generate spoken output from the written text for use in telephony systems, navigation devices, and other applications.
Educational content: Use the API to convert written educational content, such as e-books or study guides, into spoken audio, making it more accessible for students.
Podcasting: Use the API to generate audio clips of written content, such as blog posts or articles, for use in podcast episodes.
Video presentations: Use the API to generate spoken audio of written content, such as scripts or narration, for use in video presentations or animations.
Besides API call limitations per month, there are no other limitations.
The Convert endpoint returns a JSON response containing a message, the URL of the generated audio file, an error status, and the number of remaining audio conversions available for the user.
The key fields in the response data include "message" (confirmation of audio creation), "audio_src" (URL of the MP3 file), "error" (boolean indicating success or failure), and "remaining_audios" (number of audio conversions left).
The Convert endpoint accepts parameters such as "text" (the text to convert), "voice" (gender options: male, female, neutral), and "language" (e.g., en_US). Premium voices require prefixes like "text_premium_" or "ssml_premium_".
The response data is organized in a JSON format, with key-value pairs that provide information about the audio conversion process, including success messages and the audio file's location.
The Convert endpoint provides information about the audio conversion status, the generated audio file's URL, and the remaining audio conversion quota for the user.
Users can customize their requests by specifying the text to convert, selecting the desired voice gender, and choosing the language code. For premium voices, they must use the appropriate prefixes.
Typical use cases include creating audio for accessibility features, generating spoken content for educational materials, and producing audio clips for podcasts or video presentations.
Data accuracy is maintained through advanced natural language processing algorithms that analyze input text to generate high-quality, natural-sounding speech output, ensuring clarity and coherence in the audio.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund