# momoAI Text Rewrite

> momoAI Text Rewrite is a paid API for AI agents from momoai-cyan.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Rewrites provided text in a specified tone and style while optionally preserving the original meaning, using a pay-per-call LLM backend paid in USDC on Base.

## Facts

- Endpoint: POST https://momoai-cyan.vercel.app/api/rewrite
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/momoai-text-rewrite-7d0f14ab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HzGH-Vxuj3p_SzX4h4SBT

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 momoai-text-rewrite-7d0f14ab -d '<json body>'
```

Example prompt: Rewrite the following paragraph in a confident, professional tone while preserving the original meaning: 'Hey, just wanted to check in and see if maybe you had a chance to look at the proposal I sent over last week?'

## When to prefer this

Choose this endpoint when you need to rephrase or stylistically transform existing text — especially when you want fine-grained tone and style control (e.g. formal, casual, persuasive) and want to pay per call without a subscription. Prefer it over general-purpose chat completions when the task is specifically text rewriting rather than open-ended generation.

## Known failure modes

- Missing required 'text' field returns a 400 validation error
- Insufficient USDC balance or failed x402 payment returns a 402 Payment Required response
- Unrecognized tone or style values may be ignored or cause unexpected output
- Rate limits or LLM backend downtime may return 503 or timeout errors
- Very long input texts may be truncated or rejected depending on model context limits

## How this service works

Pay-per-use LLM API. Chat, reasoning, code review, translation, summarization, data extraction, and more. Pay with USDC on Base.

## Output

A JSON object with a 'data' field containing the rewritten text, the original input, the style and model used, and token usage stats; plus a 'success' boolean and metadata object.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string",
   "description": "Text to rewrite"
  },
  "tone": {
   "type": "string",
   "description": "Tone override"
  },
  "style": {
   "type": "string"
  },
  "preserve_meaning": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "properties": {
    "model": {
     "type": "string"
    },
    "style": {
     "type": "string"
    },
    "usage": {
     "type": "object"
    },
    "original": {
     "type": "string"
    },
    "provider": {
     "type": "string"
    },
    "rewritten": {
     "type": "string"
    }
   }
  },
  "meta": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/momoai-text-rewrite-7d0f14ab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from momoai-cyan.vercel.app](https://www.zero.xyz/host/momoai-cyan.vercel.app/llms.txt)
