svg_vectorize
AMNT SVG: turn an existing picture (PNG, JPEG or WebP: https URL, data: URI or base64) into a clean, editable SVG that keeps its shape and colours. Use this when you already have the image; to draw something new use svg_generate. Returns JSON with a link to the .svg, extra file links, size and a quality score (add include_svg: true for the markup). Price: $0.01; with "model": "amnt-vectorize-1.1" and "style": "logo" or "icon" a logo or icon comes back as tiny clean code ($0.08). Needs an AMNT API key; paid from Balance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | cutout = no overlapping shapes, for Figma and cutting machines. | |
| image | Yes | The picture to convert: an https URL, a data: URI or raw base64 (PNG, JPEG or WebP). | |
| model | No | The AMNT model. Leave it out for AMNT Draw 1.2, the default. amnt-auto (AMNT Auto, $0.03): Picks the best AMNT model for each request. · amnt-svg-lite-1.1 (AMNT SVG Lite 1.1, $0.01): Simple icons, charts, patterns and flat backgrounds. Fastest and cheapest. · amnt-svg-1.1 (AMNT SVG 1.1, $0.03): Icons, logos, lettering, NFT bases and traits, as tiny clean SVG code. · amnt-svg-pro-1.1 (AMNT SVG Pro 1.1, $0.25): Characters, mascots and detailed art. The best NFT bases. · amnt-trace-1.2 (AMNT Draw 1.2, $0.05): Icons, logos, pixel art and illustrations with a few true colours. · amnt-vectorize-1.1 (AMNT Vectorize 1.1, $0.08): Turn your picture into a clean SVG. Logos and icons come back as tiny clean code. · amnt-animate-1.1 (AMNT Animate 1.1, $0.05): One prompt, a moving SVG. Every moving part is its own named group. Hand-drawn or flat. | |
| style | No | What the picture is. logo and icon give the cleanest result (and with amnt-vectorize-1.1, a redraw as code). | |
| colors | No | Cap the number of colours. | |
| detail | No | low = bold and simple, medium = clean (default), high = closest to the picture. | |
| layers | No | objects = each thing (hat, face...) as its own named, movable group, drawn whole underneath. +$0.02. | |
| formats | No | Extra files: png, pdf, eps, dxf (cutting machines), icons (favicon pack zip), small. | |
| objects | No | Name the objects to separate, if you know them. | |
| palette | No | Snap every colour to these (brand colours). | |
| background | No | transparent removes a plain backdrop with no white ring. | |
| include_svg | No | Put the SVG markup in the reply. Off by default: traces are large. |