# Tone Rewriter & Writing Style Changer

> Tone Rewriter & Writing Style Changer is a paid API for AI agents from x402-deployer.x402-deployer.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Rewrites or paraphrases text in one of 12 distinct tones (formal, casual, friendly, confident, empathetic, concise, playful, persuasive, apologetic, technical, simple, enthusiastic) with optional audience and length controls.

## Facts

- Endpoint: POST https://x402-deployer.x402-deployer.workers.dev/rewrite-tone
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-1f3d16ff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GaDK78yKbx9NwWgpeysQR

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 x402-deployer-x402-deployer-workers-dev-1f3d16ff -d '<json body>'
```

Example prompt: Can you rewrite this customer complaint response in an empathetic tone, keeping it concise and aimed at a general consumer audience: 'We have received your issue and will process it per our standard SLA timeline.'

## When to prefer this

Use this endpoint when you need deterministic, tone-specific rewriting across one of 12 well-defined styles with audience and length targeting. Prefer over generic LLM prompting when you need consistent, parameterized tone control without managing prompt engineering yourself, especially in automated pipelines at $0.02 per call.

## Known failure modes

- Invalid or unsupported tone name returns an error
- Empty or missing input text causes a 400 bad request
- Text exceeds maximum character/token limit
- Payment not included or insufficient USDC results in 402 Payment Required
- Unsupported audience or length parameter values rejected

## How this service works

Tone rewriter / paraphraser / writing style changer. 12 tones: formal, casual, friendly, confident, empathetic, concise, playful, persuasive, apologetic, technical, simple, enthusiastic. Audience + length controls.

## Output

Returns the rewritten version of the input text transformed into the requested tone, with audience and length adjustments applied as specified. Typically a single string or structured object containing the rephrased content.

## Example request

```json
{
 "input": {
  "body": {
   "text": "Hello, we received your message and will get back to you soon.",
   "tone": "friendly",
   "target_length": "same",
   "target_audience": "general consumer"
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "text",
      "tone"
     ],
     "properties": {
      "text": {
       "type": "string",
       "description": "Text to rewrite. Max 12,000 chars."
      },
      "tone": {
       "type": "string",
       "description": "Target tone: formal, casual, friendly, confident, empathetic, concise, playful, persuasive, apologetic, technical, simple, or enthusiastic."
      },
      "target_length": {
       "enum": [
        "shorter",
        "same",
        "longer"
       ],
       "type": "string",
       "description": "Optional. 'shorter' (60-80% of original), 'same' (default, within +/-15%), or 'longer' (130-150%)."
      },
      "target_audience": {
       "type": "string",
       "description": "Optional. Description of the intended reader, used to steer word choice and register."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "text": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-1f3d16ff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-deployer.x402-deployer.workers.dev](https://www.zero.xyz/host/x402-deployer.x402-deployer.workers.dev/llms.txt)
