$ man translate-text
/translate-text
NAME
translate-text — ai translator — 100+ languages, native-fluent
SYNOPSIS
POST https://x402.agentutility.ai/translate-text
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
AI translator — 100+ languages, native-fluent. Auto-detects source. ISO codes or language names. Configurable formality (casual/formal/neutral). Preserves Markdown / code / URLs.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| text | string | Text to translate. Max 12,000 chars. | required |
| target_language | string | ISO code or language name (e.g. 'fr', 'Mandarin Chinese'). | required |
| source_language | string | Optional. Auto-detected if omitted. | optional |
| formality | string | 'casual', 'formal', or 'neutral' (default). enum: casual · formal · neutral | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| translated_text | string | Translated output string in the target language, with Markdown, code blocks, and URLs preserved. |
| target_language | string | Target language used for the translation, as an ISO code or language name. |
| source_language | string | Source language as supplied in the request, or null if auto-detected. |
| detected_source_language | string | Language auto-detected from the input text when source_language was not provided. |
| formality | string | Formality register applied to the translation: casual, formal, or neutral. |
| input_chars | number | Character count of the original input text submitted for translation. |
| output_chars | number | Character count of the translated_text returned by the model. |
| model | string | Identifier of the AI model that produced the translation. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/translate-text \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# MCP packages on npm under # @agentutility/mcp-* (one per cluster) # # Catalog + install: # https://mcp.agentutility.ai # # Or call translate-text directly over HTTP — see above.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- translatetranslationi18nlanguageai
- env
- VENICE_API_KEY
- methods
- POST
- cluster
- wordmint
- price
- $0.01 USDC per call
ADJACENT — other endpoints in wordmint
| endpoint | description | price |
|---|---|---|
| ai-to-human-text | AI text humanizer / GPT detector bypass. | $0.01 |
| citation-verify | Citation verifier / fact-check against URL / does-this-source-support-this-claim / hallucination detector. | $0.01 |
| commit-message-from-diff | Git commit message generator / Conventional Commits / AI commit-msg. | $0.01 |
| humanize | AI text humanizer / GPT detector bypass. | $0.01 |
| pr-description-from-diff | Pull Request description generator / PR body from unified diff / AI PR description / GitHub PR body / GitLab MR description / generate-pr… | $0.01 |
| regex-from-prompt | Regex generator / NL to regex / pattern builder. | $0.01 |
| sentiment | Sentiment + emotion analyzer. | $0.01 |
| sentiment-analysis | Sentiment analyzer / emotion classifier / aspect-based sentiment. | $0.01 |
SEE ALSO