Audio API
Available Models
Model
Type
Description
Text-to-Speech (TTS)
Endpoint
POST https://api.tensorx.ai/v1/audio/speechBasic Usage
curl https://api.tensorx.ai/v1/audio/speech \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "chatterbox-turbo",
"input": "Hello! Welcome to TensorX.",
"voice": "Emily.wav"
}' \
--output speech.mp3Parameters
Parameter
Type
Required
Description
Available Voices
Python Example
JavaScript/Node.js Example
Pricing
Text Length
Cost
Speech-to-Text (STT)
Endpoint
Basic Usage
Parameters
Parameter
Type
Required
Description
Response
Python Example
JavaScript/Node.js Example
Get Timestamps
Pricing
Audio Duration
Cost
Supported Audio Formats
Format
Extension
Notes
File Size Limits
Use Cases
Voice Assistants
Podcast Transcription
Content Narration
Error Handling
Common Errors
Error Code
Description
Solution
Python Error Handling
Resources
Last updated
Was this helpful?

