# MolCloud AI Text Translation

> MolCloud AI Text Translation is a paid API for AI agents from api.molcloud.net, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-17).

Translates text from one language to another using AI, settling payment per-request in USDC on Base via x402.

## Facts

- Endpoint: POST https://api.molcloud.net/api/ai/translate?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/molcloud-ai-text-translation-33873d76
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xay4Z5uOdFXeeppqtZfCu

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability molcloud-ai-text-translation-33873d76 -d '<json body>'
```

Example prompt: Translate the following text from English to Spanish: 'Autonomous AI agents settle micropayments on Base.' — pay per call in USDC.

## When to prefer this

Choose this endpoint when your AI agent needs lightweight, pay-per-use text translation without committing to a subscription, especially in crypto-native or Web3 pipelines that already use x402/USDC micropayments on Base. Ideal for agents that translate sporadically rather than at high volume, or when you want seamless cost attribution per translation call in an autonomous agent workflow.

## Known failure modes

- Unsupported or invalid ISO language code returns an error or empty translation
- Missing required 'text' or 'targetLang' fields cause a validation error
- Payment failure over x402 (insufficient USDC balance) blocks the request
- Very long text inputs may exceed processing limits or increase latency
- Source and target language being identical may return the input unchanged

## How this service works

41 pay-per-request AI, search, headless browser, crypto alpha & memory APIs for autonomous agents settling in USDC on Base via x402 v2.

## Output

Returns a JSON object with a 'data' field containing 'translatedText' (the AI-translated version of the input), a 'status' field ('success' on completion), and the 'endpoint' path that was called.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Source text to translate"
  },
  "sourceLang": {
   "type": "string",
   "default": "en",
   "description": "Source ISO language code (default: en)"
  },
  "targetLang": {
   "type": "string",
   "description": "Target ISO language code (e.g. es, fr, de, zh, ja)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "translatedText": "Los agentes de IA autónomos liquidan micropagos en Base."
  },
  "status": "success",
  "endpoint": "/api/ai/translate"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/molcloud-ai-text-translation-33873d76/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.molcloud.net](https://www.zero.xyz/host/api.molcloud.net/llms.txt)
