{"uid":"cap_gXvCoLTrolIiaU83OT8k4","slug":"tanship-payai-console-ai-text-correction-46d2d8d9","name":"Tanship PayAI Console — AI Text Correction","description":"Payment-gated AI and browser automation API using the x402 protocol. All /v1/* endpoints require USDC payment on Base (eip155:8453) via x402 v2 exact scheme.","url":"https://x402.tanship.dev/v1/ai/correct","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":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1","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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lrXRcsIFoydNv8zeDuK4a","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Corrects and improves input text using a payment-gated AI endpoint on the x402 protocol, charged per call in USDC on Base.","exampleAgentPrompt":"Can you correct the grammar and spelling mistakes in this paragraph: 'The team have went to the meetng yesterday and discused the new plans for product lauch.'","exampleUseCases":[{"title":"Proofreading user-submitted content","prompt":"This user just submitted a product review but it's full of typos and grammar issues — can you run it through the AI corrector and send me back the cleaned-up version? Here's the text: 'The product arived late but it where worth the waite, realy good quality and the packiging was neet.'"},{"title":"Polishing marketing copy","prompt":"I've written a draft for our new landing page headline but I'm not confident in the grammar — can you correct it for me? Here it is: 'Get you business to the next level with our award winning, industry lead solutions for todays market.'"},{"title":"Fixing non-native English writing","prompt":"My colleague wrote this email in English but it's their second language and there are quite a few errors — can you correct it before I send it out? The text is: 'Dear client, I am writting to inform you that you order have been shipped and will arrive on the date that was agree upon.'"}],"resultDescription":"Returns the corrected and improved version of the submitted text, with grammar, spelling, and phrasing errors fixed by the AI model.","failureModes":["Missing or malformed 'input' body returns a validation error","Payment not attached or insufficient USDC amount results in HTTP 402 with x402 payment-required response","Invalid bodyType enum value causes schema rejection","Empty body content may return an unchanged or error response","Network or upstream AI model failure may return a 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-use, on-demand AI text correction service with no subscription or API key setup — only a USDC wallet on Base is required. Ideal for agents that need lightweight, cost-controlled proofreading at $0.005 per call with x402-compatible payment flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:48:07.285Z","isFirstParty":false}