Baidu releases Unlimited SVG, an open model that redraws images as editable code
In short
- Baidu's ERNIE Multimodal Team has released Unlimited SVG, an open model that looks at an image and writes it back as SVG code: a drawing made of layers, shapes, exact coordinates, colours and text that you can edit. The model card carries the MIT licence. The Hugging Face repository was created on 25 November 2026 and the GitHub release notes are dated 1 December 2026.
- It builds on DeepSeek-OCR, an earlier model for reading documents. Baidu says its image encoder squeezes a 2048 x 2048 picture into 1,024 vision tokens, and that the model uses about 0.5 billion parameters for each token it writes.
- Baidu says that lets it write more than 10,000 SVG tokens at real-time speed, on a model small enough to run locally. That speed and the comparison with big closed models are Baidu's own statements: it has published no benchmark table and no technical report yet, and we found no independent test.
~0.5B parameters used per token, Baidu says; 1,024 vision tokens for a 2048 x 2048 image; 10,000+ SVG tokens generated at real-time speed, Baidu says; MIT licence on the model card
What it does, in plain words
SVG is a way of describing a picture as text instead of pixels. A circle is a line of code with a centre, a radius and a colour; a word is a text element with a font and a position. Because it is code, an SVG file can be scaled to any size without going blurry, opened in a design tool, and changed one shape at a time.
Unlimited SVG goes from a picture to that code. Baidu's project page says it follows the exact position of every element in crowded scenes and captures "every shape, color, word, and thin line". It also says the model works like an artist: it separates foreground from background, reasons about parts hidden behind overlapping shapes, and rebuilds the scene layer by layer.
Baidu's argument for SVG is that it can be checked. A text caption of an image always loses detail and cannot be compared with the original. SVG output can be drawn and put next to the original, so a wrong shape or a misplaced word is visible. The page's own words: SVG makes a model's understanding of an image "explicit, visible, and easy to verify".
How it keeps the cost down
A finished SVG of a complex image often runs past 10,000 tokens (a token is a small chunk of text a model reads or writes). The README says that is a regime where large models become slow. Baidu attacks it from both ends:
- Input. The model is built on DeepSeek-OCR. Its encoder, called DeepEncoder, turns a whole 2048 x 2048 image into 1,024 vision tokens (the model's units for pieces of an image). Baidu says small text, thin strokes and exact coordinates survive this compression.
- Output. The decoder is a mixture-of-experts model: it holds many small specialist sub-networks and sends each token through only a few. The Hugging Face config lists 64 routed experts and 2 shared ones, with 6 routed experts used per token. Baidu says this means about 0.5B parameters are active for each token.
The count of active parameters is not the file size. The Hugging Face record lists 3,336,106,240 parameters in total, stored in BF16 (a 16-bit number format). That is about 3.34 billion, so the whole model still has to fit in memory even though only a fraction works on each token. The 3.34B figure comes from the repository's metadata, not from Baidu's text; the link between it and "0.5B active" is ours.
How open it is
The README says to run it on x86-64 Linux with a compatible NVIDIA driver and a free GPU that supports BF16. Images are padded to a 2048 x 2048 grey canvas without tiling. For diagrams, charts and CAD-style drawings it advises a low sampling temperature (0 to 0.3) to keep geometry and text exact. For photos and natural scenes it advises 0.5 to 0.8, to avoid repetitive loops. That last point hints at where it is weaker: Baidu itself warns of loops on natural images.
What Baidu claims, and what is missing
The project page says drawing complex images as structured SVG "has so far been within reach only of frontier models", and names three closed models from OpenAI, Anthropic and Google. It says Unlimited SVG brings this to a model with 0.5B active parameters. The README says it makes complex SVG conversion practical "rather than relying on heavy frontier APIs".
What we could not find: any score, any side-by-side output set or any test by someone outside Baidu. The page shows case studies in an animation, but it gives no measure of how close the redrawn SVG is to the original. "Frontier ability" is therefore a claim, not a measured result. The model card and README also differ slightly in which closed models they list, which shows the text is still being edited.
Where Baidu says this goes
The project page's "Looking ahead" section is a research agenda, not a result:
- Using SVG as a pretraining task for general vision-language models, so they must account for every element instead of summarising an image in a caption.
- Joining understanding and generation: reading an image and writing the code that draws it become the same act.
- Robots: a model that knows exact positions and what hides behind what could sketch the scene before it acts. Baidu also says the approach could extend to depth and video.
None of this is shown in the release. For now what you can download is a model that converts one image into one SVG.
Terms in plain English
- SVG: a text format that describes a picture as shapes, colours and text rather than pixels (our wording).
- Vision token: a unit a model uses to represent a patch of an image.
- Mixture of experts: a design where only some sub-networks run for each token, so the active size is smaller than the total.
- Active parameters: the parameters used to produce one token.
- MIT licence: a permissive open-source licence.
Where things stand
Baidu's page says a technical report is coming. Until it appears, there are no published scores for the speed and quality claims. The weights, code and demo are public, so anyone can test whether the SVG it writes matches the original image.
Sources
- Unlimited SVG Works: Trace On, Baidu ERNIE Multimodal Team project page
- baidu/Unlimited-SVG, GitHub README with release notes of 1 Dec 2026
- baidu/Unlimited-SVG model card, Hugging Face, repository created 25 Nov 2026
Sources
More from AI in China
- DeepSeek's open models grew to 1.6 trillion parameters in a year, free to download
- Alibaba's Qwen team released five downloadable models this year, most under Apache 2.0
- The Chinese Academy of Sciences sets out 20 foundational science questions for AI
- Qwen releases FlashQLA, open code that runs its linear attention up to 3x faster
- Baidu releases ERNIE 5.5 Flash Preview, an open 280B model under Apache 2.0