# momoAI Text Rewriter

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

Rewrites input text with optional tone and style overrides while preserving meaning, powered by LLM via pay-per-call pricing on Base.

## Facts

- Endpoint: POST https://aimomo.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-rewriter-de539646
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EICOvouoZgL-NMWaRlmSd

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-rewriter-de539646 -d '<json body>'
```

Example prompt: Can you rewrite this paragraph in a professional tone while preserving the original meaning: 'Hey team, just wanted to loop you in real quick — we gotta get this done ASAP or the client's gonna be super unhappy.'

## When to prefer this

Choose this endpoint when you need a simple, pay-per-call LLM-powered rewrite with tone and style control and no subscription overhead. Ideal for agents that occasionally need text transformation without committing to a monthly plan, and when crypto micropayments via USDC on Base are acceptable.

## Known failure modes

- Missing required 'text' field returns a 400 validation error
- Payment failure (insufficient USDC balance) results in a 402 Payment Required response
- Invalid tone or style values may be ignored or cause unexpected output
- Very long input text may exceed model context limits and return an error
- Network timeout on the Vercel deployment may yield a 504 Gateway Timeout

## 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 containing the rewritten text, the original text, the LLM model and provider used, style applied, token usage stats, and a success flag.

## 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-rewriter-de539646/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aimomo.vercel.app](https://www.zero.xyz/host/aimomo.vercel.app/llms.txt)
