Translate
Translate medical text into one of 24 supported languages while preserving clinical terminology. Uses Nebius AI.
POSThttps://api.marinahealth.eu/ai/translate
Requires AuthVerified Email Requiredapplication/jsonRate limit: 500 requests per hour
Headers
Headers
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | required | Bearer <accessToken> |
Request Body
Body Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| text | string | required | Text to translate (1–5000 characters). |
| fromLang | string | required | Source language code. Supported: en, pl, es, de, fr, it, pt, ru, zh, ja, da, hi, ur, fa, ar, tr, nl, sv, no, fi, ko, vi, th, id. |
| toLang | string | required | Target language code. Must differ from fromLang. Same supported codes as fromLang. |
Example Request
cURL
curl -X POST https://api.marinahealth.eu/ai/translate \
-H "Authorization: Bearer <accessToken>" \
-H "Content-Type: application/json" \
-d '{
"text": "Patient presents with hypertension and diabetes.",
"fromLang": "en",
"toLang": "fr"
}'Response
Successful
| Field | Type | Description |
|---|---|---|
| translation | string | Translated output. |
json
{
"translation": "Le patient présente une hypertension artérielle..."
}