{"uid":"cap_HzGH-Vxuj3p_SzX4h4SBT","slug":"momoai-text-rewrite-7d0f14ab","name":"momoAI Text Rewrite","description":"Pay-per-use LLM API. Chat, reasoning, code review, translation, summarization, data extraction, and more. Pay with USDC on Base.","url":"https://momoai-cyan.vercel.app/api/rewrite","method":"POST","headers":{},"bodySchema":{"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"}}},"responseSchema":{"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"}}},"example":null,"exampleRequest":null,"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_SK4bcJfFDjY7sPEymm1-L","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 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.","exampleAgentPrompt":"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?'","exampleUseCases":null,"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:58:34.194Z","isFirstParty":false}