# Tanship PayAI Console — AI Text Correction

> Tanship PayAI Console — AI Text Correction is a paid API for AI agents from x402.tanship.dev, paid per call via x402, $1/call, status unknown (last checked 2026-09-14).

Corrects and improves input text using a payment-gated AI endpoint on the x402 protocol, charged per call in USDC on Base.

## Facts

- Endpoint: POST https://x402.tanship.dev/v1/ai/correct
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanship-payai-console-ai-text-correction-46d2d8d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gXvCoLTrolIiaU83OT8k4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tanship-payai-console-ai-text-correction-46d2d8d9 -d '<json body>'
```

Example prompt: 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.'

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

Returns the corrected and improved version of the submitted text, with grammar, spelling, and phrasing errors fixed by the AI model.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanship-payai-console-ai-text-correction-46d2d8d9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.tanship.dev](https://www.zero.xyz/host/x402.tanship.dev/llms.txt)
