Baidu releases AI model that turns images into editable vector graphics
Unlimited-SVG offers downloadable weights and local inference. Baidu claims real-time generation of complex graphics, but reconstruction accuracy still needs verification.
Loading page…
Unlimited-SVG offers downloadable weights and local inference. Baidu claims real-time generation of complex graphics, but reconstruction accuracy still needs verification.
Listen to this story
Baidu’s December 1, 2026 release targets a practical gap in image generation: turning visual references into SVGs whose individual elements can be edited. Unlimited-SVG compresses a 2,048-pixel image into 1,024 vision tokens and is designed to generate SVGs longer than 10,000 tokens, though Baidu’s real-time claim has not been independently verified. The weights are available for local use, but successful XML parsing does not establish that a reconstruction accurately preserves the source image.
The mixture-of-experts model activates about 500 million parameters per token; BigGo Finance reports approximately 3.3 billion parameters in total.
BigGo Finance reports MIT-licensed weights of about 6.7 GB and says the model can run on one GPU.
Baidu’s documented setup requires x86-64 Linux, a compatible NVIDIA driver and a GPU that supports BF16.
Baidu released Unlimited-SVG on December 1, 2026, a model that converts images into structured, editable vector graphics. Developers can download it and run it locally, rather than use a hosted service, with inference instructions published in the project’s GitHub repository.
The output is SVG code: a description of lines, shapes and colors that can be rendered as an image and revised element by element. The intended applications extend from logos and icons to computer-aided design drawings, architectural blueprints and floor plans. That makes editable structure—not simply a new picture—the release’s central offering.
Baidu identifies output length as a central obstacle. Describing a complex image as a complete SVG can take more than 10,000 tokens, the units a model processes and generates. Its release materials say large models can become slow and costly at that length. Unlimited-SVG’s response is to reduce work on both sides of the conversion: reading the image and producing the code.
Built on DeepSeek-OCR, the model uses an image encoder called DeepEncoder. Baidu says it compresses a 2,048-by-2,048-pixel image into 1,024 vision tokens while retaining small text, thin strokes and precise positions. This shortens the visual input the model must process before it starts generating the SVG.
For generation, Unlimited-SVG uses a mixture-of-experts architecture, which activates only part of the network for each token. Baidu puts that active portion at approximately 500 million parameters. The company claims this combination supports real-time generation beyond 10,000 output tokens. That is a release claim, not an independently verified speed result.
The release includes a Hugging Face model, availability through ModelScope and a Hugging Face Spaces demo. BigGo Finance reports that the open weights are distributed under the MIT license, allowing commercial use. It lists approximately 6.7 GB of model weights and says the model can run on a single GPU.
Baidu’s documented setup requires x86-64 Linux, a compatible NVIDIA driver and a GPU supporting BF16, a numerical format used for model computation. The repository supplies a direct Transformers workflow and a vLLM server workflow. The former runs a Python script against an image; the latter starts a local server and sends the image through a separate client script.
Both examples process the image as one 2,048-by-2,048 canvas rather than splitting it into tiles. They preserve the aspect ratio, pad the image with gray and place transparent content over white before processing. The Transformers example downloads the weights on its first run and reuses the local cache afterward.
The examples default to deterministic generation, without random sampling. But Baidu recommends adjusting temperature—the setting that controls sampling randomness—according to the image. Its guidance draws a practical distinction between preserving exact geometry and avoiding repetitive output when recreating photographs.
The scripts also show what the supplied output check covers. They save the raw response, extract the SVG section and parse it as XML before writing the vector file. A missing complete SVG raises an error. This checks that the extracted document can be parsed; it does not compare the finished drawing with the source image.
For developers considering complex drawings, that distinction remains important: BigGo Finance notes that reconstruction accuracy and practical usefulness still await user verification. The release supplies editable output and a way to run the conversion locally, not an established guarantee that a blueprint’s details survive intact.
Loading discussion...
Join the conversation
Explain when editing a draft beats starting from scratch.
Be the first to share a perspective or an experience.
Reader comments
Newest comments first. Replies stay oldest first.