Convert an image to SVG with Baidu’s open-source model. Compare the original with its editable vector paths here, or try your own PNG, JPG or WebP in the public demo.
Example preview
1 / 4
Before · OriginalAfter · SVG
Zodiaque
Alphonse Mucha · 1896–97
What is Unlimited SVG?
Unlimited SVG is an open-source model from Baidu’s ERNIE Multimodal Team, released on December 1, 2026. Given a raster image, it writes Scalable Vector Graphics (SVG) markup. Open the file in a browser to view it, or try the SVG layer inspector to see which parts can be selected separately.
Baidu built Unlimited SVG on DeepSeek-OCR. An image encoder reads the whole picture, then a decoder writes the SVG one token at a time. A simple transit map took 420 output tokens in our run. The Great Wave took 18,038. The input canvas was the same size in both cases.
Watch Unlimited SVG draw
Baidu’s demo shows the input, the drawing and its SVG code side by side. Skip to 0:40 for a technical diagram.
Pixel canvas in Baidu’s inference example. The image keeps its proportions, with gray padding along the shorter side.
1,024
Visual tokens represent the whole input. Output length varies with the paths, fills and text that Unlimited SVG draws.
~0.5B
Parameters active per output token in the model’s mixture-of-experts decoder.
How to convert an image to SVG with Unlimited SVG
Use the samples to inspect a finished vector. To run a new image, start in the input form and continue to Baidu’s public demo.
Choose an image
Choose a thumbnail in the image input and select View sample result. For your own file, choose a PNG, JPEG or WebP up to 10 MB.
Open or run the conversion
Samples open in the comparison viewer. For a new conversion, select Convert on Hugging Face and submit your file there.
Inspect and export the SVG
Drag the divider across a contour. Choose Source to read the markup or Download SVG to save the vector. For a new run, download the result from the demo.
Why use Unlimited SVG?
A raster file stores the color of each pixel. Unlimited SVG infers which pixels belong to the same shape. Isolate a group below to see what that means when you edit a drawing.
Inside the citrus drawing
Isolate a group from the original Unlimited SVG file.
Full drawing
Selected group
<g id="leaves">
Scale shapes and edit individual parts
SVG paths describe curves in coordinates. In this Unlimited SVG output, the leaves, front orange and shadow each have a named group. Select Shadow to see its exact outline. In a vector editor you can change its fill without repainting the fruit.
Inspect text and drawing instructions
In the transit diagram sample, EAST is a text element. In the cabaret poster, small letters are drawn shapes. Checking the Unlimited SVG source tells you whether a label can be retyped or needs redrawing.
Run the open model on your own hardware
Baidu publishes the Unlimited SVG weights and inference examples under the MIT license. Teams with a compatible GPU can run images locally and control the inference settings. The public demo is the shorter route for testing a single image.
When should you use Unlimited SVG?
Pick a use case by the detail your finished asset needs to preserve. These close-ups show the same part of the input and the saved Unlimited SVG result.
InputSVG
Icons for interfaces
The cream face of the input needle becomes orange. Unlimited SVG preserves the sharp tip. Check both colors at the icon’s final size before adding it to a button.
InputSVG
Diagrams for documentation
EAST remains editable text in this Unlimited SVG map. For a technical diagram, verify that each label still matches its marker and that connecting lines meet at the right point.
InputSVG
Photos for stylized illustrations
Earth’s bright rim survives while its clouds become broad shapes. This works for a stylized illustration. Keep the photograph when the texture carries the information you need.
Image to SVG examples from Unlimited SVG
Each pair shows the exact input sent to Baidu’s Unlimited SVG demo and the returned vector. Open one to inspect a detail or download the original result.
Contours and ornament
Zodiaque · Alphonse Mucha · 1896–97
Unlimited SVG keeps the face in profile. Zoom into the headdress to see fine decorations merge into larger shapes.
Repeated shapes in a print
The Great Wave · Katsushika Hokusai · 1830–33
The wave crest is recognizable. Unlimited SVG redraws the foam as repeated marks and leaves out the tiny Mount Fuji in the distance.
Lettering in a poster
Divan Japonais · Henri de Toulouse-Lautrec · 1893
The silhouette survives. The small credit along the bottom becomes drawn shapes, so changing the wording would take more than replacing a text string.
Tonal detail in a photograph
Earthrise · NASA / Bill Anders · 1968
The bright horizon remains distinct from the dark sky. The vector simplifies the crater texture across the foreground into broad regions.
Test individual SVG features
These three studio drawings went through the same Unlimited SVG demo. Choose one to inspect shapes, color boundaries or editable labels.
Unlimited SVG pricing
Choose a monthly allowance for regular work or buy a pack for a single project. Both cover the same number of images. One credit covers one successful Unlimited SVG conversion. Downloading that SVG again is free.
Starter
30 conversions
$8.99 / month
Monthly subscription · $0.30 per image at full use.
One-time pack$14.99
Save $6.00 (40%) with monthly billing.
Studio
125 conversions
$22.90 / month
Monthly subscription · $0.18 per image at full use.
One-time pack$36.90
Save $14.00 (38%) with monthly billing.
Volume
300 conversions
$49.90 / month
Monthly subscription · $0.17 per image at full use.
One-time pack$79.90
Save $30.00 (38%) with monthly billing.
Planned prices · sales closed. Monthly credits expire at the end of each billing period. Plans renew automatically until canceled. One-time packs do not renew.
Practical details about the public demo, model weights and files you can download.
Can I convert my own image here?
Select an image for a local preview. Signing in lets you save it to your library. To run the model, choose Convert on Hugging Face and submit the file in the public demo. Go to the image input
Is Unlimited SVG free to try?
You can compare and download all the samples on this site for free, without an account. Unlimited SVG is open source. Running the weights yourself requires suitable hardware. The monthly plans and credit packs shown above are planned prices for hosted conversions.
Can Unlimited SVG convert a transparent PNG logo to SVG?
Baidu’s inference example places transparent pixels on white before the model sees them. After a PNG to SVG conversion, open the result on a dark background. If a white rectangle appears, check whether you can select and remove that shape without disturbing the logo.
How much detail survives a JPG to SVG conversion?
It depends on which details carry the picture. In our Earthrise example, Unlimited SVG preserves the curve of the horizon, while fine lunar texture becomes broad patches. Drag the comparison across the foreground to judge the difference. For a poster that may work well. For a photographic print, keep the original JPG.
Can I edit the lettering in a converted SVG?
Open Source and search for a word you can see in the picture. The EAST label in our transit map appears inside a text element, so you can retype it in a vector editor. Much of the small lettering in our cabaret poster is drawn as paths. You can reshape or replace those letters individually.
Will converting a raster image to vector make the file smaller?
Compare the actual downloads. A flat icon needs relatively few drawing commands. An intricate illustration can need hundreds of paths, and its SVG can be larger than a compressed JPG. The comparison viewer lets you download both files and check their sizes before choosing an asset for your website.
How can I run Unlimited SVG locally?
Baidu documents inference with Transformers and vLLM on x86-64 Linux with a compatible NVIDIA GPU and BF16 support. The examples cover input preparation and decoding settings for different image types. Test one representative image first. Official model card on Hugging Face ↗
Are the examples real Unlimited SVG outputs?
Yes. We paired the exact raster inputs with the SVG files returned by the public model demo. Download input image in the viewer to get the submitted crop. The original artwork and photograph have separate source records and credits. Gallery image credits