# PrimeAPI AI Text Translation

> PrimeAPI AI Text Translation is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.098483/call, status unknown (last checked 2026-10-24).

Translates text from one language to another using AI, payable per call in USDC on Base with no API key required.

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/ai/translate?utm_source=zero.xyz
- Price: $0.098483/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-ai-text-translation-7639f9b7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_H0xUKRkwiiRU6CZEkO_9i

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 primeapi-ai-text-translation-7639f9b7 -d '<json body>'
```

Example prompt: Translate the following text into Spanish using the PrimeAPI AI translation endpoint: 'The meeting has been rescheduled to Thursday afternoon.'

## When to prefer this

Choose this endpoint when you need a pay-per-call AI translation service with no API key setup, especially in agentic workflows using x402 micropayments on Base. Ideal for one-off translation tasks where you want to avoid subscription commitments.

## Known failure modes

- Missing or empty query field returns an error response
- Unsupported language pair may return garbled or empty output
- Payment failure in USDC on Base blocks the call with a 402 response
- Overly long input text may be truncated or rejected
- Network timeout if the underlying AI model is slow to respond

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns a JSON object containing the translated text in the target language, produced by an AI translation model.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/primeapi-ai-text-translation-7639f9b7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
