Designer's desk with a monitor showing a colourful illustration being converted into clean vector shapes

Unlimited SVG Explained: Baidu’s Open-Source Model That Redraws Images as Editable SVG

Unlimited SVG is Baidu’s open-source multimodal model that redraws any image as structured, editable SVG code using just 0.5B activated parameters. Released 1 December 2026 under MIT, it handles outputs beyond 10,000 tokens, compresses a 2048 x 2048 image into 1024 vision tokens, and runs via Transformers or vLLM on Linux NVIDIA hardware.

Designer's desk with a monitor showing a colourful illustration being converted into clean vector shapes
Unlimited SVG redraws raster images as editable vector code.

What is Unlimited SVG and what problem does it solve?

Unlimited SVG solves the image-to-vector problem by redrawing a raster image as structured, editable SVG code instead of tracing it pixel by pixel. The Unlimited SVG GitHub repository describes a multimodal model from the Baidu ERNIE Multimodal Team, released 1 December 2026 on GitHub, Hugging Face and ModelScope, with a Hugging Face Spaces demo. Its tagline is “Trace On — Projection of Visual Worlds into SVG-Anything.”

That distinction matters because an editable SVG is not a flattened picture. It is code: paths, shapes, text and coordinates that a designer can open, recolour, resize without blur, and reuse in print, web or CAD-adjacent workflows. The repository was created on 25 November 2026, is written in Python, and is released under the MIT licence. As of the crawl on 2 December 2026 it had 1,765 stars and 121 forks, with 5 commits and no releases or tags yet. Secondary reporting puts total parameters at around 3 billion total parameters, with the 0.5B figure being the activated-per-token count, not the download size.

Why is Unlimited SVG trending now?

Unlimited SVG is trending because it reached about +1,046 stars per day in its first week while tackling a task most models avoid: generating complete SVG code that often exceeds 10,000 tokens. Trendar’s rising list on 2 December 2026 showed that estimate for its first week, which is rapid for a brand-new release with only 5 commits.

The timing helps explain the interest. The model launched on 1 December 2026 across GitHub, Hugging Face and ModelScope, with a Spaces demo people can try without local hardware. At PantheonUK, we highlight open-source tools that turn a hard generation problem into a practical workflow — and a model that sustains real-time generation well past 10,000 tokens is exactly that kind of step. The honest caveat belongs here too: the technical report is still listed as coming soon, so there are no published benchmark scores to check yet.

How does Unlimited SVG turn an image into editable SVG?

Unlimited SVG turns an image into editable SVG by compressing the whole picture into a small set of vision tokens, then decoding long SVG code token by token with a mixture-of-experts model. It is built on DeepSeek-OCR, and the design is split into an input side and a decoding side.

On the input side, DeepEncoder compresses an entire 2048 x 2048 image into just 1024 vision tokens while preserving small text, thin strokes and exact spatial coordinates. That preservation is the hard part: a chart label, a hairline border or a tiny icon must survive compression if the redrawn SVG is to match the source. On the decoding side, the mixture-of-experts architecture activates only about 0.5B parameters per token, which is why generation can continue well past 10,000 tokens without the slowdown that makes large dense models prohibitive in that regime. The output is validated as XML before it is saved as output.svg, so malformed markup is caught before you rely on the file. That inspect-the-output habit echoes reverse engineering: you check the structure you got, not just the picture it renders.

Close-up of a graphics tablet and stylus beside a screen with layered vector artwork
Layered, editable paths are the point of SVG output, not a flattened picture.

How does Unlimited SVG handle input images and generation settings?

Unlimited SVG handles input images by resizing the long edge to 2048 pixels while keeping the aspect ratio, then centring the result on a gray 2048 x 2048 canvas without tiling. Transparent pixels are composited onto white first, so a PNG with transparency does not produce unpredictable edges.

Generation is greedy by default: do_sample=False in Transformers and temperature=0 in vLLM, with max_new_tokens set to 30000. That default favours exact reproduction over variety. The guidance given is practical: use temperature 0 to 0.3 for CAD, diagrams and charts where exact geometry and text matter, and 0.5 to 0.8 for natural scenes and photos where a little variation helps avoid repetitive loops. Think of it as a precision dial. Low temperature keeps lines and labels faithful; higher temperature gives natural imagery more freedom. Neither setting changes the core limit: complex curves still depend on how sharp the source image is.

How do you run Unlimited SVG with Transformers or vLLM?

You run Unlimited SVG locally through one of two routes — Transformers for a direct script, or vLLM for an OpenAI-compatible server — each in its own virtual environment managed with uv on Python 3.12. The first run downloads the weights for baidu/Unlimited-SVG from Hugging Face into the local cache.

