Translation API
KrosAI's translation API allows you to translate text between multiple languages with high accuracy, especially for African languages.
Last updated
KrosAI's translation API allows you to translate text between multiple languages with high accuracy, especially for African languages.
Last updated
The API automatically detects the source language and translates content to your desired target language.
This endpoint transcribes audio and translates it to English in one step.
file
file
Yes
The audio file to transcribe and translate (mp3, mp4, wav, m4a, webm)
model
string
No
Model to use (default: "KrosMLingualSTT1.0.0")
prompt
string
No
Text to guide the translation
response_format
string
No
Output format (default: "json")
temperature
float
No
Model temperature (default: 0.0)
For multi-step translations, use the legacy endpoint
Consider context when translating specialized content
Test with small samples before processing large batches
All APIs return standard HTTP status codes:
200: Success
400: Bad request (check parameters)
401: Unauthorized (check API key)
429: Rate limit exceeded
500: Server error
Error responses include a detail field with more information about the error.