Baidu open-sources Unlimited SVG: an image-to-editable-SVG model that runs locally on about 0.5B active params
Baidu has open-sourced ERNIE Unlimited SVG, a model that redraws an image as an editable SVG. Instead of tracing pixels, it first reads the objects, outlines, colors and spatial relationships in the image, then rebuilds it stroke by stroke as an SVG with precise coordinates and separate layers. It runs with about 0.5B active parameters, small enough for local use, and Baidu says it goes beyond logos and icons to PDFs with complex layouts, CAD drawings and floor plans. The license is MIT. The announcement drew 448K views and 2,705 likes.

Understand first, then redraw
Baidu released ERNIE Unlimited SVG at 11:43 a.m. JST on December 1. Instead of tracing an image pixel by pixel, it first works out what is in it: the objects, outlines, colors and how each element relates to the rest. It then recreates the image stroke by stroke as a clean SVG with precise coordinates and separate layers, so every element remains editable.
The launch video converts a photo of a woman with a parrot on her shoulder, an ink-wash landscape, a detailed technical drawing and a Transformer architecture diagram of the kind found in papers. Each one shows the original on the left, the SVG being drawn in the middle and the SVG code streaming on the right.
A Baidu Research post adds an optical illusion that can fool the human eye, which Unlimited SVG redraws correctly by reasoning about what it sees. Baidu says the model goes beyond logos and icons to PDFs with complex layouts, CAD drawings, architectural blueprints and floor plans.
Baidu Research (@BaiduResearch)
Open the original post by Baidu Research (@BaiduResearch) on X
About 0.5B active, local, MIT-licensed
According to the GitHub page, a complete SVG for a complex image often runs past 10,000 tokens, which makes large models slow and expensive. Unlimited SVG is built on DeepSeek-OCR. On the input side it compresses a 2048 x 2048 image into 1,024 vision tokens while keeping small text, thin strokes and exact positions. On the output side, a mixture-of-experts design activates only about 0.5B parameters per token, which Baidu says keeps generation real-time well past 10,000 tokens.
The weights are on Hugging Face (baidu/Unlimited-SVG) and ModelScope, the code is on GitHub, and the Hugging Face model card lists the MIT license. A demo is also available on Hugging Face Spaces. The official instructions target x86-64 Linux with a BF16-capable NVIDIA GPU and cover both Transformers and a vLLM server. They also suggest a low temperature (0 to 0.3) for CAD, diagrams and charts that need exact detail, and 0.5 to 0.8 for photos and natural scenes to avoid repetitive loops.
The morning after release, cocktailpeanut shared a one-click launcher for Mac, Linux and Windows that he says runs with around 8GB of VRAM on NVIDIA GPUs. Japanese creators have also started posting comparisons that break illustrations into per-part SVGs.






