Overview
Use POST /translate to convert text between locales.
Specify input content, source/target codes, tone, and preferred model. Luntrex enforces guardrails
and returns normalized responses.
Request payload
Provide the text you want to translate. Omitting source triggers
auto-detection.
Formality controls tone when the provider supports it.
{
"text": "Hello, how are you?",
"target": "IT",
"source": "EN",
"formality": "less",
"model": "deepl/deepl"
}