Baidu open-sources ERNIE Unlimited SVG: turn complex images into editable SVGs with layers locally
Baidu has open-sourced ERNIE Unlimited SVG, which with only about 0.5B activated parameters can locally redraw images into editable SVGs with independent layers and precise coordinates; the weights are released simultaneously on GitHub and Hugging Face.
Featured coverage of the same event: 《Baidu open-sources Unlimited-SVG: 0.5B active parameters converts CAD part drawings and floor plans into editable SVG》
终于有人干这个SVG了!还直接开源SVG的项目!
刚刚刷到百度开源了 ERNIE Unlimited SVG(文心 Unlimited SVG),只用约 0.5B 激活参数就能在本地把复杂图像转成带独立图层、可编辑的 SVG 矢量图,开发者可以直接本地跑或集成进工程流水线,不用再依赖传统像素级描点工具或调大参数闭源模型。
模型已同步开源到 GitHub 和 Hugging Face(原帖未附具体仓库路径与命令行参数,可直接检索 ERNIE Unlimited SVG 获取权重与推理脚本)。
工具的几个核心能力:
- 先理解再逐笔重绘:不同于传统矢量化工具逐像素硬描(pixel by pixel),它会先识别画面里的物体、轮廓、颜色和元素间的空间关系,区分前景与背景、推理遮挡关系,再按合理图层顺序一笔一画写成结构干净的 SVG。
- 完整图层与精确坐标:生成的 SVG 带有精确空间坐标、图形分组和独立图层(separate layers),每个元素都能单独选中修改,还支持重新渲染做像素级验证。
- 吃得下复杂工业级图纸:不止能转简单的 Logo、Icon 和人像物体,还能直接处理复杂版面 PDF、CAD 图纸、建筑蓝图(architectural blueprints)和户型平面图(floor plans)。
具体能力上,核心突破在输入与解码两端的效率优化:输入侧能把 2048×2048 的高分辨率图像压缩成仅 1024 个视觉 Token,同时保留小字、细线和精确坐标细节;
解码侧采用 MoE 架构,每个 Token 解码仅激活约 0.5B 参数,能实时生成超过 10,000 个 Token 的复杂 SVG 代码。
这是百度继文心 Unlimited OCR 系列之后在视觉理解方向的又一次开源。
以前要把复杂图像转成结构化 SVG,要么用传统描边工具生成一堆没法改的碎路径,要么只能靠 GPT-6.2 Astra、Claude Fable 5.2 这类前沿巨型模型,现在 0.5B 激活参数就能在本地跑通,对前端与设计工具开发者、文档/CAD 解析流水线以及多模态 Agent 开发者非常友好。
View quoted post on XERNIE Unlimited SVG is out today, and it's open source!
Rather than tracing pixel by pixel, it studies an image first, identifying objects, outlines, colors and how each element relates to the rest. It then recreates the image stroke by stroke as a clean SVG with precise coordinates and separate layers, so every element stays fully editable.
- Runs locally on about 0.5B active params, making it easy for developers to adopt and integrate
- Brings frontier-level visual perception, knowing which details matter and which to simplify
- Goes beyond logos and icons, handling PDFs with complex layouts, CAD drawings, architectural blueprints and floor plans
🧵 Explore the model ↓
Source: Berryxia.AI · x.com
Story updates · 2
View full story- Same eventBaidu Unlimited SVG Model Practical Test: 3.3B MoE Small Model Hierarchical Vector Generation and Deployment Troubleshooting GuideX Topic discovery: AI CAD / BIM / engineering world models · 23 h ago
- Same eventBaidu open-sources Unlimited-SVG: 0.5B active parameters converts CAD part drawings and floor plans into editable SVGX Topic discovery: AI CAD / BIM / engineering world models · 2 d ago
