{"slug":"quickbuild-quynguyenbac-workers-dev-api-translate-208c0d","title":"LLM translation (Meta Llama 4 Scout on Workers AI, M2M100 fallback)","host":"quickbuild.quynguyenbac.workers.dev","method":"POST","resource":"https://quickbuild.quynguyenbac.workers.dev/api/translate","category":"code","description":"LLM translation (Meta Llama 4 Scout on Workers AI, M2M100 fallback). Give `text`, or a `url` whose main content is extracted as Markdown and translated in blocks, preserving Markdown formatting, URLs and code blocks. Source language auto-detected (or set `from`). Up to 20,000 chars per call (default","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checked_on":"2026-12-01","checks_7d":2,"answered_7d":2,"latency_ms_median":295,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"text":"Hola, ¿cómo estás?","to":"en"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"from":{"description":"Source language code, or \"auto\" (default: auto-detect).","type":"string"},"maxChars":{"description":"Max source chars to translate (default 8000).","maximum":20000,"minimum":100,"type":"integer"},"text":{"description":"Text or Markdown to translate (optional). If omitted and no url, a short Spanish sample is used.","type":"string"},"to":{"description":"Target language, ISO 639-1 code or English name (default \"en\").","type":"string"},"url":{"description":"Public http(s) URL whose main content is translated (optional; used when `text` is absent).","type":"string"}},"required":[],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"chars":{"type":"integer"},"from":{"type":"string"},"model":{"type":"string"},"segments":{"type":"integer"},"source":{"enum":["url","text"],"type":"string"},"sourceChars":{"type":"integer"},"text":{"description":"Translated text/Markdown","type":"string"},"title":{"type":["string","null"]},"to":{"type":"string"},"truncated":{"type":"boolean"},"url":{"type":["string","null"]}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-12-01","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":548,"error":null},{"day":"2026-11-30","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":43,"error":null}],"description_full":"LLM translation (Meta Llama 4 Scout on Workers AI, M2M100 fallback). Give `text`, or a `url` whose main content is extracted as Markdown and translated in blocks, preserving Markdown formatting, URLs and code blocks. Source language auto-detected (or set `from`). Up to 20,000 chars per call (default 8,000). All params optional: with none it translates a short Spanish sample to English. Languages:...","last_updated":"2026-11-29T19:47:01.936Z","schemes":["exact"]}