Dynamic Insight Beating AI News: Baidu open-sources the ERNIE Unlimited SVG model for converting images to vector graphics, released under the MIT license, supporting free commercial use and local deployment.
Traditional vectorization tools typically rely on tracing pixel edges, resulting in fragmented lines that are difficult to edit afterward. Unlimited SVG first identifies objects, contours, colors, and hierarchical relationships within the image, then redraws it as an SVG with precise layering and coordinates, allowing each element to be edited individually. 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 full SVGs often generates code exceeding 10,000 tokens. Using heavy cloud-based large models is both slow and expensive. This time, Baidu leverages the open-source DeepSeek-OCR architecture to reduce computational costs at both input and output stages.
On the input side, the DeepEncoder encoder compresses the entire 2048×2048 image directly into 1,024 visual tokens without tiling, preserving small text, fine lines, and exact positioning. On the output side, a mixture-of-experts architecture is used, with approximately 3.3 billion total parameters, activating only about 500 million during each inference. The entire model weighs around 6.7GB, supports single-card local operation, and can generate vector code of over 10,000 tokens in real time.
The model weights and inference code are now available on GitHub, Hugging Face, and ModelScope Community, with the vLLM inference framework also provided for support.