# AMNT Vectorize – Image to SVG

> AMNT Vectorize – Image to SVG is a paid API for AI agents from www.amnt.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Converts a raster image (PNG, JPG, or WebP) into a clean, editable SVG with real vector paths, returning the SVG document, a public URL, optional extra format files, and a fidelity quality score.

## Facts

- Endpoint: POST https://www.amnt.io/api/agent/amnt/image-to-svg?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amnt-vectorize-image-to-svg-2cae523f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_485Zco28HD8moqt50iIIO

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 amnt-vectorize-image-to-svg-2cae523f -d '<json body>'
```

Example prompt: Can you vectorize this PNG for me — https://www.amnt.io/brand/amnt-icon-512.png — use high detail, cap the palette at 16 colors, remove the background, and also give me a PDF version?

## When to prefer this

Choose this endpoint when you need to convert a raster image into a clean, script-free SVG with real filled vector paths rather than a low-quality auto-trace. It is especially well suited for logos, icons, and flat-color graphics where palette control, background removal, and optional multi-format export (PDF, EPS, DXF) are needed. Prefer it over generic vectorization tools when fidelity scoring and clean path output (no embedded bitmaps) are required.

## Known failure modes

- Image URL unreachable or returns non-image content — request fails with error
- Image exceeds 10 MB limit — rejected with size error
- Unsupported image format (e.g. TIFF, BMP) — format error returned
- Invalid color count outside 2–64 range — validation error
- Malformed data URI or base64 string — parsing error
- Requested extra format code not recognized — format error
- Network timeout fetching remote image URL

## How this service works

AMNT Vectorize 1.1 - Image to clean, editable SVG. Send a PNG, JPG or WebP link; get back real vector paths in the picture's own shape and colours, a link, extra files and a quality score.

## Output

Returns the full SVG document as a string (only <g> groups and filled <path> elements, no scripts or embedded bitmaps), a public URL to the SVG file, links to any additionally requested format files (PDF, EPS, DXF, icons ZIP, simplified SVG), the total number of vector paths, a fidelity/quality score object comparing the SVG to the original image, and processing time in milliseconds.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "image"
     ],
     "properties": {
      "mode": {
       "enum": [
        "stacked",
        "cutout"
       ],
       "type": "string",
       "default": "stacked",
       "description": "Shapes"
      },
      "image": {
       "type": "string",
       "examples": [
        "https://www.amnt.io/brand/amnt-icon-512.png"
       ],
       "maxLength": 14000000,
       "description": "An https link, a data: URI or base64. PNG, JPG, WebP, AVIF or GIF, 10 MB at most."
      },
      "colors": {
       "type": "integer",
       "maximum": 64,
       "minimum": 2,
       "examples": [
        "32"
       ],
       "description": "Cap the palette. Leave empty for automatic."
      },
      "detail": {
       "enum": [
        "low",
        "medium",
        "high"
       ],
       "type": "string",
       "default": "medium",
       "description": "How much small detail survives. Medium is clean and smooth."
      },
      "formats": {
       "type": "string",
       "examples": [
        "pdf,png,dxf"
       ],
       "maxLength": 80,
       "description": "Any of png, pdf, eps, dxf, icons, small. Comma separated. SVG always comes back."
      },
      "background": {
       "enum": [
        "transparent",
        "keep"
       ],
       "type": "string",
       "description": "Transparent removes a plain backdrop cleanly, with no white ring."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ms": {
       "type": "integer",
       "description": "Time taken."
      },
      "svg": {
       "type": "string",
       "description": "The SVG document. Only <g> groups and filled <path>s: no scripts, no embedded bitmap."
      },
      "url": {
       "type": "string",
       "descr
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amnt-vectorize-image-to-svg-2cae523f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.amnt.io](https://www.zero.xyz/host/www.amnt.io/llms.txt)
