# momoAI Translation API

> momoAI Translation API is a paid API for AI agents from aimomo.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Translates text from one language to another using an LLM, with optional tone and source language control, paid per-call with USDC on Base.

## Facts

- Endpoint: POST https://aimomo.vercel.app/api/translate
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/momoai-translation-api-c2b72b94
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GZsBFkwkjogXobCzXwg1N

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 momoai-translation-api-c2b72b94 -d '<json body>'
```

Example prompt: Translate this product description into Japanese with a formal tone: 'Our new wireless headphones deliver crystal-clear audio and 30-hour battery life.'

## When to prefer this

Choose this endpoint when you need LLM-quality translation with tone control, auto language detection, and pay-per-call billing in USDC — especially suited for agents that need ad-hoc translation without subscription commitments. Prefer over batch translation services when per-call micropayment pricing is acceptable and translation quality from a conversational LLM is desired.

## Known failure modes

- Missing required fields (text or target_lang) returns a validation error
- Unsupported language code returns an error or poor-quality translation
- Insufficient USDC balance causes payment failure and no translation is returned
- Very long text may exceed model context limits and return an error
- Ambiguous or low-resource language codes may produce inaccurate translations

## How this service works

Pay-per-use LLM API. Chat, reasoning, code review, translation, summarization, data extraction, and more. Pay with USDC on Base.

## Output

Returns a JSON object with a success flag and a data object containing the translated text, detected or specified source language, target language, tone used, the underlying model name, and token usage stats.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text",
  "target_lang"
 ],
 "properties": {
  "text": {
   "type": "string",
   "description": "Text to translate"
  },
  "tone": {
   "type": "string"
  },
  "source_lang": {
   "type": "string",
   "description": "Source language code (auto-detect if omitted)"
  },
  "target_lang": {
   "type": "string",
   "description": "Target language code (e.g. ja, zh, es, id)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "properties": {
    "tone": {
     "type": "string"
    },
    "model": {
     "type": "string"
    },
    "usage": {
     "type": "object"
    },
    "source_lang": {
     "type": "string"
    },
    "target_lang": {
     "type": "string"
    },
    "translation": {
     "type": "string"
    }
   }
  },
  "meta": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/momoai-translation-api-c2b72b94/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aimomo.vercel.app](https://www.zero.xyz/host/aimomo.vercel.app/llms.txt)
