What is Unlimited-SVG?
Unlimited-SVG is an image-to-vector model from Baidu's ERNIE multimodal team, released on 1 December 2026 under the MIT licence. Give it a picture and it writes SVG code, stroke by stroke, that redraws it as shapes, paths and text you can edit in Illustrator, Figma or a text editor. Baidu pitches it at diagrams, charts, CAD drawings, floor plans and illustrations as well as photos.
It is built on DeepSeek-OCR. The DeepEncoder squeezes a 2048 by 2048 image into 1,024 vision tokens, and a mixture-of-experts decoder activates about 0.5 billion parameters per token out of about 3.3 billion in total. That matters because a full SVG of a complex picture often runs past 10,000 tokens, which is slow and costly on a frontier API.
The weights load through Transformers with trust_remote_code or through a patched vLLM server, on x86-64 Linux with an NVIDIA GPU that supports BF16. The repository passed 1,100 likes on Hugging Face in its first days; a technical report is promised but not yet out.
Is Unlimited-SVG worth it?
Unlimited-SVG solves the right problem in the right way. Turning a picture into SVG is a long-output job: Baidu says a complete file for a complex image often passes 10,000 tokens, and its scripts allow up to 30,000. A model that activates only 0.5 billion parameters per token and reads the whole page from 1,024 vision tokens can afford that length on one local GPU, where a frontier model billed per output token cannot.
What is missing is evidence. The model card, the GitHub README and the project page give no benchmark, no comparison with StarVector, OmniSVG or classic tracers such as Potrace, no speed figure and no memory figure. The case for it rests on a gallery of hand-picked examples, and Baidu's own advice to tune the temperature by image type suggests results vary. Treat it as a promising draft tool until the promised technical report lands.
The documentation is candid about failure modes. Photos can fall into repetitive loops at the default greedy setting, so Baidu suggests a temperature of 0.5 to 0.8 for natural scenes and 0 to 0.3 for CAD drawings and charts. Transparent pixels turn black unless flattened onto white first, every image is padded onto a single 2048 by 2048 canvas with no tiling, and a cut-off run returns no SVG at all.
The catch: the loader needs trust_remote_code, and a user on the Hugging Face discussion board has flagged calls to Python's eval() in the model's code, with no reply from Baidu at the time of writing. Run it in a container until that is answered. The vLLM route also asks you to patch a file inside the installed vLLM package.
Our take: for designers and engineers who redraw logos, charts and floor plans by hand, it is worth an afternoon on a spare GPU. For production vector work with a deadline, Recraft's paid SVG output is still the safer bet until Baidu shows numbers.
Where it earns its place
A facilities team digitising 400 scanned floor plans
Turn old plan scans into vector files we can edit and annotate
Batch the scans through the vLLM server at temperature 0 to 0.3, as Baidu advises for CAD-style drawings, then check each SVG in a vector editor. Expect cleanup on fine detail; the weights cost nothing.
A data journalist at a regional newspaper
Recreate a chart from a PDF report so it can be restyled in house colours
Render the page, run it through the free Hugging Face Space or a local GPU, and edit the SVG's fills and labels directly. Numbers still need checking against the source, since no accuracy figure is published.
An indie game developer
Turn concept art into layered vector backgrounds
Use the ComfyUI nodes with a temperature of 0.5 to 0.8 to avoid loops on painted images, and keep the best of several runs. The MIT licence lets the output ship in a commercial game.
Before you commit
- Setup
- Create a Python 3.12 environment with uv, install the pinned Transformers stack from the model card and run the example script, or patch vLLM 0.33 and serve the model with a 32,768-token limit. The first run downloads the weights.
- Integrations
- Transformers with trust_remote_code, vLLM with an OpenAI-compatible endpoint, a free Hugging Face Space, ModelScope, and a community ComfyUI node pack.
- Data and privacy
- Self-hosted, so images stay on your hardware. MIT licence for weights and code. Baidu has not published its training data.
- Cost at scale
- No licence fees. Baidu's vLLM example serves one request at a time (max-num-seqs 1), so throughput scales with the number of GPUs; no speed figure is published.
- Limits
- Single 2048 by 2048 canvas without tiling; up to 30,000 output tokens in the examples; loops on photos at temperature 0; transparent areas must be flattened to white; no technical report yet.
What’s good
- MIT licence for weights and code, commercial use allowed
- About 0.5B active parameters keeps 10,000-token SVGs practical on one GPU
- Reads a 2048 by 2048 page from just 1,024 vision tokens
- Free demo, ModelScope mirror and community ComfyUI nodes in the first week
What’s not
- No benchmark, speed or memory figures published
- Loads custom code; a user flagged eval() calls that Baidu has not addressed
- Photos can loop without tuning the temperature
- Linux and NVIDIA GPU only; vLLM route needs a hand patch
Best for
Designers, technical illustrators and developers who want editable SVG drafts of diagrams, charts and line art from a model they can run on their own GPU.
Unlimited-SVG alternatives
Where it fits in the AI stack
Unlimited-SVG: common questions
- Is Unlimited-SVG worth it?
- A small, MIT-licensed model that does a job usually left to frontier APIs, but Baidu has published no measurement of how well it does it. We rate it 3.6 out of 5.
- How much does Unlimited-SVG cost?
- Free weights and code under the MIT licence. No paid API; a free demo runs on Hugging Face Spaces.
- What are the downsides of Unlimited-SVG?
- No benchmark, speed or memory figures published; loads custom code; a user flagged eval() calls that Baidu has not addressed; photos can loop without tuning the temperature; linux and NVIDIA GPU only; vLLM route needs a hand patch.
- Who is Unlimited-SVG best for?
- Designers, technical illustrators and developers who want editable SVG drafts of diagrams, charts and line art from a model they can run on their own GPU.
- How much does Unlimited-SVG cost for a team or in production?
- No licence fees. Baidu's vLLM example serves one request at a time (max-num-seqs 1), so throughput scales with the number of GPUs; no speed figure is published.
- Is Unlimited-SVG safe for company data?
- Self-hosted, so images stay on your hardware. MIT licence for weights and code. Baidu has not published its training data.
- What are the best Unlimited-SVG alternatives?
- The closest alternatives we have reviewed are Recraft V4.1, Unlimited-OCR 2 and DeepSeek-OCR 2.
Answers checked Dec 2, 2026.