Wink Pings

Baidu Open-Sources Unlimited SVG: 0.5B Activated Parameters, Redraws CAD Drawings into Editable Vector Graphics

Baidu has released and open-sourced Unlimited SVG. It first understands the objects, contours, and hierarchy in an image, then draws stroke by stroke to generate layered SVG with coordinates. The official claim is that a 2048×2048 image is compressed to 1024 visual tokens, and complex images can generate more than 10,000 SVG tokens locally in real time. CAD drawings, PDF layouts, and posters are all in scope; the actual details still depend on testing.

Baidu has open-sourced Unlimited SVG. The model card and GitHub are both out, under the MIT license. What it does is very specific: redraw an image as SVG, with precise coordinates and layers in the output, and every element can be edited independently.

Automated tracing is not new. Illustrator and a bunch of online tools can convert bitmaps to vectors, but the results are often a pile of scattered paths, and changing one letter can take ages to untangle. Unlimited SVG takes a different approach: first look at the whole image, identify objects, contours, colors, and positional relationships between elements, then redraw stroke by stroke. The official claim is that the output is clean, layered SVG, not an image that merely 'looks like' the original.

This sounds simple, but the hard part is long context. A complete SVG for a complex image can easily exceed 10,000 tokens, and once a large model enters long context it gets slow, and API costs look bad. Baidu wrote in the model card two methods: on the input side, DeepEncoder compresses a 2048×2048 image into 1024 visual tokens, preserving small text, fine lines, and coordinates; on the decoding side, it uses MoE, activating only about 0.5B parameters per token. The official claim is that this can maintain real-time generation after exceeding 10,000 tokens. Total model parameters are 3B, and it can run locally.

Unlimited SVG case studies

It does not only handle logos and icons. The officially listed scenarios include complex PDF layouts, CAD drawings, architectural blueprints, and floor plans. These images are most vulnerable to automated tracing producing a pile of uneditable fragments; layering and coordinates are exactly the point. Temperature settings are also split by image type: CAD, charts, and other images needing precise geometry are kept at 0 to 0.3, while natural photos can go to 0.5 to 0.8.

Unlimited SVG hero

If you want to try it, Hugging Face and GitHub both provide inference code for Transformers and vLLM, plus an online demo. The hardware bar is not low: official requirements are x86-64 Linux, NVIDIA drivers, and a GPU supporting BF16, with full-image inference at 2048×2048 and no tiling. Transparent pixels are first composited onto a white background to prevent black artifacts in the conversion.

Links:

But do not rush to equate 'open source' with 'usable.' In the replies, someone wants to try a text-heavy poster to see whether a single line of text can be edited separately; another person directly says the details are still not good enough. These two issues hit the key point: layered editability is one thing, and whether text and fine lines remain accurate after redrawing is another. Another netizen's comment was even more blunt: open source is just the easy part.

Automated tracing tools have long been scorned by designers. Unlimited SVG offers a direction of understanding first, then drawing, whereas traditional tools trace along pixel edges. The direction is right; what remains is real-world testing. At least for now, you can run it on the drawing that gives you the biggest headache and see whether it produces an editable structure or just a neater pile of garbage.

发布时间: 2026-12-01 15:28