Skip to content

← The Lab

Baidu open-sources Unlimited SVG: any image redrawn as an editable SVG, and it's already in ComfyUI

Baidu's ERNIE team released Unlimited SVG on the evening of Nov 30 (MST), an MIT-licensed model that redraws a picture as clean, layered SVG code instead of tracing pixels. By morning it was #3 on Hugging Face's trending list, and jtydhr88 (of ComfyReel) had shipped a ComfyUI node for it.

What it does, per Baidu. Rather than auto-tracing edges, the model looks at the image first (objects, outlines, colours, text, how pieces relate) and then writes the SVG stroke by stroke. The output is real paths, circles and text elements, grouped and named, so you can open it in Illustrator, Figma or a code editor and change one shape. It's built on DeepSeek-OCR: a 2048 x 2048 image is squeezed into 1,024 vision tokens, and a mixture-of-experts decoder activates about 0.5B of its 3B parameters per token. That's how Baidu says it keeps writing fast past 10,000 tokens, which complex SVGs need. Baidu's comparisons against frontier models are its own.

Why video people should care. Code-built motion graphics (Claude, HyperFrames, Remotion, Lottie-style pipelines) animate vectors, not JPEGs. Today you usually redraw a client's flat logo, a reference illustration or a storyboard frame by hand, or ask a frontier model to write the SVG, which is slow and expensive at this length. A local model that turns a still into editable layers is a cheap first step before handing the file to an agent to animate. Higgsfield's own Claude motion-graphics guide this week built its launch film from SVG frames for exactly this reason: text and shapes stay sharp at 4K and edits are code changes.

Running it. Baidu's repo has Hugging Face and vLLM inference scripts for x86-64 Linux with a BF16-capable NVIDIA GPU. There's no training code or local web UI, so Mac and Windows users should start with the online demo on the project page or the Hugging Face Space AK set up. Early testers, including Chinese tech site Zhidx, say flat cartoons and line art come out well, while photoreal faces flatten and small low-contrast text can be misread.

The ComfyUI node. jtydhr88's ComfyUI-UnlimitedSVG (MIT, published 5:42 AM MST today) loads the model as a CLIP text model on ComfyUI's own text-generation stack and feeds the built-in Save SVG node. You download a converted 6.7 GB file into models/text_encoders. His tips: keep temperature at 0-0.3 for diagrams, charts and CAD, and use 0.5-0.8 for photos. Raise max_length when the SVG gets cut off. On an RTX 5090 he measured 55-65 tokens per second and about 9 GB of VRAM, so a 12,000-token SVG takes about four minutes. He says it will also become a built-in workflow in ComfyArt and ComfyReel.

Rights note. Converting an image doesn't change who owns it. Vectorise your own art, client files you're cleared to use, or licensed references.

Why it's flagged HOT. Baidu's own launch post took off (about 2.2k likes and 390k views in 15 hours), and the model is #3 on Hugging Face's trending list, so two signals landed well inside 72 hours.

Skills & repos in our directory

More from the Lab

Topics: ComfyUI · Motion graphics skills