Image: Baidu
Baidu has open-sourced a model that turns pictures into vector drawings. Unlimited SVG, released under the MIT licence, reads an image and rewrites it as structured SVG code: shapes, text, colours and coordinates arranged in layers rather than stored as a grid of pixels. The weights are on Hugging Face and ModelScope, the code is on GitHub, and the team published a project page with examples.
The model is built on DeepSeek-OCR. Its encoder squeezes a 2048 × 2048 image into 1,024 vision tokens while trying to keep small text, thin strokes and exact positions intact. A mixture-of-experts decoder then activates about 0.5 billion of the model’s 3.3 billion parameters per token. Baidu says that combination lets it keep generating past 10,000 SVG tokens at real-time speed on a single GPU, which is the length where a full drawing usually breaks slower models.
The output is the interesting part. Instead of producing pixels, Unlimited SVG produces code: each shape keeps its coordinates, text stays editable text, and layers record what sits in front of what. The team says it separates foreground from background, reasons about the parts hidden behind overlapping shapes, and rebuilds a scene in a logical order rather than tracing it line by line. Its guidance suggests a low sampling temperature for CAD, diagrams and charts, where geometry must stay exact, and a higher one for photographs, where repetition becomes a problem.
Baidu frames the release as a research direction as much as a tool. The team argues that captions only teach a model to summarise, while SVG forces it to account for every element and to check its work by rendering it. That, they write, could give vision models much finer perception, collapse understanding and generation into one task, and give robots a way to sketch a scene before acting on it.
There are limits worth stating. No benchmarks have been published; the technical report is listed as coming soon, so the comparison to frontier models such as GPT-6.2 Astra, Claude Fable 5.2 and Gemini 4 Argon is the team’s own claim. Long outputs can still fail, and the sample code simply raises an error if the returned SVG is incomplete. The weights are about 6.7GB and need a BF16-capable GPU, so “local” means a machine with a recent graphics card, not a laptop.
Most image models this year have competed on pixels and realism (OpenAI’s Images 2.6 added GIFs and faster generation). Vector output is a different trade: files are tiny and every element stays editable, but shapes can only approximate a photograph, which is why the examples look like clean illustrations rather than copies. For designers, diagrams and anything that needs to scale without blurring, that is the point.
The model is available now under a permissive licence, which makes it easy to test. The open question is whether the quality holds on messy real-world images, and that is what the missing evaluation will show.

Comments