CoAI
News

Baidu Releases "Unlimited-SVG," an AI That Redraws Images as Editable SVGs, With About 500 Million Active Parameters, Runnable on Your Own GPU Under the MIT License

On December 1, 2026, China's Baidu (百度) released "Unlimited-SVG," an AI model that redraws images such as photos and diagrams in "SVG," an editable vector format. It is a small model based on DeepSeek-OCR, with about 500 million parameters active per token. Its weights and code are published under the MIT License, and it runs on Linux with an NVIDIA GPU.

December 1, 20267 min read
Screenshot of the official Hugging Face — baidu/Unlimited-SVG page
Hugging Face — baidu/Unlimited-SVG · SourceCaptured: December 1, 2026

Screenshots show the official pages on the capture date and may differ from the pages at publication. Select an image to enlarge it.

On December 1, 2026, China's Baidu (百度) released "Unlimited-SVG," an AI model that redraws images in SVG format. When it reads a photo, illustration, chart or similar image, it writes out SVG code that builds the picture from shapes, text and lines one by one. It was developed by the multimodal (handling images and text together) team behind Baidu's AI "ERNIE," and the model's weights (the trained data itself) and code are published on Hugging Face and GitHub. Baidu explains that it has achieved, with a small model you can run on your own hardware, processing that was previously possible only with large frontier models.

What is SVG, and how does it differ from ordinary images?

JPEG and PNG, often used for photos, are called "raster images" and represent a picture by filling it with tiny colored dots (pixels). When enlarged, the dots become visible and the image blurs, and you cannot later fix just one piece of text or one shape in it.

SVG is a type of "vector image," a format close to a program, in which instructions such as "draw a circle of this color at this position" or "place this text here" are written as text. Its main features are as follows.

  • Lines and text never blur, no matter how much you enlarge it
  • Shapes and text are separated into parts, making edits such as changing colors, rewriting text or removing parts easy
  • Because its contents are text, it can be embedded directly in web pages or rewritten by programs

It is often used for logos, icons, charts, website components and the like. However, until now, turning a logo or diagram you only had as a PNG into an SVG meant redrawing it or tracing its outlines with a conversion tool. Unlimited-SVG has AI do this work.

How Unlimited-SVG works

According to Baidu, turning a complex image entirely into SVG often produces output of more than 10,000 tokens (the units AI uses to handle text), which takes too much time and cost with large models. Baidu explains that Unlimited-SVG addresses this problem by making both the input and the output lighter.

  • Base model: It is based on "DeepSeek-OCR," a model for reading document images that DeepSeek announced in 2025
  • Shrinking the input: The image-reading part, "DeepEncoder," compresses a 2048×2048-pixel image into 1,024 "vision tokens." Baidu says it preserves small text, thin lines and precise positional information
  • Lightening the output: It uses a "MoE (Mixture of Experts)" architecture that activates only the specialized parts it needs from several, so about 500 million (0.5B) parameters are active each time it outputs one token. According to the file information on Hugging Face, the whole model has about 3.3 billion parameters
  • Long output: Baidu says it can keep generating at real-time speed even for SVGs exceeding 10,000 tokens

The official site explains that rather than copying an image as a collection of dots, it separates foreground and background like a human illustrator and redraws the image in stacked layers, while also considering parts hidden by overlaps. It also says this kind of processing was previously possible only with frontier models such as OpenAI's GPT-6.2 Astra, Anthropic's Claude Fable 5.2 and Google's Gemini 4 Argon.

However, no benchmarks showing performance in numbers have been published. The official site has a gallery of examples, but the technical report is listed as "coming soon." It is not currently possible to verify how its quality compares with large models.

What you need to run it

Unlimited-SVG is a model you download and run on your own computer or server. There is no official mention of an API from Baidu (a way to call it from other services) or a paid cloud offering. The operating environment described in the README is as follows.

  • x86-64 Linux
  • An NVIDIA GPU and a compatible driver (supporting the BF16 number format)
  • "uv," a Python environment management tool

Two ways to run it are shown. One is to run it directly with "Transformers," a standard library; the other is to set up a server with "vLLM," software for serving models, and call it in the same format as OpenAI. The required GPU memory is not stated, but the weight files are about 6.7 GB. There is no official statement on whether it runs on Mac or Windows.

There are a few rules for using it.

  • Input images are resized so the long side is 2048 pixels, placed in the center of a gray square, and then read. They are not split
  • Transparent areas are replaced with white before reading, so they don't turn black
  • One image per call. The example sets the output limit at 30,000 tokens
  • It recommends setting output variability (temperature) low, at 0 to 0.3, for images where precision matters, such as blueprints and charts, and higher, at 0.5 to 0.8, for photos and natural scenery. Setting it too low for photos can cause it to fall into repeating the same drawing pattern

Also, "Try the demo" on the official site takes you to a demo page you can try in your browser. The link points to an unencrypted (http) page addressed by an IP address rather than a domain name, with no explanation of who operates it or how long it will be available. It is safer not to upload images you can't show to others.

License and Japanese support

The license is the MIT License. Both the code on GitHub and the weights on Hugging Face come with MIT License documents, and as long as you keep the copyright notice and permission notice, you can use, modify and redistribute them, including for commercial use. No regional restrictions on use are mentioned.

There is no official statement on Japanese support. Baidu says it can read even small text within images, but neither the README nor the official site says whether it can correctly write out Japanese or Chinese characters as SVG text. If you want to convert diagrams or flyers containing Japanese, you will need to actually try it to find out.

Who is it useful for?

Expected uses include the following.

  • Designers: Turning logos, illustrations and diagrams that only survive as PNGs into SVGs, making colors and shapes easier to fix
  • Web developers: Turning charts and icons in image form into SVGs so they display lightly without blurring when enlarged
  • Document creation: Restoring diagrams pasted as images to an editable form

Baidu further explains that the work of redrawing images as SVG can itself be used to train AI that handles images and text. Describing an image in words loses fine details of shape, position and color, but with SVG, each element can be written out precisely, and the redrawn image can be compared with the original to check it.

CoAI's take

Converting images to SVG has typically meant tracing outlines with a conversion tool or redrawing by hand. Unlimited-SVG stands out for rebuilding images part by part while taking overlaps and even text into account, and it is published under the MIT License, which allows commercial use. Baidu also released the weights of ERNIE-5.5-Flash-Base in November, continuing its move to open its models to outside users.

On the other hand, using it requires a Linux environment with an NVIDIA GPU, and it is not a product you can use right away from a browser or app. Neither benchmarks showing its quality nor support for Japanese text have been officially shown. A good approach is to first look at the examples and demo on the official site to see how cleanly the kinds of images you want to convert (logos, charts, photos and so on) are redrawn, and then decide whether to try it in your own environment.

Sources

Tools mentioned in this article

Back to news