# OmniAPI AI Text Rewrite

> OmniAPI AI Text Rewrite is a paid API for AI agents from omni-api-cyan.vercel.app, paid per call via x402, $0.079275/call, status unknown (last checked 2026-09-14).

Rewrites or paraphrases input text using AI, returning a transformed version of the original content.

## Facts

- Endpoint: POST https://omni-api-cyan.vercel.app/api/ai/rewrite
- Price: $0.079275/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/omniapi-ai-text-rewrite-6bcaaae8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mGzjnK8hOgNyqJd31SlCH

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 omniapi-ai-text-rewrite-6bcaaae8 -d '<json body>'
```

Example prompt: Can you rewrite this paragraph to sound more professional and concise: 'We got a lot of stuff done last week and the team worked real hard to finish everything up on time'?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call AI text rewriting service without requiring a full LLM API subscription. It is suitable for agents that occasionally need text transformation as part of a larger workflow and want to pay micro-amounts in USDC rather than managing API keys. Prefer alternatives (e.g. direct OpenAI or Anthropic APIs) for high-volume rewriting, fine-grained model control, or when latency and consistency guarantees are critical.

## Known failure modes

- Missing required 'query' field returns a validation error
- Empty or very short input may produce low-quality or unchanged output
- Overly long inputs may be truncated or cause timeout
- Ambiguous rewrite instructions may yield unexpected tone or style
- Payment failure via x402 results in 402 response before processing begins

## How this service works

444 endpoints across 9+ chains. Crypto, AI, Social, Finance, Weather, Tools. Pay per call in USDC via x402 with 4 facilitators: Dexter, Meridian, FluxA, GoPlausible.

## Output

Returns a rewritten or paraphrased version of the input text, transformed according to the query or instruction provided. The response is a JSON object containing the AI-generated text output.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "Input data for the endpoint"
  },
  "query": {
   "type": "string",
   "description": "Search query or input text"
  },
  "params": {
   "type": "object",
   "description": "Additional parameters"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/omniapi-ai-text-rewrite-6bcaaae8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from omni-api-cyan.vercel.app](https://www.zero.xyz/host/omni-api-cyan.vercel.app/llms.txt)
