Text rewriting API: make text formal, casual, shorter or simpler
No account. Pay by card from $1 and your key appears right after payment. Get a key by card
Rewrite text to be more formal, casual, simpler, shorter, friendlier, more professional or more persuasive, keeping the meaning and language. Use to polish emails, replies, product copy and messages.
When to use it
- Polish emails, replies, product copy and messages
- Pick a style: formal, casual, simpler, shorter, friendly, professional or persuasive
Inputs
| Name | Type | Description |
|---|---|---|
text (required) | string | Text, up to 8,000 characters |
style | string | formal, casual, simpler, shorter, friendly, professional or persuasive (default professional). One of: formal, casual, simpler, shorter, friendly, professional, persuasive. |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://glyphtools.com/ai/rewrite?text=hey%2C%20cant%20make%20it%20tmrw%2C%20can%20we%20move%20to%20thu%3F"
Node.js
const r = await fetch("https://glyphtools.com/ai/rewrite?text=hey%2C%20cant%20make%20it%20tmrw%2C%20can%20we%20move%20to%20thu%3F", {
headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header
Python
import requests
r = requests.get("https://glyphtools.com/ai/rewrite?text=hey%2C%20cant%20make%20it%20tmrw%2C%20can%20we%20move%20to%20thu%3F", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"style": "professional",
"text": "I'm afraid I won't be able to make it tomorrow; would it be possible to reschedule for Thursday instead?",
"model": "@cf/meta/llama-4-scout-17b-16e-instruct"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is ai_rewrite, paid from the first call:
https://glyphtools.com/mcp
Questions
Does it change the meaning or language?
No. It keeps the meaning and language and adds no facts, names or details that are not in the original.
How do I pay?
Each successful call costs $0.01; failed calls are not charged. This tool is not in the free calls (they run tools that only compute or look up public data); from the first call pay with card credits (from $1; the key goes in an Authorization header or, for clients that can only fetch a URL, as api_key= in the URL) or per call in USDC over x402 or MPP. No account is needed.