{"uid":"cap_fGwME2VzNf0qp1cEp8aWs","slug":"x402-pay-per-call-text-translation-llama-3-2-3b-ce67a547","name":"x402 Pay-Per-Call Text Translation (Llama 3.2 3B)","description":"Text translation (Llama 3.2 3B): ?text=<up to 800 chars>&to=<target language, e.g. es, fr, de, ja> returns the translated text only. Use when an agent needs quick pay-per-call translation with no API key.","url":"https://x402-data-api.sigrunner.workers.dev/ai/translate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["text","to"],"properties":{"to":{"type":"string"},"text":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["translation","to"],"properties":{"to":{"type":"string"},"translation":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"to":"es","translation":"Hola, ¿cómo estás?"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OfcdddFOKdH6zufRSLnX6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Translates a text snippet (up to 800 characters) into a specified target language using Llama 3.2 3B on Cloudflare Workers AI, billed at $0.003 USDC per call with no API key required.","exampleAgentPrompt":"Translate the following text into Japanese: 'Thank you for your purchase. Your order will arrive within 3 business days.'","exampleUseCases":[{"title":"Localize customer support reply","prompt":"Translate this support message into French for our French-speaking customer: 'We have received your complaint and our team will follow up within 24 hours.'"},{"title":"Multilingual product description","prompt":"Translate this product blurb into German: 'Lightweight running shoes with breathable mesh upper and responsive cushioning, perfect for daily training.'"},{"title":"Real-time chat message translation","prompt":"A user just sent me a message and I think it needs to go out in Spanish — translate 'Your account has been successfully verified. You can now log in.' into Spanish."}],"resultDescription":"A JSON object containing the translated text string and the target language code (e.g. {\"translation\": \"Hola, ¿cómo estás?\", \"to\": \"es\"}). Only the translated output is returned — no confidence scores, alternatives, or source language metadata.","failureModes":["Text exceeds 800-character limit — likely returns an error or truncated output","Invalid or unsupported target language code — model may return an error or untranslated text","Network timeout on Cloudflare Workers edge — transient 5xx error","Payment failure via x402 protocol — 402 response, call not executed","Ambiguous or very short input text — model may produce a low-quality or literal translation"],"whenToPreferThis":"Choose this endpoint when an AI agent needs lightweight, pay-per-call text translation without provisioning or managing a dedicated translation API key. It is ideal for low-to-medium volume translation tasks (up to 800 chars per call) in agentic pipelines where per-use micropayments via x402 are acceptable. Prefer it over full translation APIs when cost predictability per call matters and the agent does not require batch processing, glossary support, or translation memory.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T13:38:56.436Z","isFirstParty":false,"canonicalSlug":"x402-pay-per-call-text-translation-llama-3-2-3b-ce67a547"}