運作方式
1.POST 您的圖片
將原始 PNG、JPEG 或 WebP 傳送至 API 端點。
2.收到 HTTP 402
API 透過 x402 協議返回付款詳情。
3.付款並取得結果
在 Base 上支付 $0.05 USDC,立即獲取透明背景圖片。
簡單定價
$0.05每張圖片
Base 上的 USDC
無訂閱。無需帳號。只為實際使用付費。
立即試用
curl -X POST https://x402.clearcanvas.app/v1/remove-background \ -H "Content-Type: image/png" \ --data-binary @photo.png \ --output result.png
The first request returns HTTP 402 with payment details. Pay with USDC using the x402 SDK and resend to get your result.
限制
- •最大檔案大小:25 MB
- •最大尺寸:10,000 × 10,000 像素
- •支援輸入:PNG、JPEG、WebP
- •輸出:PNG(預設)或 WebP
基於 x402 構建
x402 是 Coinbase 開發的開放 HTTP 付款協議。無需帳號,無需 API 金鑰——僅需鏈上微支付。Base 上的任何錢包都可以立即使用此 API。