What Is Unlimited SVG? Baidu's Open Model That Turns Images Into SVG: Where to Use It, Is It Free, Setup and Commercial Use
You give Unlimited SVG an image (a blurry logo PNG, a diagram, an illustration); the model converts it into an SVG file in which shapes, text and colors are written out one by one as code. That lets you scale the logo without losing quality and change its color or text in a vector editor. It is Baidu's open-weight model; it downloads for free under the MIT license and can be used commercially. To try it without installing, there is a demo on Hugging Face; the official route for running it on your own computer is Linux with an NVIDIA graphics card.
- What it does
- Turns an image into editable SVG code
- Where
- Hugging Face demo, your own Linux computer
- Commercial use
- Allowed (MIT)
- Hardware
- x86-64 Linux, a BF16-capable NVIDIA card; no memory figure in the official sources
- Model
- 3.3 billion parameters; ~0.5 billion active per step
- First release
- Announced December 1, 2026 (uploaded to Hugging Face on November 25, 2026)
- Model cost
- Free (MIT)
What is Unlimited SVG and what does it do?
A client often has only a small, blurry logo PNG; when you enlarge it for a sign, packaging or a website, the edges fall apart. To fix this you convert the logo to vector, that is, to SVG: SVG is a file format that stores an image not as pixels but as code such as "a circle of this color at these coordinates, this text over here"; it stays sharp however large you make it. Unlimited SVG is an AI model that does this conversion: it reads the image and writes the SVG code from scratch.
logo.pngInput imageAn image such as a PNG or JPG; the script centers it on a gray 2048 × 2048 canvas.output.svgEditable vectorThe script extracts a valid <svg> block and saves it; the raw output is kept in a separate file.Who it's for: agencies and graphic designers refreshing client logos, e-commerce and manufacturing companies that want product icons or technical drawings in vector, and technical teams that want diagrams to be editable. Running it on your own computer takes terminal and Linux skills; if you don't have them, start with the Hugging Face demo.
The maker's description: the model preserves small text, thin lines and coordinates, separates foreground from background, rebuilds overlapping shapes layer by layer and generates SVGs longer than 10,000 tokens "in real time". These claims rest on the maker's own measurements; the technical report hasn't been published yet ("coming soon").
Where can you use Unlimited SVG? The demo, ModelScope and your own computer
Unlimited SVG is not an app but a model: the files in which the AI has learned to convert images to SVG. The places where you can use it are below; only the routes mentioned in the official README are listed.
| Where | What | Watch out |
|---|---|---|
| Hugging Face demo | The Space linked from the README and prepared on the Hugging Face side (akhaliq/Unlimited-SVG-ZeroGPU); you upload an image and get SVG | Runs on shared GPUs; Hugging Face's quota rules apply. Your image goes to Hugging Face's servers. |
| ModelScope | The official copy of the model files on ModelScope (December 1, 2026) | The official copy mentioned in the README; you can download from here instead of Hugging Face. |
| Your own computer (Transformers) | Converting a single image with the infer_hf.py script from the repository | x86-64 Linux, an NVIDIA driver and a free BF16-capable GPU. |
| Your own server (vLLM) | An OpenAI-compatible local server, for sending many images from a program | Longer setup; a change in a vLLM configuration file is required. |
Community-made GGUF and MLX (Apple) versions also appear on Hugging Face; they aren't official and aren't mentioned in Baidu's documentation. There is no official route for Windows or macOS.
How do you install Unlimited SVG? Linux, NVIDIA and two routes
According to the README, you need x86-64 Linux, a compatible NVIDIA driver, a free BF16-capable graphics card, the Python package tool uv and Python 3.12. The commands run from the repository root (git clone https://github.com/baidu/Unlimited-SVG.git). On the first run the model (about 6.7 GB) downloads from Hugging Face and is kept in the cache.
› uv venv .venv-svg-hf --python 3.12
uv pip install --python .venv-svg-hf/bin/python \
torch==2.6.0 torchvision==0.21.0 transformers==4.46.3 tokenizers==0.20.3 \
safetensors==0.8.0 pillow==13.0.0 einops==0.8.2 addict==2.4.0 \
easydict==1.14 accelerate==1.16.0 requests==2.34.2 \
huggingface_hub==0.36.0› CUDA_VISIBLE_DEVICES=0 .venv-svg-hf/bin/python infer_hf.py /path/to/image.pngThe result is written to output.svg in the folder you run it from; the model's raw output is kept in output.txt.
- Set up a separate environment:
uv venv .venv-svg-vllm --python 3.12+vllm==0.33.0 torch==2.14.0 nvidia-cudnn-cu13==9.24.0.43 openai==3.60.0 pillow==13.0.0 - Configure the processor: The short Python script in the README changes vLLM's image processor to 2048 × 2048 without tiling.
- Start the server:
vllm serve baidu/Unlimited-SVG … --host 127.0.0.1 --port 10000(the full command is in the README). - Send the image:
.venv-svg-vllm/bin/python infer_vllm.py /path/to/image.png→output-vllm.svg
!There is no official figure for graphics card memory (VRAM); the README only says "a free BF16-capable GPU". The model loads with trust_remote_code=True, which means Python code from the model repository runs on your computer; only use the official baidu/Unlimited-SVG repository.
How do you use Unlimited SVG? What you give it and what you get
You don't write a text prompt for Unlimited SVG: the official scripts send the model the fixed <image> SVG: prompt together with the image. Your choices are which image you give it and the temperature setting.
› CUDA_VISIBLE_DEVICES=0 .venv-svg-hf/bin/python infer_hf.py musteri-logo.pngWhat you get: output.svg. The script first composites transparent pixels onto white (so they don't turn black), scales the image's long edge to 2,048 pixels and centers it on a gray canvas. The default setting is deterministic: the same image gives the same result. You can open the SVG in a vector editor and fix the text and colors.
› .venv-svg-vllm/bin/python infer_vllm.py akis-semasi.pngWhat you get: output-vllm.svg. The README recommends keeping the temperature low (0–0.3) for images where details must stay exact, such as CAD drawings, diagrams and charts; the official infer_vllm.py already runs at 0. If you are converting a photo or a natural scene, set the temperature to 0.5–0.8 in the request.
The file names are examples. Output quality varies by image; the official page gives no error rate or benchmark. For important work, compare the result side by side with the original.
Which model? The official model, its copies and the temperature setting
| Model | What | Official? |
|---|---|---|
| baidu/Unlimited-SVG (Hugging Face) | 3.3 billion parameters, mixture of experts (MoE): about 0.5 billion run at each step; BF16, a single ~6.7 GB file. Based on DeepSeek-OCR. | Yes |
| baidu/Unlimited-SVG (ModelScope) | A ModelScope copy of the same model | Yes |
| GGUF, MLX, FP8 versions | Copies shrunk or adapted for Mac by the community | No; not in the docs |
- To try it: the Hugging Face demo (no setup).
- If you have Linux and an NVIDIA card: the official model + the Transformers script.
- If you will convert many images from a program: the official model + the vLLM server.
- Community versions aren't official; there is no guarantee they give the same results as the official model.
- CAD, diagrams, charts: 0–0.3 (geometry and text stay exact)
- Photos, natural scenes: 0.5–0.8 (avoids repetitive loops, more varied strokes)
- Default: 0 (deterministic)
Model list as of December 2, 2026. This is the only size Baidu has released; no other size or version has been announced.
Does Unlimited SVG transfer Turkish text?
| Prompt languageYes | Not needed: the prompt is fixed (<image> SVG:) and you type nothing besides the image. |
|---|---|
| Turkish text in the imageUnclear | The official sources don't say which languages' text it transfers. With logos that use Turkish-specific letters, always check the text in the output and fix it in a vector editor if needed. |
| InterfaceNo | As a model, it has no interface of its own; the Hugging Face demo is in English. |
Is Unlimited SVG free? License and commercial use
- The weights and scripts are free (MIT)
- The graphics card, electricity or rented GPU are on you
- Using the model for commercial work (client logos, product icons)
- Modifying, distributing and building the model into your own product
- Using the generated SVGs: the license places no separate restriction on output
- Removing the MIT copyright and permission notice when distributing
- Assuming a warranty: the model is provided "as is"
This is not legal advice. The LICENSE files on GitHub and Hugging Face are the same MIT text (Copyright (c) 2026 Baidu); the model card of DeepSeek-OCR, on which it is based, is also MIT. Converting someone else's logo to SVG doesn't change that logo's trademark and copyright.
Common stumbling points
| Situation | What you can do |
|---|---|
| "Incomplete SVG. See output.txt." error | The script couldn't find a complete <svg>…</svg> block in the output. The raw text is in output.txt; with a very complex image, simplify or crop it and try again. |
| Strokes repeat in a photo | The README recommends raising the temperature to 0.5–0.8 for photos. |
| A transparent PNG comes out on black | The official scripts composite transparent pixels onto white first; if you write your own script, do the same. |
| A Mac or a computer without a graphics card | The README only covers x86-64 Linux with NVIDIA. There is an unmerged pull request on GitHub for Apple Silicon (MPS) and CPU support; it isn't official. In this case, use the demo. |
Recraft, Logo Design Skill and similar tools in the atlas
Unlimited SVG converts an existing image to vector and runs for free on your own computer. If you want to create a new logo or icon by typing, or convert with one click in an app, look at the tools below.
Frequently asked questions
What is Unlimited SVG?
Baidu's open-weight AI model that converts an image into editable SVG code. It is used to move logos, icons, diagrams and illustrations to vector; it is MIT-licensed.
How do you use Unlimited SVG?
To try it without installing, upload an image to the Hugging Face demo. On your own computer, run the Transformers script from the README on x86-64 Linux with an NVIDIA card; the result is saved as output.svg.
Is Unlimited SVG free?
Yes. The model and scripts are free under the MIT license; the cost is your graphics card, electricity or a rented GPU. The Hugging Face demo follows Hugging Face's quota rules.
Can Unlimited SVG be used commercially?
The MIT license allows commercial use, modification and distribution and places no separate restriction on the generated SVG. Converting someone else's logo doesn't change that logo's rights. This is not legal advice.
Which graphics card does Unlimited SVG run on?
The README asks for x86-64 Linux, a compatible NVIDIA driver and a free BF16-capable GPU; it doesn't state how much memory is needed. The model file is about 6.7 GB.
Does Unlimited SVG transfer Turkish text correctly?
The official sources don't state language support. With logos that contain Turkish letters, check the text in the output and fix it in a vector editor if needed.
Related guides
Sources
- baidu/Unlimited-SVG (GitHub, README)
- License (MIT, Baidu)
- Hugging Face model card: baidu/Unlimited-SVG
- Hugging Face license file
- Unlimited SVG blog (Baidu ERNIE)
- Hugging Face demo (Space)
- ModelScope: baidu/Unlimited-SVG
Not clear in the official sources: Required graphics card memory · speed measurements (no technical report yet) · transfer of Turkish text in images · the Hugging Face demo's quota · Windows and macOS support. Each is covered in the relevant section along with what you can do.




