# PrimeAPI AI Text Rewrite

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

Rewrites or paraphrases a given text input using AI to produce a reworded version

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/ai/rewrite?utm_source=zero.xyz
- Price: $0.120047/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-ai-text-rewrite-695cc222
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OamU_utR8da6A7RO18PDs

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-rewrite-695cc222 -d '<json body>'
```

Example prompt: Can you rewrite this paragraph to sound more professional and polished: 'Our product is really good and lots of people use it because it works great and does what you need'?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call AI text rewrite without API key setup, using USDC micropayments on Base. Best for one-off rewriting tasks within agentic workflows that already handle x402 payments.

## Known failure modes

- Empty or missing query field returns an error response
- Payment of 0.12 USDC not fulfilled results in 402 Payment Required
- Very long input text may be truncated or rejected
- Malformed JSON body results in 400 Bad Request
- Service unavailability on Vercel returns 500 or 503

## 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 an AI-generated rewritten version of the submitted text, rephrased or paraphrased based on the input query string provided.

## 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-rewrite-695cc222/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)
