mirrored listing x402 eip155:8453

Convert a raster image (PNG, JPEG, or WebP) into clean, editable, self-verified SVG vector

Convert a raster image (PNG, JPEG, or WebP) into clean, editable, self-verified SVG vector art. Pay per conversion in USDC on Base via x402 - no API key, no subscription. Send JSON with imageBase64 or imageUrl; tune with mode (auto/binary/color/pixel), detail (high/normal/clean/poster), transparent or solid background, and outline flags. Returns the SVG plus a quality report (paths, similarity score).

Do you run api.svgsmith.dev? This listing was mirrored from Coinbase's public Bazaar. Claim it in 30 seconds — no account required — and it becomes verified, permanently overriding the mirrored copy.

Claim this listing
20000 (raw units)
price
4
calls / 30d
2
unique payers
2026-09-10
updated

Provider

api.svgsmith.dev · discovered, not yet claimed by its owner

Payment (x402 accepts[])

[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xC34cDa76D8b9eDd3Be25C336CA1cf668522fDF0C",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "maxTimeoutSeconds": 300
  }
]

Output schema

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "detail": "high",
          "imageUrl": "https://example.com/logo.png",
          "mode": "auto"
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "example": {
          "meta": {
            "bytes": 38563,
            "detail": "high",
            "mode": "color",
            "similarity": 0.97
          },
          "svg": "<svg xmlns=...>...</svg>"
        },
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "body": {
              "anyOf": [
                {
                  "required": [
                    "imageBase64"
                  ]
                },
                {
                  "required": [
                    "imageUrl"
                  ]
                }
              ],
              "properties": {
                "background": {
                  "description": "Repaint background to this color.",
                  "type": "string"
                },
                "detail": {
                  "enum": [
                    "high",
                    "normal",
                    "clean",
                    "poster"
                  ],
                  "type": "string"
                },
                "imageBase64": {
                  "description": "Base64-encoded raster image (alternative to imageUrl).",
                  "type": "string"
                },
                "imageUrl": {
                  "description": "Publicly fetchable URL of the raster image to vectorize.",
                  "type": "string"
                },
                "mode": {
                  "enum": [
                    "auto",
                    "binary",
                    "color",
                    "pixel"
                  ],
                  "type": "string"
                },
                "solid_background": {
                  "type": "boolean"
                },
                "transparent_background": {
                  "type": "boolean"
                },
                "uniform_outline": {
                  "type": "boolean"
                }
              },
              "type": "object"
            },
            "bodyType": {
              "enum": [
                "json",
                "form-data",
                "text"
              ],
              "type": "string"
            },
            "method": {
              "enum": [
                "POST",
                "PUT",
                "PATCH"
              ],
              "type": "string"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method",
            "bodyType",
            "body"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "example": {
              "properties": {
                "meta": {
                  "type": "object"
                },
                "svg": {
                  "description": "The converted SVG markup.",
                  "type": "string"
                }
              },
              "required": [
                "svg"
              ],
              "type": "object"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  }
}

Use it

curl

curl "https://api.svgsmith.dev/v1/convert"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid

JavaScript

const res = await fetch("https://api.svgsmith.dev/v1/convert");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}

Python

import httpx
res = httpx.get("https://api.svgsmith.dev/v1/convert")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Machine-readable

Everything on this page is also available as clean JSON at /resources/4307.json, and this resource appears in /discovery/resources and /discovery/search.