$ man translate-text
/translate-text
NAME
translate-text — translate text into another language with native-level fluency
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
Translate text into another language with native-level fluency. Send text and a target_language (an ISO code like 'es' or a name like 'Spanish'), with optional source_language and formality (casual, formal, or neutral), and it auto-detects the source when not given, preserves Markdown, code, and URLs, and returns translated_text plus the detected_source_language. Covers 100+ languages. Use it as a text translator, language conversion API, or localization tool for multilingual content.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| text | string | Text to translate. Max 12k chars. | required |
| target_language | string | Target language as an ISO code or name, e.g. 'en' or 'Spanish'. | required |
| source_language | string | Optional. Source language ISO code or name. Auto-detected if omitted. | optional |
| formality | string | Optional. Register: '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
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the translate-text tool from your MCP-aware agent.
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 | Rewrite AI-generated text so it reads like a person wrote it. | $0.01 |
| app-review-sentiment | Scores app-store reviews by onboarding, stability, pricing, performance, and feature requests. | $0.01 |
| brand-bootstrap | Bootstraps a brand kit for a new business or product in one call. | $0.01 |
| brand-launch-brief | Generates a structured brand launch brief for a new company or product from name, concept, audience, and tone. | $0.01 |
| brand-positioning-brief | Generates a brand positioning brief covering messaging pillars, taglines, launch channels, and a logo prompt. | $0.01 |
| brand-sentiment-analysis | Scores comments, mentions, survey verbatims, and campaign feedback for sentiment. | $0.01 |
| candidate-feedback-sentiment | Summarizes candidate experience, recruiter feedback, and hiring-process comments by sentiment. | $0.01 |
| churn-risk-sentiment | Analyzes support tickets, chats, and emails for negative sentiment, urgency, and at-risk churn themes. | $0.01 |
SEE ALSO