Speech API converts speech to text and text to speech easily
The Speech API provides two main functionalities: Text-to-Speech and Speech-to-Text. These endpoints enable seamless conversion between text and audio formats, making them useful for accessibility, voice interactions, and content creation.
Endpoint: /text-to-speech
POST
{
"text": "Hello, how can I assist you?",
"language": "en-US",
}
Endpoint: /speech-to-text
POST
multipart/form-data
audioFile
.wav
, .mp3
, etc.) to be transcribed.language
(default: en-US
)