Text
Translation
Translate text across 342 source-target directions with Perigee-1-text.
Perigee-1-text translates between 19 supported languages. Your application makes one request; routing is handled automatically.
Translate Hausa to Yoruba
REST request
| Field | Required | Description |
|---|---|---|
text | Yes | Text to translate. |
source_language | Yes | Language of the input. See Language support. |
target_language | Yes | Output language; it must differ from the source. |
domain | No | Vocabulary context such as banking, healthcare, or general conversation. |
stream | No | Return server-sent events when true. |
Response
Responses also contain a job_id, processing metadata, and a route value. Treat the route as diagnostic metadata; do not design application behavior around an internal translation path.
Longer input
Use an async text job when the request should not hold an HTTP connection open.