The 1st Image Optimization Engine for the Agentic Web

Monetize your MCP Server
with x402 & USDC

SmartConvert is a high-performance image optimization engine built for high-autonomy AI Agents. Pay-per-byte M2M payments, natively on **Base**.

M2M Native

Built for Machine-to-Machine world. No credit cards, no logins. Tokens only.

Sharp-Power

Powered by Libvips (Sharp). Extreme speed for WebP and AVIF conversions.

100% Revenue

Self-host Friendly. Collect 100% of conversion fees to your own wallet.

The Intelligence layer

What your Agent sees when connected to SmartConvert.

01

Tools: convert_image_to_webp

The core engine. It handles image binary, validates network, and processes optimization.

02

Prompts: Intelligent Advisors

Includes `format_advisor`, `x402_payment_help` and `image_optimization_agent` workflows.

03

Resources: Live Data

Expose `image-api://metrics` for real-time cost and performance monitoring.

Programmatic Payment Flow

sequenceDiagram participant Agent as AI Agent (Cursor/Claude) participant API as SmartConvert API participant SDK as x402 EVM SDK (Base) Agent->>API: POST /convert (No signature) API-->>Agent: 402 Payment Required + Details Note over Agent: Agent detects x402 protocol Agent->>SDK: Sign USDC TransferWithAuthorization SDK-->>Agent: Cryptographic Payload (Base64) Agent->>API: POST /convert + payment-signature API-->>Agent: 200 OK + Optimized Image

Start Converting in 60s

Step 1

Add the Server

Paste the API URL into your MCP settings.

{
  "mcpServers": {
    "smartconvert": {
      "url": "https://api.smartrayon.eu/mcp"
    }
  }
}

Step 2

Start Chatting

"Convert this image to WebP and optimize it for web use."

Agent: I'll use convert_image_to_webp. I detect a 402 requirement and will handle it...

Deploy your own node

# Clone and start with Docker
git clone https://github.com/lemaitregabinpro-creator/api-convert
cd api-convert
cp .env.example .env
# Edit your wallet and CDP keys
docker compose up -d --build