The Transformers route uses infer_hf.py with torch==2.6.0, transformers==4.46.3 and safetensors==0.8.0:

CUDA_VISIBLE_DEVICES=0 .venv-svg-hf/bin/python infer_hf.py /path/to/image.png

The vLLM route uses infer_vllm.py with vllm==0.33.0 and torch==2.14.0, served as:

vllm serve baidu/Unlimited-SVG --served-model-name Unlimited-SVG --max-model-len 32768 --port 10000

Separate venvs matter because the two stacks pin different torch versions. If you already automate model work with coding agents, the vLLM server route will feel familiar: start the server once, then send images through a standard API shape instead of re-running a script each time.

Workstation with a GPU and monitor displaying code next to a rendered vector graphic
Local runs need Linux and a BF16-capable NVIDIA GPU via Transformers or vLLM.

What hardware and systems does Unlimited SVG need?

Unlimited SVG needs x86-64 Linux, uv, a compatible NVIDIA driver and a free BF16-capable GPU for local runs. macOS and Windows are not supported for local runs — on those systems the online demo is the route, via the Hugging Face Spaces demo or the project page at unlimited-svg.github.io.

That platform limit is worth planning around. If your main machine is a Mac or a Windows PC, test quality in the demo first before renting or borrowing a Linux GPU box. It is a different constraint from running Android apps on Windows, where emulation bridges the gap; here, BF16 GPU inference is the requirement, and no emulation layer is offered. The 0.5B activated-parameters figure can also mislead: it describes compute per token, while the weights you download are reported at around 3 billion total parameters, so disk and memory planning should use the larger number.

Who is Unlimited SVG for, and what are its limits?

Unlimited SVG is for designers, developers and technical illustrators who need editable vector output from raster sources — logos, diagrams, charts, icons and illustrations that must scale cleanly and stay editable as code. The MIT licence makes it usable in commercial and open-source projects alike.

The limits are clear. This is a brand-new release from 1 December 2026 with only 5 commits, no releases or tags, and a technical report still coming soon, so there are no published benchmark scores to verify quality claims against. Local runs need Linux plus an NVIDIA BF16 GPU. For CAD-style input, the output gives lines and labels, not engineering constraints or 3D semantics — it redraws, it does not understand the engineering intent. And complex curves depend on source sharpness, so a blurry input will not become a precise vector. None of that cancels the core offer; it defines what to test first, ideally on your own images in the demo.

Printed vector-style posters and a laptop on a studio table in daylight
Editable SVG scales cleanly from screen to print without blur.

Frequently Asked Questions

What is Unlimited SVG in simple terms?

Unlimited SVG is Baidu’s open-source multimodal model that redraws any image as structured, editable SVG code. Released 1 December 2026 under MIT by the Baidu ERNIE Multimodal Team, it uses 0.5B activated parameters and handles outputs beyond 10,000 tokens.

How does Unlimited SVG work?

It is built on DeepSeek-OCR: DeepEncoder compresses a 2048 x 2048 image into 1024 vision tokens preserving small text and coordinates, then a mixture-of-experts decoder activates about 0.5B parameters per token to generate the SVG, validated as XML before saving.

What hardware do I need to run Unlimited SVG?

Local runs need x86-64 Linux, uv, a compatible NVIDIA driver and a free BF16-capable GPU. macOS and Windows are not supported locally, so use the Hugging Face Spaces demo or the project page at unlimited-svg.github.io on those systems instead.

How do I run Unlimited SVG?

Use Transformers with infer_hf.py (torch==2.6.0, transformers==4.46.3) or serve it with vLLM (vllm==0.33.0) on port 10000 with a 32768 context. Each route uses its own uv venv on Python 3.12, and weights download from Hugging Face on first run.

Is Unlimited SVG free to use?

Yes. Unlimited SVG is released under the MIT licence, with 1,765 stars and 121 forks as of 2 December 2026. Note it is brand new with 5 commits and no published benchmark scores yet, since the technical report is still coming soon.

Conclusion

Unlimited SVG’s appeal is direct: Baidu’s open-source model redraws images as editable SVG code, compressing a 2048 x 2048 image into 1024 vision tokens and sustaining generation past 10,000 tokens with 0.5B activated parameters. Try the Spaces demo on your own images first, check the XML-validated output, and only then set up the Linux GPU route with Transformers or vLLM. Cite it as unlimitedsvg2026, Unlimited SVG Works: Trace On, Baidu ERNIE Multimodal Team, 2026.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *