The Transleqo API
Send text, get speech. Send recordings, get text. A plain REST API at api.transleqo.com, with keys on Professional and Corporate.
The basics
API keys come with the Professional and Corporate plans.
- Keys
- Create keys in your Dashboard. A key is shown once and carries only the services you allow it.
- Jobs
- Each request becomes a job. You get its id at once and fetch the result when it is done.
- Queue
- Paid plans go first, and short jobs before long ones.
- Files
- Every audio file carries an inaudible mark that shows it was made by AI.
- Linguists
- Our linguists review any result you will publish, with a quote first. Write to our team.
Speech in two calls
Send the text with a synthetic voice and a language. Starpath looks for the Pacific names in an English text, and the answer lists each one it read.
curl https://api.transleqo.com/v1/tts \
-H "Authorization: Bearer $TRANSLEQO_KEY" \
-H "Content-Type: application/json" \
-d '{"text": "Bula vinaka, due to ongoing adverse weather conditions linked to El Niño, your flight from Nukuʻalofa via Nadi will be two hours late.",
"voice": "VOICE_ID", "language": "en"}' {"id": "JOB_ID", "status": "queued",
"starpath": {"applied": [{"phrase": "Bula vinaka", "read_as": "fj"},
{"phrase": "Nukuʻalofa", "read_as": "to"},
{"phrase": "Nadi", "read_as": "fj"}],
"suggested": []}} curl -H "Authorization: Bearer $TRANSLEQO_KEY" \
https://api.transleqo.com/v1/jobs/JOB_ID/audio -o speech.wav Endpoints
POST /v1/tts- Text to speech. Optional native_words and say_as choose how names are read.
POST /v1/asr- Transcription of an audio file.
GET /v1/voices- The synthetic voices your organization may use, with the words that describe them.
GET /v1/jobs/{id}- The state of a job.
GET /v1/jobs/{id}/audio- The finished audio.
POST /v1/compose- One finished MP3 from several speech jobs, with your own jingle.
/v1/assets- Upload, list and remove your organization's jingles.
Full reference
The full reference comes with your keys. For a question about an integration, write to our team.