Translate
Translate text into another language.
This program cannot be called right now.
No translation provider key is set. Set one of DEEPL_API_KEY, AI_GATEWAY_API_KEY, ANTHROPIC_API_KEY. A call to it is refused before any payment is asked for, so nothing can be charged.
What it does
Translates up to 5,000 characters of text into the language you name, by code or by name, and keeps the line breaks and formatting. The source language is detected when it is not given. Translations come from DeepL or from a language model, whichever this deployment is set up with. The answer names the one that was used.
Input
| Field | What it is |
|---|---|
| textstringrequired | The text to translate.Up to 5,000 characters. |
| targetstringrequired | The language to translate into: a code such as "de" or "pt-BR", or a name such as "German". |
| sourcestringoptional | The language of the text. Left out, it is detected. |
Call it
The endpoint is POST /api/v1/run/translate. The wallet that pays is the caller, so there is nothing to sign up for.
Where the money goes
- Paid to
- EpFM...ytAW
- Runs as
- Part of Omnia
- Asset
- USDC on Solana
The rest of the store
Every program is called the same way and priced per call.