Unlimited-SVG is Baidu's free, MIT-licensed model that redraws an image as editable SVG code with live text, running about 0.5B of its 3B parameters per token. It is the open model I'd test first if you redraw logos, icons and diagrams by hand, though photos come back as illustrations rather than faithful traces.

What is Unlimited-SVG, and what does it actually produce?

Anyone who has inherited a logo that only exists as a flat PNG knows that every new banner, sticker or shopfront sign starts with a manual redraw, and that is the exact task Unlimited-SVG targets. It is an open multimodal model that takes a single image and writes it out as a structured SVG file containing shapes, groups and real text you can open and alter in Inkscape, Figma or a code editor. SVG (Scalable Vector Graphics) is a text-based image format that describes a picture as shapes, paths, colours and text with exact coordinates, which keeps the artwork sharp at any size and lets you edit it line by line. Vectorisation is the process of turning a raster image, which is simply a fixed grid of pixels, into those shapes.

On the Hugging Face model card, Baidu describes it as a model that "redraws any image as a structured, editable SVG using just 0.5B activated parameters", with both code and weights released under the MIT licence. In my view, the licence matters even more than the compact parameter count, because MIT permissions let you use the output in client work, build the model into a paid product and modify the weights, provided you keep the copyright notice intact.

A standard tracer turns everything into outlines of coloured blobs, so the word "Bakery" on a sign becomes a cluster of curves you cannot retype or adjust. Unlimited-SVG aims to produce an actual text element reading "Bakery", sitting inside a named group above a background shape. In an independent local test by the Daily Dose of AI News channel, a business slide came back in 17 seconds as real SVG text inside named groups, with every title, bar value and bullet remaining editable.

Why does raster-to-vector matter so much to small businesses and creators?

Raster-to-vector conversion decides whether a small brand can reuse its own artwork without paying someone to redraw it from scratch. Printers, sign makers, embroidery shops and laser cutters all ask for vector files because they have to scale a graphic up to a van door or shrink it onto a shirt pocket, and a fixed pixel grid falls apart as soon as you stretch it.

Take a café owner asking for a quote on a window decal. The designer who made the logo moved on, the only copy left is a 600-pixel PNG pulled from the website, and the sign shop asks for an SVG or EPS before cutting anything. Without a vector file on hand, the usual options are paying for a manual redraw, running the PNG through a tracer and fixing the wobbly edges by hand, or paying a subscription service per month. Creators run into the same friction when they want an existing diagram re-coloured for a course, and founders hit it whenever a chart sits inside a screenshot and needs to land on a slide in their brand colours.

Running an open model locally to write clean SVG removes the per-file cost from that workflow. Whether it also removes the hand-fixing depends on the image: in the public testing so far, flat graphics come back clean far more often than photos and posters.

How does Unlimited-SVG work under the hood?

Unlimited-SVG reads an input image into a small number of vision tokens and then writes the SVG one token at a time using a mixture-of-experts decoder that only switches on a fraction of its weights per step.

According to Baidu's project page, a full SVG for a complex image "often exceeds 10,000 tokens", which is where large models slow down and grow expensive to run. The model is built on DeepSeek-OCR (Wei et al., 2025), whose encoder compresses a whole 2048 × 2048 image into 1,024 vision tokens while keeping small text, thin strokes and exact positions. Keeping that visual prefix short leaves more of the context window free for writing the drawing itself.

