{"uid":"cap_GaDK78yKbx9NwWgpeysQR","slug":"x402-deployer-x402-deployer-workers-dev-1f3d16ff","name":"Tone Rewriter & Writing Style Changer","description":"Tone rewriter / paraphraser / writing style changer. 12 tones: formal, casual, friendly, confident, empathetic, concise, playful, persuasive, apologetic, technical, simple, enthusiastic. Audience + length controls.","url":"https://x402-deployer.x402-deployer.workers.dev/rewrite-tone","method":"POST","headers":{},"bodySchema":{"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"}}}}}}},"responseSchema":null,"example":{"request":{"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"}},"response":{"text":"Hi there! Thanks so much for reaching out. We've got your message and we're on it! We'll be sure to get back to you as soon as we can. Talk to you soon!","tone":"friendly","model":"hermes-3-llama-3.1-405b","source":"morpheus","input_chars":62,"output_chars":152,"target_length":"same","target_audience":"general consumer"}},"exampleRequest":{"text":"Hello, we received your message and will get back to you soon.","tone":"friendly","target_length":"same","target_audience":"general consumer"},"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dkBfUQ_O7Un6SeLCt-xPg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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.'","exampleUseCases":null,"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T06:43:48.000Z","isFirstParty":false}