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"] }| Format | What it is | Who needs it |
|---|---|---|
svg | The vector document | Everyone. Always included |
png | Raster, any size, transparent | Web, thumbnails, previews |
pdf | One vector page at the picture's size | Print shops |
eps | Vector, older dialect | Sign-making and legacy print software |
dxf | Closed outlines, one layer per colour | Cricut, Silhouette, laser cutters |
icons | A zip: favicon.ico, 16/32/48/180/192/512, and a 1200x630 social card | App and site launch |
small | A simplified trace that still reads at 16 to 48px | Favicons, 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.pngCutting 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.