Translate texts with Localazy AI (spends credits)
localazy_translate_with_aiDestructive
COSTS CREDITS: translate up to 10 texts with Localazy AI. Every call consumes Localazy credits from the account balance, by the number of translated words (see localazy.com/pricing); nothing is stored in the project, the translations are only returned. Limits: 10 requests/minute, 32 items and 16,384 characters per request. Beta. Needs the Owner role. POST /projects/{projectId}/ai.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target language code, e.g. cs. | |
| from | Yes | Source language code, e.g. en. | |
| items | Yes | 1-10 texts to translate. | |
| project | Yes | Localazy project id or slug (from localazy_list_projects). | |
| fallback | No | Engine to use when Localazy AI is unavailable. |