Catalog
Preview a voice
GET
https://voxa.abhinavyadav.in/api/v1/voices/{voice_id}/previewSpeaks text with the voice and returns MP3 audio.
Authorization
An API key (X-API-Key or Authorization: Bearer), or a signed-in member with the agents.view permission.
X-API-KeyAuthorization: Beareragents.view
Path parameters
voice_idstringrequiredThe voice's id.
Query parameters
textstringWhat to say.
at most 300 characters
modelstringdefault: "sonic-3.6"The text-to-speech model.
at most 40 characters
languagestringdefault: "hi"The language of text.
at most 10 characters
timezonestringdefault: "Asia/Kolkata"IANA time zone for every timestamp in the response (at, date, timestamp and *_at fields), as ISO 8601 with the offset. The X-Timezone header works too; the zone used comes back in the X-Timezone response header. An unknown zone is a 400.
Response
200Success.
The file itself (audio/mpeg).
401No credentials, or they are invalid or revoked.
detailstringWhat went wrong, in plain words.
403Your role (or an API key) lacks the permission.
detailstringWhat went wrong, in plain words.
422Validation Error
detailobject[]Show item attributes
locstring | integer[]msgstringtypestring429Over the per-key rate limit; wait for Retry-After.
detailstringWhat went wrong, in plain words.