aifollow.news
Back IT之家 科技新闻
IT之家 科技新闻· · Original publication time AI score54

Baidu's Wenxin team releases Unlimited SVG for converting photos into editable vector graphicsMachine translation

百度文心团队发布 Unlimited SVG,可将照片转为可编辑矢量图

AI-assisted summary

Baidu's Wenxin multimodal team has released Unlimited SVG, which can progressively convert photos, screenshots and floor plans into editable SVG code. Built on DeepSeek-OCR, the model supports inference on 2048×2048 images. It is offered under an MIT license with Transformers and vLLM inference options.

Article · AI translation

IT Home reported on December 1 that Baidu’s ERNIE multimodal team has released a specialized vector graphics model, “ERNIE Unlimited SVG,” that can progressively reconstruct input such as photos, screenshots, floor plans, parts drawings, and structural diagrams from academic papers into editable SVG vector code.

Built on DeepSeek-OCR, the model uses a mixture-of-experts architecture, activating only about 0.5B parameters per token out of approximately 3B total parameters, and supports global inference on 2048×2048 images.

Unlike a text description of an image, SVG records lines, color blocks, coordinates, font styles, and layer occlusion relationships in code. It can be rendered directly as a high-resolution image and makes it easy to check and modify individual elements. When traditional models generate complete SVGs for complex images, they often require more than 10,000 tokens, making long-context processing slow and costly.

Unlimited-SVG uses DeepEncoder to compress an entire 2048×2048 image into just 1024 visual tokens while retaining key details such as small text, fine lines, and precise spatial coordinates. Its decoder uses sparse activation to maintain real-time generation even when output exceeds 10,000 tokens. This enables complex, long-sequence SVG conversion on a compact model that can be deployed locally, reducing reliance on large cloud APIs.

The model is available under the MIT license and offers two inference methods: Transformers and vLLM. The developers recommend using a lower sampling temperature—a parameter that controls how random the results are—for images such as CAD drawings, charts, and diagrams that require precise geometry and consistent text. For natural scenes and photos, the temperature can be raised moderately to avoid repeated strokes and increase variety in the output.

IT Home provides the following reference links.

Visit ERNIE Unlimited SVG on HuggingFace

Visit ERNIE Unlimited SVG on GitHub

Try Unlimited SVG Works online

Advertising disclosure: External links in this article, including but not limited to hyperlinks, QR codes, and access codes, are provided to convey more information and save time in selecting resources. The results are for reference only. All IT Home articles containing external links include this disclosure.

Found an error? Send a correction