{"service":"translate","version":"1.0.0","title":"Translate text","description":"Use when you need to translate text, a language translation or a text translation of a sentence or paragraph between two languages. Do not use for formatting that must be preserved, certified or legal translation, or speech (transcribe first). Returns JSON with text translation between about 100 languages by Meta M2M100 1.2B on Workers AI: the translated text with the source and target languages used for 0.012 USDC per call. Typical response time 5000 ms (p95). Category: Inference.","paid":{"method":"POST","url":"https://x402-gateway.blackwoodstate8.workers.dev/v1/translate","scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"12000","amountUsdc":"0.012","payTo":"0x60484D4842De2cd76B2175fcb82d680e7a2DFf30","maxTimeoutSeconds":60},"input":{"schema":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":2000,"description":"Text to translate, e.g. Pay only for the requests you make (up to 2000 characters)"},"to":{"type":"string","pattern":"^[a-z]{2,3}$","description":"Target language as an ISO 639-1 code, e.g. es, fr, pt, de, ja, zh"},"from":{"description":"Source language as an ISO 639-1 code (default en)","type":"string","pattern":"^[a-z]{2,3}$"}},"required":["text","to"]},"example":{"text":"Pay only for the requests you make.","from":"en","to":"pt"}},"output":{"schema":{"type":"object","properties":{"translatedText":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"model":{"type":"string"},"next":{"type":"object","properties":{"service":{"type":"string","description":"Service id of the suggested next paid call"},"tool":{"type":"string","description":"MCP tool name of the same call"},"method":{"type":"string","enum":["GET","POST"]},"url":{"type":"string","description":"Paid route of the next call"},"useWhen":{"type":"string","description":"When the next call is the right one"},"sample":{"type":"string","description":"Free fixed sample of the whole family"}},"required":["service","tool","method","url","useWhen","sample"],"additionalProperties":false,"description":"Suggested next paid call in the same family (call it in a loop when the task continues)"}},"required":["translatedText","from","to","model"],"additionalProperties":false},"example":{"translatedText":"Pague apenas pelos pedidos que você faz.","from":"en","to":"pt","model":"@cf/meta/m2m100-1.2b"}},"mcp":{"url":"https://x402-gateway.blackwoodstate8.workers.dev/mcp","tool":"blackwood_text_translate"},"openapi":"https://x402-gateway.blackwoodstate8.workers.dev/openapi.json","status":"https://x402-gateway.blackwoodstate8.workers.dev/status.json"}