# AMNT SVG Vectorize

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

Converts raster images (PNG, JPG, WebP, AVIF, GIF) into clean SVG vector files with real paths, optional transparent background removal, and multi-format output.

## Facts

- Endpoint: POST https://www.amnt.io/api/os-tools/svg-vectorize
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amnt-svg-vectorize-85897d92
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nlm8qnhFAZ7OaWwJCXoHc

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-svg-vectorize-85897d92 -d '<json body>'
```

Example prompt: Can you vectorize this PNG logo for me — use https://www.amnt.io/brand/amnt-icon-512.png, set detail to high, remove the background so there's no white ring, and also give me back a PDF and DXF in addition to the SVG?

## When to prefer this

Choose this endpoint when you need to convert a raster image to a true vector SVG with real paths — especially when clean background removal (no white ring) is required, or when you need simultaneous export to multiple formats like PDF, DXF, or EPS. Prefer this over generic image-to-SVG tools when CNC-ready DXF output or icon set generation is needed. Best for logos, icons, illustrations, and stickers rather than photographic scenes with complex gradients.

## Known failure modes

- Image URL not reachable or returns non-image content — request fails with an error
- Image exceeds 10 MB limit — rejected with a size error
- Unsupported image format (e.g. TIFF, BMP) — returns format error
- Invalid base64 or malformed data URI — parsing error returned
- Requested output format string is invalid or misspelled — may silently omit that format or return error
- Very low-contrast or noisy images may produce poor vector traces regardless of detail setting

## How this service works

AMNT SVG Vectorize - Turn any picture into a clean SVG: real paths, its own shape, no white ring round cut-outs.

## Output

Returns an SVG file (always included) plus any additionally requested formats such as PDF, PNG, EPS, DXF, or icon sets. The SVG contains real vector paths traced from the input image, with optional background removal that avoids white-ring artifacts. Color palette is either automatic or capped at the requested number of colors.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "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 removes the grain that makes a trace look traced."
  },
  "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."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amnt-svg-vectorize-85897d92/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)
