API key is optional but recommended for better service limits.
Base URL
Authentication
Bearer your-api-key-here (optional)
POST /v1/text-to-speech/generate
Generate speech from text using streaming response.
Bearer YOUR_API_KEY (optional)
Request Body
Text to convert to speech
Audio format for output (e.g., “wav”)
Size of audio chunks for streaming (e.g., 128, 32)
Response
The API returns a streaming audio response with:
Streaming audio data in the specified format
Error Codes