Locale TTS technical docs
Endpoint, auth header, parameters, prices, and tested request examples for Imole Locale TTS.
Endpoint and pricing
Request headers
Authorization required
Bearer Imole API key.
Content-Type required
Use application/json for JSON requests.
Request parameters
model required
Use imole-locale-tts.
text required
Text to read aloud.
language
Regional language profile.
fon, ewe, kirundi, malagasy, bambaraspeed
Speech speed multiplier.
Tested request examples
curl -X POST "https://api.imole.app/v1/audio/speech" \
-H "Authorization: Bearer $IMOLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "imole-locale-tts",
"text": "Bonjour. Ceci est un test.",
"language": "fon",
"speed": 1
}'curl -X POST "https://api.imole.app/v1/audio/speech" \
-H "Authorization: Bearer $IMOLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "imole-locale-tts",
"text": "Bonjour. Ceci est un test.",
"language": "ewe",
"speed": 1
}'curl -H "Authorization: Bearer $IMOLE_API_KEY" "https://api.imole.app/v1/audio/jobs/$JOB_ID"curl -L -H "Authorization: Bearer $IMOLE_API_KEY" "https://api.imole.app/v1/audio/jobs/$JOB_ID/content" -o imole-locale-tts.mp3