Beating AI News Flash: Baidu has open-sourced its image-to-vector model ERNIE Unlimited SVG under the MIT license, supporting free commercial use and local deployment.
Traditional vector conversion tools mostly rely on tracing along pixel edges, producing fragmented lines that are difficult to modify afterward. Unlimited SVG first identifies objects, contours, colors, and hierarchical relationships in the image, then redraws them as SVG by layers with precise coordinates, making every element individually editable. Beyond common logos and icons, it can also handle complex layouts in PDFs, CAD engineering drawings, architectural blueprints, and floor plans.
Converting complex images into complete SVGs often produces code exceeding 10,000 tokens, making calls to heavy cloud-based large models both slow and expensive. Baidu this time built on the open-source DeepSeek-OCR architecture to compress compute overhead from both the input and output ends.
On the input side, the DeepEncoder encoder compresses an entire 2048×2048 image directly into 1,024 visual tokens, preserving small text, fine lines, and precise positions without tiling. On the output side, a mixture-of-experts architecture is used, with approximately 3.3 billion total parameters and only about 500 million activated per inference. The entire model weights are approximately 6.7GB, supporting single-GPU local operation and real-time generation of vector code exceeding 10,000 tokens.
The model weights and inference code are now available on GitHub, Hugging Face, and ModelScope, with the vLLM inference framework also providing synchronized support.
