# Unlimited-SVG

> Baidu's MIT-licensed image-to-SVG model, released December 1, 2026: built on DeepSeek-OCR, it redraws a picture as structured, editable SVG code with about 0.5B active parameters per token.

- Maker: Baidu
- Line: Unlimited-SVG (image-to-SVG, open-weight)
- Canonical page: https://ai-tldr.dev/models/unlimited-svg/
- Updated: 2026-12-01

## In short

Unlimited-SVG is an image-to-SVG model released on December 1, 2026 by Baidu's ERNIE Multimodal Team. You can use it through Hugging Face (open weights) and ModelScope (open weights).

## Facts

| Fact | Value | Source |
| --- | --- | --- |
| Licence | MIT · open weights | [1] |
| Released | 1 December 2026 | [2] |
| Parameters | About 3B total (Hugging Face weight metadata) · about 0.5B active per token | [1] |

## Sources

1. [Unlimited-SVG model card (Hugging Face)](https://huggingface.co/baidu/Unlimited-SVG)
2. [Unlimited-SVG project page](https://unlimited-svg.github.io/)

## Overview

Unlimited-SVG is an image-to-SVG model released on December 1, 2026 by Baidu's ERNIE Multimodal Team. It takes a picture — a CAD drawing, a diagram, a chart, an illustration or a photo — and writes SVG code that renders back into that picture, with coordinates, colours, text and layers kept as editable elements instead of a single traced bitmap. Baidu describes it as separating foreground from background and rebuilding overlapping shapes layer by layer.

The model is built on DeepSeek-OCR. Its DeepEncoder reads the whole image at 2048 × 2048 without tiling and compresses it into 1,024 vision tokens, and a mixture-of-experts decoder activates only about 0.5B parameters per token. That small active size is what lets it keep generating well past 10,000 tokens, the length a complex image's SVG often needs; the published examples allow up to 30,000 new tokens.

Weights are on Hugging Face and ModelScope under the MIT license, with inference recipes for Hugging Face Transformers and for vLLM on a BF16-capable NVIDIA GPU. The model card recommends greedy or low-temperature sampling (0–0.3) for CAD, diagrams and charts and 0.5–0.8 for natural scenes. Baidu published no benchmark scores at release.

## Strengths

- Redraws images as structured SVG with real shapes, colours, text and layers that stay editable
- Whole-image input at 2048 × 2048 compressed to 1,024 vision tokens — no tiling
- About 0.5B active parameters per token, so generation stays fast past 10,000 output tokens
- MIT-licensed weights on Hugging Face and ModelScope
- Runs on a single BF16-capable GPU with Transformers or a vLLM server

## Best for

- Turning CAD drawings, diagrams and charts into editable vector files
- Vectorising illustrations and screenshots for design tools and web front ends
- Batch conversion of raster images to SVG on local hardware
- Building document and diagram tooling that needs vector output

## How to access

- [Hugging Face (open weights)](https://huggingface.co/baidu/Unlimited-SVG) — model id `baidu/Unlimited-SVG`
- [ModelScope (open weights)](https://modelscope.cn/models/baidu/Unlimited-SVG) — model id `baidu/Unlimited-SVG`

## Unlimited-SVG (image-to-SVG, open-weight) versions

- Unlimited-SVG (1 December 2026): First release: image-to-SVG model on DeepSeek-OCR with about 0.5B active parameters, MIT license. — this page

## FAQ

### What does Unlimited-SVG do?

Unlimited-SVG takes an image and writes SVG code that renders back into it, with shapes, colours, text and layers as separate editable elements. Baidu's examples range from CAD drawings and charts to illustrations and photographs of scenes.

### Is Unlimited-SVG free to use commercially?

Yes. Baidu publishes the Unlimited-SVG weights on Hugging Face and ModelScope under the MIT license, which allows commercial use, modification and redistribution.

### What hardware does Unlimited-SVG need?

The model card lists x86-64 Linux, a compatible NVIDIA driver and a BF16-capable GPU. It documents two paths: Hugging Face Transformers with an infer_hf.py script, and a vLLM server started with vllm serve baidu/Unlimited-SVG --trust-remote-code after patching vLLM's DeepSeek-OCR processor to 2048 × 2048.

### How large is Unlimited-SVG?

Unlimited-SVG is a mixture-of-experts model built on DeepSeek-OCR. Baidu states it activates about 0.5B parameters per token, and the Hugging Face weight metadata lists about 3B parameters in total, stored in BF16.

## Links

- [Unlimited-SVG model card (Hugging Face)](https://huggingface.co/baidu/Unlimited-SVG)
- [Unlimited-SVG on GitHub](https://github.com/baidu/Unlimited-SVG)
- [Unlimited-SVG project page](https://unlimited-svg.github.io/)
- [Unlimited-SVG on ModelScope](https://modelscope.cn/models/baidu/Unlimited-SVG)
- [Unlimited-SVG demo (Hugging Face Space)](https://huggingface.co/spaces/akhaliq/Unlimited-SVG-ZeroGPU)

Source: AI/TLDR LLM registry, https://ai-tldr.dev/models/unlimited-svg/
