{"uid":"cap_3QK-BpDrnTY8L0Aih9Ae5","slug":"inkbox-ai-content-studio-clean-text-endpoint-53662c6a","name":"Inkbox AI Content Studio — Clean Text Endpoint","description":"Draft, rewrite, translate, and optimize written content. 25 AI-powered endpoints. Pay-per-call with USDC on Base.","url":"https://lastink.netlify.app/api/clean","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_w5YxnTdLtgcwtJzviVzlg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Cleans and sanitizes written text content using AI, removing noise, formatting issues, or unwanted elements","exampleAgentPrompt":"Can you clean up this messy text I copied from a PDF — it has weird line breaks, extra whitespace, and garbled characters that need to be stripped out: 'Q1  Earnings   Report\n\n\nRevenue grew   by 14%...'","exampleUseCases":null,"resultDescription":"Returns a JSON object with a 'success' boolean and a 'data' object containing the cleaned/sanitized version of the submitted text, free of noise, formatting artifacts, or unwanted elements.","failureModes":["Missing required 'text' field returns validation error","Empty string input may return error or empty result","Extremely long text may hit payload size limits","Payment failure (402) if USDC balance insufficient","Service unavailable if Netlify hosting is down"],"whenToPreferThis":"Use this endpoint when you need AI-powered text cleaning or normalization as a preprocessing step before publishing, analyzing, or storing content. Ideal for cleaning scraped text, copy-pasted content, or raw drafts with formatting artifacts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:40:15.990Z","isFirstParty":false}