Baidu has published the weights of Unlimited SVG on Hugging Face, a multimodal model that redraws images as SVG code, the vector format in which lines, colours, coordinates and layers stay separate and editable one by one. The release, under an MIT license, brings this capability to a model that activates about 0.5 billion parameters per token, out of roughly 3.3 billion in total.

Psst!Add AlexTech.ai asPreferred Source on Google

The difference from traditional vectorisation lies in the method. Classic tools rebuild an image by tracing pixels with points and curves. Unlimited SVG works more like an artist copying a painting: it recognises objects, outlines, colours and spatial relationships, separates foreground from background, reasons about hidden parts and redraws them layer by layer. The result contains precise coordinates, groups of shapes and layer information, so each element can be selected and changed without touching the rest. Baidu points to portraits, objects, CAD drawings, architectural plans and floor layouts as use cases.

official image of Unlimited-SVG

Image: baidu — https://github.com/baidu/Unlimited-SVG

In one example from the team, the grass behind a person is completed: the model understands the meadow continues behind the figure and draws it first, then places the subject on top. For the company, this shows an understanding of scene structure, not just visible contours.

Technically, the work rests on two changes. On the input side, the DeepEncoder compresses a 2048×2048 image into 1,024 visual tokens while keeping small text, thin lines and coordinates. On the generation side, a mixture-of-experts architecture activates only a small part of the network for each token. Together, Baidu says, they allow real-time generation of SVGs longer than 10,000 tokens, a range where large models slow down and become costly.

The model builds on the encoder of DeepSeek-OCR, the document-reading system from the Chinese company of the same name. The team presents it as a lightweight alternative to frontier APIs, which require remote infrastructure and per-request costs. The comparison with those models, cited in the launch material, remains the producer's claim: the available sources report no comparative scores.

official image of Unlimited-SVG

Image: baidu — https://huggingface.co/baidu/Unlimited-SVG

To run it, you need Linux on x86-64, a compatible NVIDIA driver and a GPU with BF16 support. The documentation suggests lowering the sampling temperature for CAD, charts and diagrams, where geometric precision and text matter, and raising it for photos and natural scenes, to avoid repetitive stroke loops. Two inference modes are available, with Transformers and with vLLM, plus an online demo.

No independent benchmarks or prices are available yet, as the model is released as open weights. Its practical value will depend on results with real images, which must be checked case by case, especially where precision and fidelity to detail are needed.