Baidu Unlimited-SVG: redraws images as editable SVG
Baidu released Unlimited-SVG, an MIT-licensed model that turns images into structured, editable SVG and runs on a single local NVIDIA GPU.
Baidu's Unlimited-SVG takes a photo, logo or diagram and writes SVG code describing it, instead of tracing pixel edges, and it is small enough to run on one local GPU. The GitHub repo announced it on Dec 1, 2026 as a multimodal model built on DeepSeek-OCR that activates about 0.5B parameters per token, which Baidu says sustains real-time generation past 10,000 tokens.
The pitch for builders is output you can edit. BigGo Finance describes conventional vectorizers as producing finely fragmented lines that are hard to revise, while this model recognizes objects, colors and foreground-background order and groups the SVG by shape. BigGo puts the scope beyond icons to complex PDFs, CAD drawings and floor plans, and reports MIT-licensed weights with commercial use permitted, roughly 3.3B total parameters and about 6.7GB on disk.
The repo's requirements are specific: x86-64 Linux with uv, a compatible NVIDIA driver and a free BF16-capable GPU. It gives a Transformers script and a vLLM server setup, plus a Hugging Face Space demo and a ModelScope listing. It also recommends sampling temperature by image type: 0–0.3 for CAD, diagrams and charts, 0.5–0.8 for photos to avoid repetitive loops.
Our read: an SVG written like code can fail differently from a traced one. A DEV Community walkthrough points to a misread word in a <text> node or a hallucinated shape behind an occluded object, and flags an eval() call in the remote code, which its author says sits on a path the official example doesn't run.
The same walkthrough notes the release includes no benchmark numbers and that the technical report is "coming soon"; its 12 GB GPU estimate is the author's back-of-envelope math from the config, not a measurement. BigGo says accuracy and practicality on complex drawings await verification by users, so whether it beats the vectorizer you use today is a question for your own files.
Try it: run the repo's script on a diagram and a logo you already vectorize, CUDA_VISIBLE_DEVICES=0 .venv-svg-hf/bin/python infer_hf.py /path/to/image.png, then open output.svg in your design tool and check whether text and shapes come out as editable elements. If generation stops early, the script raises "Incomplete SVG" and leaves the raw output in output.txt.
Sources
- GitHub - baidu/Unlimited-SVG: Unlimited SVG Works: Trace On — Projection of Visual Worlds into SVG-Anything · GitHub
- Baidu Releases Unlimited-SVG, an AI That Converts Images into Editable SVG, Free Under MIT License With Local Execution Support — BigGo Finance · BigGo Finance
- How to Run Baidu Unlimited-SVG Locally: Image to Editable SVG on a 12 GB GPU · DEV Community