Baidu has released Unlimited-SVG, an open model that looks at an image and writes the code needed to redraw it, and the company says one local GPU is enough to run it. The release is dated 1 December 2026 in Baidu’s GitHub repository.

SVG stands for scalable vector graphics. It is a text format that describes a picture as shapes, lines, curves, and letters instead of a grid of colored pixels. Because the picture is code, it stays sharp at any size and a designer or a script can edit it afterward. Logos, icons, charts, and diagrams often live in this format.

The catch is length. According to Baidu’s repository, a full SVG for a complex image can run beyond 10,000 tokens, the small chunks of text a model reads and writes. At that size, Baidu says, big models turn slow and expensive. Unlimited-SVG, credited to Baidu’s ERNIE multimodal team, is built to make that long output cheaper.

Baidu attacks the problem from two sides. On the input side, the model builds on DeepSeek-OCR, an existing system for reading text out of images. Its image encoder squeezes a 2048 by 2048 pixel picture into 1024 vision tokens, and Baidu says fine detail survives the squeeze, including tiny lettering, hairline strokes, and precise coordinates.

On the output side, the model uses a mixture-of-experts design, where only a slice of the network works on each token. Baidu puts that slice at about 0.5 billion parameters. That figure counts the parameters active for each token, not the size of the whole model, and the repository overview does not state the full total.

Baidu’s central claim is that generation stays at real-time speed even past 10,000 tokens, which makes the job workable on a compact model you host yourself. It sets this against what it calls heavy frontier APIs and names GPT-6.2 Astra, Claude Fable 5.2, and Gemini 4 Argon. The repository text shows no side-by-side test against any of them, on quality or on speed. The speed and quality statements are Baidu’s own, and the repository cites no independent measurements.

Running it takes some setup. Baidu lists x86-64 Linux, an NVIDIA driver, and a free GPU that handles the BF16 number format. Weights download from Hugging Face, and the repo gives two routes, the Transformers library and the vLLM serving engine. Its example scripts allow up to 30,000 generated tokens and raise an error if the SVG comes back unfinished, a reminder that a drawing cut off midway is useless.

The temperature advice is the most practical detail. Temperature controls how much randomness the model uses when it picks the next token. For precise material such as charts, diagrams, and CAD drawings, Baidu recommends 0 to 0.3. For photos and natural scenes it suggests 0.5 to 0.8, because greedy decoding on those images can fall into repetitive loops. That points to where failures are likeliest: photographs, not clean line art.

Baidu notes a demo on Hugging Face Spaces, made with help from AK and Hugging Face, and a copy of the model on ModelScope. Anyone curious can try an image without installing anything.

For a team holding a pile of raster logos or diagrams, the cheap experiment is to run a sample of them locally and count how many come back as valid, editable files. Photos are the harder test, and the repository gives no figure for how well the model does on them.

Reported by Baidu’s ERNIE Multimodal Team in the Unlimited-SVG GitHub repository, with a release dated 1 December 2026.