Baidu releases Unlimited SVG, an open model that redraws images as editable code

In short

~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:

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:

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

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

Sources

More from AI in China

All stories from AI in China