AI & Creative Tools

Baidu Open-Sources Unlimited-SVG, a Model That Redraws Any Image as an Editable Vector

Built on DeepSeek-OCR's vision stack with a sparse mixture-of-experts decoder, the 0.5B-active-parameter model turns complex raster images into structured SVG code fast enough to run locally, no frontier API required.

Turning a complicated raster image into a clean, editable SVG has mostly meant choosing between slow, token-hungry frontier models and vectorizers that flatten everything into opaque shapes. Baidu published Unlimited-SVG on December 1, an open-source model built specifically to avoid that tradeoff: it redraws an image as structured SVG code, shapes, paths, colors, and text, in a single pass, fast enough to run on one GPU instead of a hosted API.

Why SVG generation gets slow

A complete SVG for a visually dense image can run past 10,000 tokens, a long-context regime where most large models become slow and expensive. Unlimited-SVG attacks the problem from both ends. On the input side, it reuses DeepSeek-OCR’s DeepEncoder to compress an entire 2048x2048 image into just 1,024 vision tokens while preserving fine detail like small text and thin strokes, shrinking the visual prefix before decoding even starts. On the output side, its decoder is a sparse mixture-of-experts architecture that activates only about 0.5 billion parameters per token, so even outputs well past 10,000 tokens stay fast to generate.

What it’s actually good at

The model’s own documentation recommends tuning sampling temperature to the image type: a low temperature (0 to 0.3) for CAD drawings, diagrams, and charts that need exact geometric consistency, and a higher one (0.5 to 0.8) for natural scenes and photos, where some stroke variation avoids repetitive loops. That split suggests the team built it with technical and illustrative use cases both in mind, not just one.

Open, and already getting outside coverage

Code and weights are released under the MIT license, with the roughly 6.7GB weights available on both Hugging Face and ModelScope, and a live demo running on Hugging Face Spaces (credited to AK). Independent coverage from Chinese tech outlet Pandaily confirms the release date and the open licensing, treating it as a genuine infrastructure release rather than a lab demo. For a creative and technical audience that has watched vector generation stay locked behind paid frontier APIs, a model this size, open-weight and runnable locally, changes who can build with it, not just what it can do.