Open-Source Model Overview

What Is baidu/Unlimited-SVG?

How this MIT-licensed open-source AI model breaks past the 10,000+ SVG token limit and turns complex images into editable layers for Figma and Illustrator.

Fig. 2 — Unlimited SVG Synthesis Pipeline Layered <g> Diagram 01 · INPUT Raster Upload PNG / JPG / 2048px 02 · EDGE WORKER Cloudflare Router Auth, Hash & Queue GPU INFERENCE ENGINE DeepEncoder Vision 2048×2048 → 1,024 tok Sparse MoE Decoder 3.3B Total · 0.5B Active SVG DOM Validator <g> Layers + <text> Clean 03 · OBJECT CACHE Cloudflare R2 Deduplicated .svg CDN 04 · DELIVERY Figma & Web SVG Live Palette + Code All connectors preserved as clean orthogonal <path> primitives
How Unlimited SVG processes a 2048×2048 image through DeepEncoder and a 3.3B (0.5B active) MoE decoder to write clean layered SVG XML.

Model Specs at a Glance

Model Size

3.3B Total / 0.5B Active MoE

Sparse Mixture-of-Experts keeps per-token decoding fast over long SVG files

Vision Input

DeepEncoder (2048×2048 → 1,024 tok)

Keeps small UI labels, thin borders, and CAD measurements crisp before decoding

Max SVG Length

10,000+ Output Tokens

Finishes full SaaS dashboards, flowcharts, and blueprints without cutting off

Open License

MIT License

Commercial-friendly outputs and free to self-host on your own GPUs

SVG Output

Named <g> Layers + <text>

Clean vector tags instead of thousands of broken traced path shards

Best Use Cases

UI · Diagrams · CAD · Logos

Handles technical graphics, product interfaces, and flat illustrations cleanly

What Makes Unlimited SVG Different

01 · High-Res Vision

Reads 2048×2048 Images Without Blurring Small Text

Most vision-language models shrink images down to 384px or 768px, turning 12px dashboard labels and 1px borders into mush. DeepEncoder compresses a full 2048×2048 image into 1,024 high-detail visual tokens so tiny fonts and CAD callouts stay legible.

02 · Long SVG Context

Writes 10,000+ Tokens Without Cutting Off Halfway

Earlier open-source SVG models topped out around 1K–4K tokens, which only works for simple icons. Unlimited SVG scales past 10,000 tokens so multi-panel dashboards, architecture charts, and technical drawings finish intact.

03 · Built for Editing

Outputs Real Layers & Text for Figma and Web Code

Because the model writes clean SVG XML directly instead of tracing bitmap contours, related elements stay grouped in <g> layers and labels stay selectable <text> nodes ready for Figma, Illustrator, or React.

How Image-to-SVG Conversion Works Step by Step

01

Image Preparation

Your PNG, JPG, or WebP is scaled cleanly up to 2048px while keeping thin lines and text contrast sharp.

02

DeepEncoder Compression

Compresses up to 4.19 megapixels into 1,024 spatial visual tokens covering both layout and fine details.

03

MoE SVG Code Generation

The 0.5B-active MoE decoder writes valid <svg>, <g>, <rect>, <circle>, <path>, and <text> markup up to 10K+ tokens.

04

Inspect, Recolor & Export

Zoom to 400%, toggle layers, swap colors in your browser, then copy straight to Figma or download .svg.

Common Questions About baidu/Unlimited-SVG

No. Although only 0.5B parameters activate per token, the full 3.3B BF16 weights plus KV-cache for 10,000+ output tokens require a cloud or desktop GPU (24GB–48GB VRAM recommended). That is why unlimited-svg.org runs the model on hosted GPU infrastructure.

Potrace and Vectorizer.AI trace pixel color regions into flat curves, breaking letters into uneditable shapes. Unlimited SVG reads layout structure and generates organized <g> layers and real <text> tags.

Yes. baidu/Unlimited-SVG is released under the permissive MIT License, allowing commercial use of generated SVGs as well as self-hosted commercial deployments.

Independent Online Tool Notice

unlimited-svg.org is an independent web workspace built around the open-source MIT-licensed baidu/Unlimited-SVG model. We are not affiliated with, endorsed by, or operated by Baidu.