ChengRang

ERNIE Unlimited SVG

AI Image Tools Open Source

Baidu's open image-to-SVG model, built on DeepSeek-OCR with about 3 billion total parameters and 0.5 billion activated per token. A 2048 pixel canvas compresses into 1,024 vision tokens, and the model generates complex vector code beyond 10,000 tokens with layers, groups and coordinates, keeping labels as editable text. MIT licensed, runs locally, and turned 12,855 tokens into an SVG in 71.5 seconds in testing

BaiduOpen ModelsVector GraphicsImage to SVGLocal Deployment
Visit ERNIE Unlimited SVG

Disclaimer: Review content represents our editorial team's views and experience, not commercial recommendation or investment advice. Product info and pricing may change; refer to official sources.

Overview

Baidu's ERNIE multimodal team open sourced Unlimited SVG on December 1, 2026, a model that redraws bitmaps as editable vector graphics. The approach differs from pixel tracing: a multimodal model first reads what elements are in the image, which ones occlude others and how foreground and background separate, then writes each element as SVG code with coordinates and groups.

It builds on DeepSeek-OCR and reuses its DeepEncoder. On input, the long edge is scaled to 2048, the canvas is padded with gray and transparency is flattened onto white, then the whole 2048 by 2048 canvas is compressed into 1,024 vision tokens that keep small text, thin strokes and spatial coordinates. The decoder is a mixture-of-experts that activates about 0.5 billion parameters per token out of roughly 3 billion total, which is what lets it emit SVGs beyond 10,000 tokens at real-time speed.

Structured material is where it does best. In a Transformer architecture diagram, labels such as Output Probabilities and Positional Encoding come out as text elements instead of traced outlines, so type and font remain editable after import. Flowchart blocks, arrows and captions land in separate groups. Floor plans, part drawings, ink wash paintings and calligraphy all appear in the official examples, with strokes split into independent paths and paper tone separated from ink.

In a measured run, a 796 by 1156 photo produced 12,855 tokens at about 231 tokens per second, finishing in 71.5 seconds as a 31.6 KB SVG. Composition and pose held up, while faces and the robot dog shell were simplified into a flat illustration style. Baidu also states the boundaries: editability of complex curves depends on source sharpness, and CAD drawings yield lines and labels but no engineering constraints or 3D semantics, so they do not replace a real CAD file.

Key Features

Use Cases

Pros

Pricing

Code and weights are open under MIT on GitHub at baidu/Unlimited-SVG and on Hugging Face at baidu/Unlimited-SVG, free to download, modify and use commercially. The project site at unlimited-svg.github.io hosts an online demo that takes an image and returns an SVG. Local deployment recommends x86-64 Linux, Python 3.12 and an NVIDIA GPU with BF16 support; the repository ships a single-machine Transformers script and a vLLM service on port 10000 with an OpenAI-compatible interface. Baidu does not publish a fixed memory floor, since usage depends on resolution and output length.

Summary

Unlimited SVG turns vectorization from tracing into understanding and rewriting, and what that buys is editability: groups, layers, coordinates and real text elements all survive into a design tool. With 0.5B activated parameters it runs locally, and outputs past 10,000 tokens still generate in real time. The boundaries are just as clear, since realistic photos become flat illustrations, dense text can still be misread and CAD drawings carry no engineering semantics. For paper figures, icons and floor plans, it removes a large amount of manual redrawing.

Version History

Category
AI Image Tools
Pricing
Open Source
Tags
Baidu · Open Models · Vector Graphics

Related Tools