# GEDX402 AI Translation

> GEDX402 AI Translation is a paid API for AI agents from embed.gedx402.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Translates text from one language to another using Workers AI, paid per-call with USDC on multiple blockchains

## Facts

- Endpoint: GET https://embed.gedx402.com/v1/translate
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-ai-translation-a89060a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uZCP5fP8V8ZWUPsc01KOe

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 gedx402-ai-translation-a89060a4
```

Example prompt: Translate this text from English to Spanish: 'The quick brown fox jumps over the lazy dog.' Pay with USDC on Base, no API key needed.

## When to prefer this

Choose this endpoint when you need keyless, pay-per-call text translation without API account setup, especially when paying with USDC on Base, Polygon, Arbitrum, World, or Solana is preferred over subscription-based translation APIs.

## Known failure modes

- Missing or invalid source_lang/target_lang ISO codes returns an error
- Unsupported language pair may return an empty or error response
- Payment not fulfilled results in HTTP 402 Payment Required
- Empty or missing text input returns an error
- Network or Workers AI backend failure returns a 5xx error

## How this service works

M2M100 machine translation — one x402 payment on embed.gedx402.com. POST { text, source_lang, target_lang } → { translated_text }; wire settlement USDC per request (see npm run pricing:report) worst-case. Hero: GET /heroes/translate. Competitive discovery alongside embed ping; not in the five-step AOV ladder.

## Output

A JSON object containing a 'translated_text' field with the translated string in the target language.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string"
  },
  "source_lang": {
   "type": "string"
  },
  "target_lang": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "translated_text": "Hola"
 }
}
```

## More

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