On the writing side, the Hugging Face model page lists the model size as 3B parameters (the Hub's count from the weights file is 3,336.1 million, and the single BF16 weights file is 6.7 GB), while its mixture-of-experts design activates roughly 0.5B of them for each token. That efficiency is the basis for Baidu's claim of "real-time generation well past 10,000 tokens" in a model compact enough to run on one GPU. Because Baidu does not state the hardware behind that speed claim, I treat "real-time" as the maker's own description.

Baidu describes the generation process as separating foreground from background, reasoning about what sits behind overlapping shapes and rebuilding the scene layer by layer. Results from the independent test bear that out for slides, diagrams and flat illustrations, which came back as editable groups rather than one flat tangle of paths.

In practice, the independent tester points to sampling temperature as the setting that makes the biggest difference. The model card recommends 0 to 0.3 for CAD drawings, diagrams and charts where exact geometry and text matter, and 0.5 to 0.8 for photos and natural scenes so the model does not fall into repeating itself. During the YouTube test, an isometric desk scene got stuck drawing the same leaf at temperature 0.2 until it hit the 30,000-token cap, and then finished cleanly at 0.5.

How good is it, and where does it fail?

Unlimited-SVG performs best on flat graphics such as slides, process diagrams, icons and flat illustrations, and struggles most on dense photos, detailed architecture and anything that requires more than its output budget. No published quality benchmark accompanies the release, and the project page says the technical report is "coming soon", which leaves hands-on testing as the best evidence available.

The Daily Dose of AI News test is the most detailed public test available, though it is a single source reflecting one tester's results on one consumer GPU, and its inputs were images generated with Ant Group's Ming-Image model rather than real client files. In those runs, a process diagram came back nearly identical, preserving boxes, arrows, line icons and every label as live text. A studio sneaker shot kept its silhouette, orange sole and floating shadow, while a portrait was redrawn as an illustration with the skin going flat, turning a photo into a stylised vector picture rather than a faithful trace.

The failures are just as specific. A coffee poster lost its beans, its slogan and its brand name, with the headline coming out as garbled letter shapes, and a Taj Mahal image came back missing its dome. Most relevant for logo work, a fitness ad's wordmark turned into a row of dashes even though the headline in the same image came back as live text. A dense character sheet ran past the output cap and stopped mid-drawing, forcing a workaround where the tester cut the image into five tiles, converted each one and merged the results.

That 30,000-token limit is built into the reference script on the model card (max_new_tokens=30000), alongside a 32K context reported by the tester. In practical terms, a simple logo fits comfortably while a full web page mock-up does not, and generation speed tracks that difference, with slides taking seconds on the tester's card while detailed pictures took several minutes each.

[Dev: one line on a logo, diagram or chart you have had to redraw by hand, or delete]

Who is behind Unlimited-SVG, and how much traction does it have?

Unlimited-SVG comes from Baidu's ERNIE Multimodal Team, the authors named in the citation on the model card, and developer attention has built quickly around it. Baidu positions the release as bringing image-to-SVG conversion, which it says has mostly been within reach of large frontier models, down to a model small enough to deploy locally.

On Hugging Face's trending models list, it ranked No. 2 with roughly 1,390 likes and about 5,600 downloads. Its GitHub repository logged more than 2,160 stars and 161 forks, with two contributors listed and 21 open issues and pull requests. Thirteen demo Spaces on Hugging Face use the model, including Baidu's own demo, a ZeroGPU version built with Hugging Face and a community-built MCP server that lets an AI agent call it as a tool.

Builders have also started adapting it: the model tree on Hugging Face lists 11 fine-tunes and 25 quantised versions. Unlimited-SVG holds more than twice the Hugging Face likes of StarVector 8B (about 580), an earlier open image-to-SVG model, even though StarVector's 1B and 8B checkpoints carry far larger download totals at about 247,000 and 206,000. I treat those two metrics differently, because likes record interest while downloads record actual use, and on downloads Unlimited-SVG sits at a small fraction of its older rival.

Two horizontal bar charts. Left: GitHub stars for open image-to-SVG projects, VTracer 7,678, StarVector 4,659, Unlimited-SVG 2,163 highlighted in orange. Right: Hugging Face likes, StarVector 1B 203, StarVector 8B 582, Unlimited-SVG 1,388 highlighted in orange.

GitHub stars and Hugging Face likes for open image-to-SVG projects, snapshot read in December 2026. Sources: GitHub repository pages for StarVector and VTracer; Hugging Face model pages.

The chart compares repositories of very different ages: Unlimited-SVG's was created eight days before the snapshot, StarVector's in 2023 and VTracer's in 2020. Because GitHub stars accumulate as a project matures, reaching more than a quarter of VTracer's count in eight days shows unusual interest from developers, while the wide gap in downloads shows how few people have actually run the model on their own machines.

How do I install Unlimited-SVG and run my first conversion?

Getting Unlimited-SVG running locally means setting up a fresh Python 3.12 environment with uv, saving Baidu's inference script, and pointing it at a single image to produce an output.svg. The model card targets x86-64 Linux with an NVIDIA GPU that supports BF16, and since the weights come in a single file of about 6.7 GB, plan for a card with headroom beyond that size.

  1. Create the environment: uv venv .venv-svg-hf --python 3.12

  2. Install the pinned packages listed on the model card, including torch==2.6.0, transformers==4.46.3 and tokenizers==0.20.3. Use the exact pins; the model loads with custom code that expects those versions.

  3. Copy the infer_hf.py script from the model card into the folder. It pads your image onto a 2048 × 2048 grey canvas, flattens transparency onto white so transparent logos do not turn black, and writes the SVG.

  4. Run CUDA_VISIBLE_DEVICES=0 .venv-svg-hf/bin/python infer_hf.py logo.png. The first run downloads the weights to your Hugging Face cache; later runs reuse them.

  5. Open output.svg in a browser and in Inkscape or Figma. If the script reports an incomplete SVG, check output.txt; that usually means the image hit the token cap and needs tiling.

Out of the box, the reference script runs greedily at temperature 0, which is what you want for clean logos and diagrams. When you feed it a photo, follow the model card's guidance by switching sampling on and setting the temperature between 0.5 and 0.8. If you plan to process images in batches rather than one at a time, Baidu also documents a vLLM server route that carries its own pinned package versions.

If you are on a Mac or do not have an NVIDIA GPU handy, open the official Hugging Face Space or the ZeroGPU demo in your browser, upload your image, and download the resulting SVG. Even if you do own the right card, I would start in the browser anyway, because a few minutes of uploads will tell you whether this model handles your kind of files before you spend time on local driver setup.

Should I use Unlimited-SVG or an existing vectoriser?

I would reach for Unlimited-SVG when you need editable structure and live text out of flat graphics and can run either a local GPU or a browser Space. For one-colour marks, scans and handwritten notes, a classic tracer remains the simpler choice, and a paid service makes sense when you want quick conversions with zero setup. These tools differ far more in how they rebuild an image than in what they cost.

Tool

Price and licence

Method

Best for

Limits

Unlimited-SVG

Free; MIT (code and weights)

AI model writes SVG code; 3B parameters (3.34B in the weights file), about 0.5B active per token

Logos, icons, diagrams, slides, flat illustrations with editable text

Linux and NVIDIA BF16 GPU for local use; 30,000-token output cap in the reference script; photos become illustrations; no published benchmark

Potrace and Inkscape Trace Bitmap

Free; GNU GPL

Algorithmic tracing of bitmaps into smooth curves; Inkscape stacks several scans for colour

One-colour logos, scanned artwork and handwritten notes

Colour and greyscale need preprocessing or multiple scans; text becomes outlines, not editable text

Free; MIT

Algorithmic raster-to-vector converter written in Rust

Developers who want a converter inside their own code

Traces shapes rather than rebuilding text or layers

Paid; web app $9.99 a month for unlimited use, API from $9.99 a month for 50 credits; free preview

Hosted AI vectoriser

Fast one-off conversions with no setup

Closed service; your files are uploaded; downloads need a plan

Free plan; Basic from $10 a month billed annually with 1,000 credits

Hosted AI vectoriser plus vector generation

Designers who also generate new vector art

Free-plan images are public; commercial rights come with paid plans

Free; Apache 2.0; 1B and 8B models

AI model writes SVG code

Icons and technical diagrams

8B model has 7.5B parameters, more than twice Unlimited-SVG's total; repository last updated in 2025

Where the sources agree is on the split between flat graphics and photographs. Baidu's own temperature recommendations treat photos as a separate case, the independent test saw photographs redrawn as illustrations, and classic tracers need preprocessing before they can handle colour and greyscale cleanly. Where they conflict is on how close the model gets to frontier quality: Baidu's page claims frontier-level ability in a small model, while the only public evidence so far comes from hands-on testing that shows clear wins on slides and diagrams right alongside clear failures on posters and wordmarks.

What does this mean for builders, creators and small businesses?

In practical terms, turning artwork into editable vectors can sit inside your own workflow as a free, local, scriptable step instead of a per-file expense. Anyone who regularly receives other people's artwork at volume stands to gain the most from that change.

Take a print shop, sign maker or merch seller receiving customer logos as low-resolution PNGs. Running those files through the model first means a designer only steps in on the ones that fail, turning routine redraw work into a quicker review step. An agency assembling pitch decks can pull old charts and diagrams out of screenshots and convert them into brand-coloured, editable SVGs. A developer working on a design product can wrap the MIT-licensed model behind an API or connect the community MCP server, giving an agent a way to turn a pasted screenshot into an editable graphic inside a workflow.

Ant Group's Ming-Image design model generates ad drafts you can take apart in layers, and Unlimited-SVG works in the opposite direction by pulling finished pixels back into editable components. For OCR-style document work, the smaller OCRia-nano stays the lighter choice, since Unlimited-SVG requires a GPU.

I would not feed a customer's photograph into Unlimited-SVG and promise a faithful vector back, and I would check every wordmark letter by letter given the test where a logo's text turned into dashes. On flat logos, icons and diagrams, however, the argument for testing it is straightforward. The licence is permissive, running it costs nothing beyond your own GPU time or a free Space, and the output comes back as SVG code you can inspect directly.

What should I test before I rely on it?

Before you install anything locally, put ten of your own files through the free Space and judge the output yourself. I would only spend time on a local setup if at least your flat graphics come back usable.

  1. Pick ten real files: three logos, three icons or diagrams, two charts or slides, and two photos. Use your own work, not demo images.

  2. Run each through the Hugging Face Space, keeping temperature low (0 to 0.3) for the flat files and 0.5 to 0.8 for the photos.

  3. Score each SVG on three checks: does it open without errors, is the text live and spelled correctly, and does it print cleanly at 300% size. Count a file as a pass only if all three hold.

  4. If seven or more of the eight flat files pass, install locally with the pinned uv setup and batch your backlog; if fewer pass, keep Potrace or a paid vectoriser for logos and use this model only for diagrams.

  5. For anything that stops mid-drawing, cut the image into tiles (title strip, main figure, details), convert each, and merge the SVGs in Inkscape.

  6. Before you sell output as a service, keep the MIT copyright notice with any redistributed model files, and check that you have rights to the customer artwork you convert.

A logo that exists only as a PNG has to be rebuilt for every new sign or shirt, and a free model that writes the SVG turns that rebuild into a first draft you check rather than a job you pay for.

Key facts

FAQ

Is Unlimited-SVG free for commercial use?

Yes. Baidu released both the code and the weights under the MIT licence, which permits commercial use, modification and redistribution provided you retain the copyright notice. That covers the model itself, so you still need to check separately that you hold the rights to any artwork you run through it.

Can Unlimited-SVG run on a Mac?

Not using Baidu's documented local setup, which targets x86-64 Linux paired with an NVIDIA GPU that supports BF16. On a Mac, the practical route is to open either the official Hugging Face Space or the ZeroGPU demo in your browser and download the finished SVG.

How long does a conversion take?

In one independent test running on a single consumer GPU, a business slide finished converting in 17 seconds, whereas detailed pictures took several minutes apiece. Very dense images can run into the 30,000-token output cap, at which point you will need to split the image into tiles.

What temperature should I use for a logo?

Keep the temperature low, between 0 and 0.3, following the model card's recommendation for diagrams, charts and any graphic that depends on exact geometry and clean text. Only push it up to 0.5 to 0.8 for photos and natural scenes, where lower settings can cause the model to loop.

Sources

I spent a good decade or so in marketing, product owner and growth roles at IBM, LinkedIn, SAP and Adobe, and now lead AI go-to-market for startups, mid-market and SMBs across Asia Pacific and Japan at a frontier technology company. This is where I curate detailed how-tos and DIY tutorials. Follow me on LinkedIn and X.