amnt docs
SVG engine

Export formats

Seven formats from one traced document, so a recolour shows up everywhere at once.

Ask with formats. svg is always included, whatever you list.

{ "prompt": "a fox mascot head", "formats": ["png", "pdf", "icons"] }
FormatWhat it isWho needs it
svgThe vector documentEveryone. Always included
pngRaster, any size, transparentWeb, thumbnails, previews
pdfOne vector page at the picture's sizePrint shops
epsVector, older dialectSign-making and legacy print software
dxfClosed outlines, one layer per colourCricut, Silhouette, laser cutters
iconsA zip: favicon.ico, 16/32/48/180/192/512, and a 1200x630 social cardApp and site launch
smallA simplified trace that still reads at 16 to 48pxFavicons, tiny UI glyphs

Why one document matters

Every vector writer reads the same parsed document. Change a colour or move a group and re-export, and the PDF, the EPS and the DXF all change too. They are not three separate conversions that can drift apart.

Sizes

png_width sets the raster size, 16 to 8192:

{ "prompt": "a fox mascot head", "formats": ["png"], "png_width": 2048 }

The icon pack

icons produces a zip with:

favicon.ico
icon-16.png
icon-32.png
icon-48.png
icon-180.png   (apple-touch-icon)
icon-192.png   (web app manifest)
icon-512.png   (web app manifest)
social-1200x630.png

Cutting machines

dxf writes closed outlines with one layer per colour, so each colour becomes its own cut pass. Pair it with mode: "cutout" so no shape overlaps another.

curl -X POST https://www.amnt.io/api/v1/svg/generate \
  -H "Authorization: Bearer amnt_sk_..." \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "a mountain badge, two colours",
    "style": "flat",
    "mode": "cutout",
    "colors": 2,
    "formats": ["dxf"]
  }'

Small

small re-traces with a coarser detail setting and drops anything that does not survive at 16px. It is not just a resized PNG of the same art, because art that reads at 1024px is usually mud at 24px.

On this page