Baidu Open-Sources Unlimited SVG: Redrawing Images into Editable Vector Code

Chinese

Baidu publicly released the Unlimited SVG model and inference code on December 1 under the MIT license, redrawing images into editable SVG. The company says each token activates about 0.5B parameters; this is not the model's total size, nor does it represent a verified cross-hardware real-time speed.

AI-generated concept illustration: a bicycle and promenade partly dissolve into editable paths and anchor points.

For an image to go from “viewable” to “editable item by item,” it takes more than upscaling pixels. Baidu's ERNIE Multimodal Team publicly released Unlimited SVG on December 1, re-expressing input images as SVG vector code; both the official GitHub and Hugging Face list release records for that day. The model uses the MIT license and provides inference examples for Transformers and vLLM. [S1][S2]

SVG describes an image using coordinates, paths, fills, and relationships between shapes, making it suitable for modifying specific elements in later design work. Unlimited SVG is built on DeepSeek-OCR. Baidu says DeepEncoder can compress a 2048×2048 image into 1024 visual tokens; the decoder uses a mixture-of-experts architecture, with about 0.5B parameters activated per token. Here, 0.5B refers to the number of parameters involved in the computation for that token and cannot be directly written as meaning the entire model has only 0.5B parameters. [S1][S2]

Long outputs are the practical difficulty of this task: SVG code for complex images often exceeds 10,000 tokens. The team says the model can still maintain real-time generation at this length, but during this verification the release materials did not establish a speed benchmark that can be generalized across different GPUs, and AIYXL did not conduct its own testing. Compared with a broad claim that “a small model matches top-tier large models,” the clearer deliverable is downloadable weights and a public inference path that can save SVG results. [S1][S2]

Local operation also has specific requirements. The repository example targets x86-64 Linux, compatible NVIDIA drivers, and GPUs that support BF16; after preserving aspect ratio, inputs are padded to 2048×2048—this is not unlimited-resolution processing. Baidu recommends using a lower sampling temperature for images such as CAD drawings and charts, where geometric and text consistency matters, while for natural photos it can be appropriately increased. These usage recommendations do not mean the model already guarantees complete accuracy in engineering dimensions or text. [S1][S2]

The project also provides a Hugging Face Spaces community demo and a ModelScope entry point. For design and content production, this release adds a way to enter a vector editing workflow from existing images; whether the generated file retains the required details and whether the grouping is convenient for modification should still be checked against the specific image. The vector paths in the cover image only express this concept and are not works actually generated by this model. [S1][S3]

Sources:

  1. [S1] Unlimited SVG Works — Baidu Official GitHub

  2. [S2] baidu/Unlimited-SVG — Hugging Face

  3. [S3] Baidu Open-Sources ERNIE Unlimited SVG: Based on DeepSeek-OCR, Photos Turn into Editable Vector Graphics with One Click