https://nepvox.com/api
Method | Endpoint | Description |
---|---|---|
POST | /api/login |
User login (get token) |
POST | /api/tts |
Convert text to speech (returns audio URL)Requires Auth |
POST | /api/stt |
Convert audio file to text (speech recognition)Requires Auth |
All API requests to Text to Speech and Speech to Text endpoints require
authentication using a Bearer token. First, log in to obtain your token, then include it in the
Authorization
header for subsequent requests.
/api/login
email
(required): stringpassword
(required): stringInclude the token in the Authorization
header as a Bearer token for all protected
endpoints:
Voices supported by the API. You can get voice list from /api/voices
endpoint.
Languages supported by the API. You can get language list from /api/languages
endpoint.
/api/tts
Requires Auth
Converts text to speech and returns a downloadable audio file URL.
text
(required): string, max 500 chars for free plan and 10000 chars for premium planvoice
(required): string, voice name (Note: You can get voice list from /api/voices
endpoint) and use ShortNameuserVoiceName
(required): string, user voice name/api/stt
Requires Auth
Converts an audio file (mp3, wav, ogg) to text.
audio_file
(required): file (mp3, wav, ogg)language
(optional): string, language code (Note: You can get language list from /api/languages
endpoint)