Many people working with digital images run into situations where a graphic needs to be resized, recolored, or modified without losing clarity.
Photographs, screenshots, and scans are usually stored as rasters, which means they are grids of fixed pixels. Enlarging them causes the edges to soften or break into visible blocks. Vector formats take a different approach by describing shapes through mathematical paths, coordinates, and instructions rather than individual pixels.
Scalable Vector Graphics, commonly called SVG, is a widely used vector format based on XML.
An SVG file is essentially text that tells software how to draw lines, curves, shapes, colors, and sometimes actual text elements. Because the image is defined by these instructions, the same file can be rendered at any size, from a small icon on a mobile screen to a large display or print output, while remaining sharp. Designers rely on SVG for logos, icons, and user interface elements. Web developers use it for graphics that load quickly and can be styled with code. Engineers, architects, and technical illustrators turn to similar vector representations for floor plans, diagrams, charts, and drawings that must stay precise when scaled or annotated. The format also supports layering, so individual parts can often be selected and adjusted independently in programs such as Inkscape or Illustrator.
Baidu’s ERNIE multimodal team released an open-source model called 'Unlimited-SVG' that aims to convert ordinary raster images into this kind of editable vector form. The weights and inference code are available under an MIT license on Hugging Face and GitHub, with a technical project page describing the approach.
The model does not simply trace the edges of pixels the way many conventional vectorization tools do.
Those methods often produce dense collections of paths that are difficult to edit later.
Instead, Unlimited-SVG analyzes the image to identify objects, outlines, colors, and how elements relate to one another in space. It then generates SVG code that rebuilds the scene with separate layers, precise coordinates, and grouped shapes. The goal is an output in which individual components remain selectable and modifiable.
The project page describes this as reconstructing scenes layer by layer while reasoning about what sits in front of or behind other elements.
The architecture is designed for efficiency on this task.
It builds on the DeepSeek-OCR foundation.
A component called DeepEncoder compresses a full 2048 by 2048 pixel image into 1024 vision tokens while seeking to preserve details such as small text and thin lines. The decoder uses a mixture-of-experts design that activates only about 0.5 billion parameters for each generated token, even though the full model stores roughly 3.34 billion parameters in total.
This sparse activation is intended to support the long sequences of SVG code that complex images often require, sequences that can exceed 10,000 tokens.
For practical work, the model can reduce the time spent manually redrawing logos, icons, labeled charts, floor plans, architectural sketches, and certain CAD-style drawings.
Early independent tests on flat graphics and diagrams have produced structured SVGs with reusable paths, grouped elements, and, in some cases, selectable text that matches source labels closely. Resulting files are typically far smaller than the original rasters and scale without blur. A public demo exists for quick trials, and local inference is supported on compatible Nvidia GPUs under Linux, with the weights file occupying about 6.7 GB.
The tool also has clear limits that early users have documented.
Dense photographs tend to hit output token caps quickly and return only abstract compositional sketches rather than detailed reconstructions. Small text is often imperfect, appearing garbled or rendered as outlines instead of editable characters, so results need careful proofreading.
Because the process is generative, the model can simplify shapes, drop minor elements, or introduce small inconsistencies that do not match the source exactly. No comprehensive public benchmarks or full technical report have been published yet, so performance assessments rest on selected examples and independent trials. Local runs require suitable GPU memory, and very dense images can push against token or memory boundaries. Every output should be compared against the original before it is used in production work.
Unlimited-SVG therefore provides a usable option for converting certain categories of images into editable vectors, particularly diagrams and graphics where structure and editability matter more than photographic detail. It exists alongside traditional tracing methods and manual redrawing. Its value in any given case depends on the content of the image and the degree of verification that follows.





























































































































































































































































































































































































