Text-to-Speech
Text-to-Speech (TTS) API Contract
Overview
List Models (GET /tts/models)
curl -X GET 'https://tts-api.stg.prosa.ai/v2/speech/tts/models' \
-H 'x-api-key: your-api-key'[
{
"name": "tts-dimas-formal",
"label": "TTS Dimas Formal",
"language": "Bahasa Indonesia",
"domain": "formal",
"voice": "Dimas",
"gender": "male",
"channels": 1,
"samplerate": 48000
},
{
"name": "tts-sinta-casual",
"label": "TTS Sinta Casual",
"language": "Bahasa Indonesia",
"domain": "casual",
"voice": "Sinta",
"gender": "female",
"channels": 1,
"samplerate": 48000
}
]Field
Type
Description
Synthesize Speech (POST /tts)
Field
Type
Required
Default
Description
Field
Type
Required
Description
Field
Type
Description
Synthesize with Signed URL (POST /tts?as_signed_url=true)
Parameter
Type
Required
Description
List Jobs (GET /tts)
Parameter
Type
Required
Description
Count Jobs (GET /tts/count)
Parameter
Type
Required
Description
Get Job (GET /tts/{job_id})
Parameter
Type
Required
Description
Parameter
Type
Required
Description
Get Job Status (GET /tts/{job_id}/status)
Parameter
Type
Required
Description
Archive Job (DELETE /tts/{job_id})
Parameter
Type
Required
Description
Job Status Values
Status
Description
Supported Audio Formats
Format
Description
Use Case
SSML Support
Tag
Description
Example
Limits
Limit
Value
Voice Customization
Pitch Adjustment
Value
Effect
Tempo Adjustment
Value
Effect
Webhooks
Last updated
Was this helpful?