# Aayat AI Text Translation

> Aayat AI Text Translation is a paid API for AI agents from aayatai.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Translates text between 100+ languages using AI, with automatic source language detection and formatting preservation

## Facts

- Endpoint: POST https://aayatai.com/translate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aayat-ai-text-translation-ed49a727
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_E7EQzfU1kZ2Q0ccNM4W2c

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 aayat-ai-text-translation-ed49a727 -d '<json body>'
```

Example prompt: Translate this text to French: 'Good morning, how are you today? I hope you're having a wonderful week.' — detect the source language automatically.

## When to prefer this

Choose this endpoint when you need cost-effective, pay-per-call AI translation across 100+ languages with automatic source detection, formatting preservation (Markdown, line breaks), and no subscription commitment. Ideal for agents handling occasional translation tasks without needing a dedicated translation service subscription. At $0.01 per call it suits low-to-medium volume use cases.

## Known failure modes

- Text exceeds 12,000 character limit for Latin-script languages or 4,000 for CJK scripts — returns an error
- Unsupported or misspelled target language name/code — returns an error
- Payment failure — call is not charged and returns a payment error
- Empty or whitespace-only text input — returns validation error
- Ambiguous very short text may result in incorrect language detection

## How this service works

Translate text between 100+ languages with AI. POST JSON {"text": "...", "target": "French"} (language name or code such as fr, de, es, ja, zh, ar). Optional "source" language, otherwise it is detected. Up to about 12,000 characters of English (4,000 of Chinese/Japanese) per call. Keeps formatting such as Markdown and line breaks. Failed calls are not charged.

## Output

Returns a JSON object with the translated text string, the detected or specified source language code, the target language code, the character count of the input, and the AI model used for translation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 12000,
   "minLength": 1,
   "description": "Text to translate."
  },
  "source": {
   "type": "string",
   "maxLength": 40,
   "description": "Language of the text. Default: detect automatically."
  },
  "target": {
   "type": "string",
   "maxLength": 40,
   "minLength": 2,
   "description": "Language to translate into, e.g. French or fr."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chars": 19,
  "model": "@cf/google/gemma-3-12b-it",
  "source": "auto",
  "target": "es",
  "translation": "Hola, ¿cómo estás?"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aayat-ai-text-translation-ed49a727/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aayatai.com](https://www.zero.xyz/host/aayatai.com/llms.txt)
