# Inkbox AI Content Studio — Clean Text

> Inkbox AI Content Studio — Clean Text is a paid API for AI agents from inkinbox402.netlify.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Cleans and normalizes written text, removing noise, formatting artifacts, or unwanted content using AI.

## Facts

- Endpoint: POST https://inkinbox402.netlify.app/api/clean
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/inkbox-ai-content-studio-clean-text-e7d5307b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hwt1p5EJsM18EJPBU5a33

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 inkbox-ai-content-studio-clean-text-e7d5307b -d '<json body>'
```

Example prompt: Can you clean up this messy text I extracted from a PDF — it's full of weird line breaks, stray characters, and encoding artifacts: 'Hel lo w orld\n\n\t this is â€˜a testâ€™ â€¦ fix it up so it reads properly.'

## When to prefer this

Use this endpoint when you need to clean, sanitize, or normalize raw text before publishing, storing, or feeding it to another process — especially when dealing with scraped content, PDF extracts, or user-generated text with formatting noise. Prefer this over generic LLM calls when you want a pay-per-call, auditable transformation with consistent output structure.

## Known failure modes

- Missing required 'text' field returns a validation error
- Empty string input may return an unchanged or error response
- Very large text payloads may be truncated or rejected
- Payment failure via x402 protocol returns 402 Payment Required
- Malformed JSON body returns 400 Bad Request
- Service unavailability on Netlify returns 503 or timeout

## How this service works

Draft, rewrite, translate, and optimize written content. 25 AI-powered endpoints. Pay-per-call with USDC on Base.

## Output

Returns a JSON object with a success boolean and a data object containing the cleaned, normalized version of the submitted text.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/inkbox-ai-content-studio-clean-text-e7d5307b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from inkinbox402.netlify.app](https://www.zero.xyz/host/inkinbox402.netlify.app/llms.txt)
