On December 1, Baidu announced ERNIE Unlimited-SVG, a model that takes a raster image and redraws it as structured SVG markup. Baidu published downloadable weights and example inference code, and lists a ModelScope mirror. The release gives designers and developers a way to try the model locally rather than sending every image to a hosted API.
The useful distinction is what happens after the conversion. A PNG of a diagram lets you look at the arrows and boxes. An SVG that correctly separates those parts can let you recolor one arrow, move a box or restyle the layout. The file extension alone earns none of those benefits. An SVG can also contain a large pile of paths that takes longer to untangle than the original image took to redraw.
The file has to survive the first edit
Baidu describes a model that reconstructs an image from its shapes, colors and spatial relationships instead of simply following pixel boundaries. As a workflow, that makes sense for a flattened asset whose original source is missing: an old flowchart, a line drawing or a graphic that needs a new color palette. Ordinary tracing can already be a good choice for a simple silhouette or a high-contrast mark. A reconstruction model has more room to help when the picture contains several distinct objects that someone needs to move independently.
The easiest way to judge the difference is to name the intended edit before running a conversion. In a diagram, that might mean changing the color of one line without touching a line it crosses. In a poster, it might mean replacing a label without redoing the layout. SVG can represent text and shapes, but an editor can only change a label as text if the conversion keeps it as a text element. Outlined lettering might look right and still need to be retyped. Baidu’s public release does not establish how consistently the model makes those distinctions across images or editors.

Where the small model does its work
Baidu builds on DeepSeek-OCR and says its vision encoder represents a 2,048-by-2,048 input canvas with 1,024 vision tokens. The examples preserve the source image’s aspect ratio, resize its long edge and pad the rest of the canvas rather than splitting the picture into tiles. That lets the model consider the layout together. It also means the samples turn transparent pixels white before conversion, which matters if a logo or icon is expected to keep a transparent background.
The decoder uses a mixture-of-experts architecture and activates roughly 500 million parameters for each token it generates. That is the active count, not the size of the complete checkpoint or a guarantee about memory use. Baidu documents an x86-64 Linux setup with a compatible NVIDIA driver and a BF16-capable GPU. Its instructions do not establish native phone or Mac support. Local deployment shifts the work to your hardware; it does not tell you how long a dense graphic will take on that hardware.
What a clean preview can hide
The public examples make the project easy to understand, but the release materials do not supply a comparison that tells a production team how often the model keeps small labels verbatim, preserves dimensions or beats ordinary tracing on cleanup time. A file that opens successfully has cleared a format check. It has not established that a floor plan’s dimensions, a chart’s legend or the direction of a process arrow survived intact.
The sensible first use is a low-stakes asset you can compare directly with the original. Open the result in the editor you already use. Zoom into the labels, inspect whether the shapes you care about can be selected separately, and make the change the job actually requires. If the graphic carries measurements or data, keep the source beside the redraw and check the values against it. For charts and diagrams used as evidence, the original still controls what you can claim.
There is also a difference between running locally and trusting every component automatically. Baidu’s documented examples load custom model code. A team evaluating private artwork should review the code, use an isolated test environment and start with files it is allowed to share or modify. The MIT license on the model does not grant rights to the input artwork.
Unlimited-SVG is worth a trial if your work regularly begins with an image that should have been an editable asset. Measure the time from importing the original to finishing one real edit, including cleanup. That is the result that decides whether it belongs in the workflow.
P.S. For a first trial, pick a graphic you already need to edit. Time the change, not just the conversion. Cover: AI-assisted editorial illustration.
Frequently Asked Questions
Q: What does Unlimited-SVG output?
A: It generates SVG markup from an input image. The result can be opened in an SVG-compatible editor, but the structure of each generated file determines how easy it is to edit.
Q: What does the 0.5B figure mean?
A: Baidu says the decoder activates about 500 million parameters per output token. That is not the complete model size or a GPU memory requirement.
Q: Does Baidu document a Mac or phone setup?
A: The public examples describe x86-64 Linux and an NVIDIA GPU that supports BF16. Those instructions do not establish native Mac or phone compatibility.
Q: Can I edit text in the output?
A: You can edit it as text only where the output preserves a text element. A label reconstructed as outlines may need to be retyped.
Q: Does the conversion preserve chart numbers and drawing dimensions?
A: The public release does not provide evidence that these remain reliable across arbitrary inputs. Check exact values and geometry against the source.
