What the model does
Most image-to-SVG tools trace the edges of color regions. Unlimited SVG works differently: it is a vision-language model that looks at the whole image and writes SVG code token by token, the way a person would redraw the picture with a pen tool. The result is real vector markup that a browser, Figma, Illustrator or Inkscape can open and edit.
The project describes its goal as redrawing “any image” as SVG. The examples in the official repository include CAD drawings, diagrams, charts, and natural scenes and photos.
How it reads an image
The official preprocessing prepares every image the same way before the model sees it.
- Orient and flatten. EXIF orientation is applied and transparent pixels are placed on white so they do not turn black.
- Fit to 2048 × 2048. The image is scaled to fit a 2048-pixel square, keeping its proportions, and padded with mid-gray. It is not tiled.
- Encode. The DeepEncoder from DeepSeek-OCR compresses the canvas into 1,024 vision tokens.
- Write SVG. With the prompt “<image> SVG:”, the model writes the SVG; the first complete <svg>…</svg> block is kept and checked as valid XML.
Where it works best, and its limits
Logos, icons, diagrams, charts and technical drawings suit the model well: they are made of shapes, lines and text, which SVG describes exactly. Photos and paintings also work, but they turn into many layered color shapes, so the files are larger and take longer to write.
The README suggests a low sampling temperature (0 to 0.3) for CAD, diagrams and charts, and a higher one (0.5 to 0.8) for natural scenes and photos, which can otherwise fall into repetitive loops. The model takes one image per request and has no text-to-SVG mode.