Baidu Open-Sources Unlimited-SVG: Turn 2K Images into Editable Vector Graphics on a Single GPU—Can Fine Lines Be Preserved?
Baidu has open-sourced Unlimited-SVG, which locally redraws 2048×2048 images into editable SVG on a single GPU. It uses DeepEncoder to compress images to 1,024 visual tokens, then uses a MoE architecture to reduce long SVG generation to about 0.5B activated parameters. It can be tried for design mockup replication, front-end work, and data visualization, but fine lines, Chinese text, and complex photos still need real-world testing.
Baidu has open-sourced Unlimited-SVG. What it does is very specific: redraw ordinary images into structured, editable SVG. The official claim is that a single GPU can process 2048×2048 images locally, and the output is not a flat bitmap—text, colors, and lines can still be edited.
For people who often replicate reference images, modify design mockups without source files, or have Coding Agents perform secondary development based on images, this direction is more practical than “generating an image that looks more similar.”

Video demo:
The key lies at both ends. On the input side, DeepEncoder compresses the entire 2048×2048 image into 1,024 visual tokens while preserving small text, fine lines, and spatial coordinates. On the output side, it uses a MoE architecture where each token activates only about 0.5B parameters, with the maximum output tokens set to 30,000. The project page says complex SVGs exceeding 10,000 tokens can still be generated in real time. General flagship models can also produce long SVGs, but inference is slow and costly; this model cuts that overhead.
The listed use cases are straightforward: UI design, front-end, data visualization, scientific/technical illustration, textbook illustration, and engineering drawing redrawing. The GitHub open-source address is baidu/Unlimited-SVG, Hugging Face has an online Demo, and the model is also available for download on ModelScope.
Some users mentioned that the most practical use is old design mockups with no source files: after converting to SVG, text, colors, and lines can all be edited separately. Others worry whether fine lines and coordinate information can truly be preserved losslessly after compression to 1,024 tokens, whether Chinese characters will turn into a pile of paths, and whether photos with complex lighting and shadows may have exploding file sizes. These concerns are reasonable, and the official README also gives parameter suggestions: for CAD, charts, flowcharts, and other images requiring precise details, set the temperature low, from 0 to 0.3; for natural scenes and photos, raise it to 0.5 to 0.8 to avoid repetitive loops.
If you really want to try it, start with images with clear lines such as logos, flowcharts, charts, and CAD line drawings. Leave complex photos and Chinese-dense pages for real-world testing. The value of the tool is not in how pretty the demo images are, but in whether the output can go directly into design mockups, front-end code, and Agent workflows.
发布时间: 2026-12-01 18:28