amnt docs
SVG engine

The SVG engine

Prompt to SVG, or image to SVG. Real editable paths, not a bitmap in an SVG wrapper.

What it does

Two inputs, one engine, one output shape.

  • Prompt to SVG. Describe a shape in plain words. You get vector markup.
  • Image to SVG. Upload a PNG or JPG. You get vector markup.

Both return the same thing: an SVG document made of real paths, plus the files people actually ask for afterwards (PNG, PDF, EPS, DXF, an icon pack, and a simplified version that still reads at 16px).

Both doors call the same function. The studio, the REST API, the MCP tools and the x402 endpoints all go through lib/svg/api.ts, so a fix improves every one of them at once, and a buyer gets the same file at the same price whichever way they came in.

What makes it different

Most converters wrap a bitmap in an <svg> tag, or trace it and leave the seams showing. Six things are handled here that a plain trace does not:

ProblemWhat happens without itWhat this engine does
SquashThe picture is forced into a square, so wide art comes out stretchedIt traces at the picture's own shape and the viewBox follows it
Edge dirtA pale ring of the old background stays mixed into the outlineEach edge pixel takes the colour of the solid pixel just inside it
HairlinesThe browser anti-aliases each shape separately, so background shows through the joinsEach shape grows half a pixel under its neighbour
SliversSoft edges become thin strips of in-between colourEvery in-between pixel snaps to one of its two neighbours first
Wobbly curvesTraced at whatever size the file arrived atEnlarged 2x before tracing
Colour pilesYou get 200 unnamed paths in no useful orderLayers, grouped by colour or by object, each one named and movable

The result opens in Figma as objects you can click, move and recolour.

A photograph will never be pixel-exact as vector. Flat art, logos, icons and illustration trace cleanly. Photos come back as an illustration look, and that is the honest description of what you are buying.

Where to start

On this page