Generated by API Evangelist
Written by API Evangelist tooling for LibreTranslate's API. It is a proposal applied on top of the contract, not a document LibreTranslate publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for LibreTranslate Translate API
version: 1.0.0
extends: openapi/libre-translate-translate-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-18'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 4
- target: $.paths['/languages'].get
update:
x-apievangelist-phrasing:
intent: List supported languages
effect: read
questions:
- Which languages can I translate between?
- What language codes does LibreTranslate support?
instructions:
- text: List all supported languages.
- text: Show the language codes available for translation.
method: generated
generated: '2026-11-18'
- target: $.paths['/detect'].post
update:
x-apievangelist-phrasing:
intent: Detect the language of text
effect: read
questions:
- How do I find out which language a piece of text is in?
- Can I auto-detect the language of a sentence?
instructions:
- text: Detect the language of {q}.
slots:
q: requestBody.q
- text: Auto-detect the language of {q} and return the result.
slots:
q: requestBody.q
method: generated
generated: '2026-11-18'
- target: $.paths['/translate'].post
update:
x-apievangelist-phrasing:
intent: Translate text between languages
effect: read
questions:
- How do I translate text from English to French?
- Can I get several alternative translations of a sentence?
- Can I translate HTML-formatted text instead of plain text?
instructions:
- text: Translate {q} from {source} to {target}.
slots:
q: requestBody.q
source: requestBody.source
target: requestBody.target
- text: Translate {q} from {source} to {target} and return {alternatives} alternative translations.
slots:
q: requestBody.q
source: requestBody.source
target: requestBody.target
alternatives: requestBody.alternatives
- text: Translate {q} from {source} to {target} with format {format}.
slots:
q: requestBody.q
source: requestBody.source
target: requestBody.target
format: requestBody.format
method: generated
generated: '2026-11-18'
- target: $.paths['/translate_file'].post
update:
x-apievangelist-phrasing:
intent: Translate an uploaded document file
effect: write
questions:
- How do I translate a whole document file into another language with LibreTranslate?
- Can I upload a file and have it auto-detect the source language?
- What do I need to send to get a translated copy of a file?
instructions:
- text: Upload the file {file} and translate the document from {source} to {target}.
slots:
file: requestBody.file
source: requestBody.source
target: requestBody.target
- text: Translate the uploaded document {file} into {target}, auto-detecting its language.
slots:
file: requestBody.file
target: requestBody.target
method: generated
generated: '2026-11-18'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.