Skip to content
Berryxia.AI· @berryxia · X·· 2 d agoSame eventAI score72

Baidu open-sources ERNIE Unlimited SVG: turn complex images into editable SVGs with layers locally

Editorial summary

Baidu has open-sourced ERNIE Unlimited SVG, which with only about 0.5B activated parameters can locally redraw images into editable SVGs with independent layers and precise coordinates; the weights are released simultaneously on GitHub and Hugging Face.

Featured coverage of the same event: 《Baidu open-sources Unlimited-SVG: 0.5B active parameters converts CAD part drawings and floor plans into editable SVG》

Read original text
English translation

Someone finally tackled SVG! And they open-sourced an SVG project directly!

Just came across Baidu open-sourcing ERNIE Unlimited SVG (Wenxin Unlimited SVG). With only about 0.5B activated parameters, it can convert complex images into editable SVG vector graphics with separate layers locally, and developers can run it locally or integrate it into engineering pipelines directly, no longer relying on traditional pixel-level tracing tools or closed-source models with larger parameter counts.

The model has also been open-sourced to GitHub and Hugging Face (the original post did not include specific repository paths or command-line parameters; you can directly search for ERNIE Unlimited SVG to get the weights and inference scripts).

Several core capabilities of the tool:

  • Understand first, then redraw stroke by stroke: Unlike traditional vectorization tools that trace hard pixel by pixel, it first identifies objects, contours, colors, and spatial relationships between elements in the image, distinguishes foreground from background, reasons about occlusion relationships, and then writes a clean-structured SVG stroke by stroke in a reasonable layer order.
  • Complete layers and precise coordinates: The generated SVG has precise spatial coordinates, graphic groupings, and separate layers. Each element can be selected and modified individually, and it also supports re-rendering for pixel-level verification.
  • Handles complex industrial-grade drawings: It can convert not only simple logos, icons, and portrait objects, but also directly process complex layout PDFs, CAD drawings, architectural blueprints, and floor plans.

In terms of specific capabilities, the core breakthrough lies in efficiency optimization at both the input and decoding ends: on the input side, it can compress a high-resolution 2048×2048 image into only 1024 visual tokens while preserving details such as small text, thin lines, and precise coordinates;

on the decoding side, it adopts a MoE architecture, activating only about 0.5B parameters per token during decoding, and can generate complex SVG code of more than 10,000 tokens in real time.

This is another open-source release from Baidu in the direction of visual understanding, following the Wenxin Unlimited OCR series.

Previously, to convert complex images into structured SVG, you either had to use traditional tracing tools that generated a bunch of uneditable fragmented paths, or rely only on frontier giant models such as GPT-6.2 Astra and Claude Fable 5.2. Now, with 0.5B activated parameters, it can run locally, which is very friendly to frontend and design tool developers, document/CAD parsing pipelines, and multimodal Agent developers.

Quoted postBaidu Inc.@Baidu_Inc

ERNIE Unlimited SVG is out today, and it's open source!

Rather than tracing pixel by pixel, it studies an image first, identifying objects, outlines, colors and how each element relates to the rest. It then recreates the image stroke by stroke as a clean SVG with precise coordinates and separate layers, so every element stays fully editable.

  • Runs locally on about 0.5B active params, making it easy for developers to adopt and integrate
  • Brings frontier-level visual perception, knowing which details matter and which to simplify
  • Goes beyond logos and icons, handling PDFs with complex layouts, CAD drawings, architectural blueprints and floor plans

🧵 Explore the model ↓

View quoted post on X

Source: Berryxia.AI · x.com

Story updates · 2

View full story