{"uid":"cap_cvtA0PFodasSeKkTgiCgp","slug":"inkbox-ai-content-studio-clean-text-85c83e07","name":"Inkbox AI Content Studio — Clean Text","description":"Draft, rewrite, translate, and optimize written content. 25 AI-powered endpoints. Pay-per-call with USDC on Base.","url":"https://0ink.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":"probe","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_bWUUmd8uUlAWnf-PH2sKU","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 using AI, removing noise, formatting artifacts, or unwanted elements","exampleAgentPrompt":"Can you clean up this messy text for me — it's full of weird formatting artifacts and stray characters: 'Hello!!   World…  \n\n  This   is   a   test--- text with   extra   spaces.'","exampleUseCases":[{"title":"Clean customer feedback before analysis","prompt":"I need to process a batch of customer reviews from our feedback form, but they're full of extra spaces, weird dashes, and random punctuation. Can you clean them up so we can run sentiment analysis on them?"},{"title":"Sanitize web scraped product descriptions","prompt":"We're pulling product descriptions from competitor websites and they have all kinds of HTML tags and formatting junk mixed in. Can you strip all that noise out and give us clean text we can use?"},{"title":"Fix garbled user-generated content","prompt":"Our users are pasting in messy text from emails and documents with inconsistent spacing, stray characters, and broken formatting. Can you normalize it all so it looks clean when we display it in the app?"}],"resultDescription":"Returns a JSON object with a success boolean and a data object containing the cleaned, sanitized version of the submitted text, free of formatting artifacts, noise, or unwanted characters.","failureModes":["Missing required 'text' field returns validation error","Empty string input may return empty or error response","Very long text may hit size limits or timeout","Malformed JSON body returns 400-level error","Payment failure via x402 protocol returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need to clean, normalize, or sanitize raw text before storage, display, or further AI processing. Ideal for stripping formatting artifacts from scraped content, pasted text, or user-generated input. Choose this over general rewrite or translate endpoints when the goal is purely cleanup without semantic transformation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:31:35.335Z","isFirstParty":false}