Background Removal for AI Agents (MPP)

Your agent calls the API, pays $0.05 in pathUSD on Tempo via MPP, and gets the result. No login, no session, no human in the loop.

100% Private
AI-Powered
No Upload Required

AI agents built on the MPP ecosystem need to manipulate images as part of their workflows. Traditional APIs require OAuth, API keys, and subscription setup — barriers that break autonomous operation. The Clear Canvas MPP API eliminates all of that: any agent with a funded Tempo wallet can remove image backgrounds in a single HTTP round-trip, paying per image with pathUSD and no prior registration.

Why Use Clear Canvas

  • No API key or account — just a wallet on Tempo (mainnet or testnet)
  • Deterministic pricing — always $0.05 pathUSD per image, no surprise fees
  • MPP replay protection — each payment credential is bound to one request
  • Stateless — no sessions or auth tokens for your agent to manage
  • Any language — Python, TypeScript, Go, Rust, or anything that speaks HTTP
  • Testnet available — test on Tempo testnet before spending real pathUSD

How It Works

  1. 1

    Fund a Tempo wallet with pathUSD

    Your agent needs a wallet on Tempo with enough pathUSD to pay for images. Tempo is EVM-compatible, so any EVM wallet library works. Create and fund it programmatically.

  2. 2

    POST your image — receive HTTP 402

    Send a raw PNG, JPEG, or WebP as the request body. The API returns HTTP 402 with a WWW-Authenticate: Payment challenge containing the amount, currency, and network details.

  3. 3

    Sign and submit the pathUSD payment

    Use the mppx SDK (TypeScript) or mpp client (Python) to sign a pathUSD transfer for $0.05 and encode it as an Authorization: Payment header. The payment is cryptographically bound to this specific request.

  4. 4

    Resend with Authorization: Payment — receive image

    Resend the identical POST with the Authorization: Payment header attached. On successful payment verification, the API returns the background-removed image as PNG or WebP.

Frequently Asked Questions

Ready to Get Started?

No sign-up needed. Your images stay on your device.