curl -X POST "https://api.audixa.ai/v2/tts" \ -H "Content-Type: application/json" \ -H "x-api-key: YOUR_API_KEY" \ -d '{ "text": "Welcome to Audixa! This is a demonstration of our text-to-speech API.", "voice": "aura-asteria-en", "model": "base", "speed": 1.0 }'
Copy
{ "generation_id": "gen_abc123xyz789def456"}
Endpoints
POST /tts
Start a text-to-speech generation job
POST
https://api.audixa.ai
/
v2
/
tts
Copy
curl -X POST "https://api.audixa.ai/v2/tts" \ -H "Content-Type: application/json" \ -H "x-api-key: YOUR_API_KEY" \ -d '{ "text": "Welcome to Audixa! This is a demonstration of our text-to-speech API.", "voice": "aura-asteria-en", "model": "base", "speed": 1.0 }'
Copy
{ "generation_id": "gen_abc123xyz789def456"}
Submits a text-to-speech task and returns a generation_id for tracking. The audio is generated asynchronously—use the /status endpoint to check when it’s ready.