Baidu Unlimited SVG: A Technical Analysis of Stroke-Level Image-to-SVG Conversion

Baidu Unlimited SVG proposes stroke-by-stroke generation that mimics human drawing to convert bitmaps into vectors.
Baidu recently introduced Unlimited SVG technology, which uses a stroke-by-stroke drawing approach to convert bitmaps into SVG, simulating human artists. Unlike traditional edge-detection and curve-fitting vectorization tools, it decomposes strokes and generates vector paths in sequence, promising more concise, structured, and editable SVGs. The article compares diffusion-based solutions like SVGDreamer, noting potential advantages in controllability while emphasizing that public information is limited and performance awaits verification. If mature, it could reshape designer workflows and enable new AI-assisted design possibilities.
In the current era of booming AI-generated content, converting bitmap images into scalable vector graphics (SVG) has always been a challenging task. Baidu's recently introduced "Unlimited SVG" technology proposes a "stroke-by-stroke drawing" generation approach, attempting to make machines construct vector graphics one stroke at a time, just like human artists. This technology has sparked initial discussion on Hacker News.

From Bitmap to Vector: Limitations of Traditional Methods
Traditional image vectorization tools (such as Potrace and Adobe Illustrator's Image Trace feature) are typically based on edge detection and curve fitting, converting pixel boundaries into Bezier curves. This approach works reasonably well for simple graphics, but when faced with complex images, it often produces a large number of redundant paths, resulting in bloated files that are difficult to edit. More importantly, traditional methods lack understanding of image semantics and cannot generate stroke sequences that align with human drawing logic.
The core innovation of Baidu Unlimited SVG lies in "stroke-by-stroke generation." Rather than simply fitting contours, it attempts to simulate the human drawing process: first identifying the key strokes in an image, then generating the path of each stroke in sequence. This approach is expected to produce more concise and better-structured SVG code while preserving the editability of the image.
Bezier curves are mathematical tools used in computer graphics to describe smooth curves, defining curve shapes through control points and widely used in vector graphics and type design. In image vectorization, Bezier curves are used to fit pixel edges, but traditional methods (such as Potrace) rely on local pixel information and lack global semantics, causing complex images to produce too many control points and paths that are difficult to edit.
The Technical Logic of Stroke-by-Stroke Generation
According to the brief description on Hacker News, the workflow of Unlimited SVG roughly consists of two steps: first, performing stroke decomposition on the input image to identify the main lines and shapes that constitute the image; then generating vector paths in sequence, drawing only one stroke at each step. This serialized generation approach is entirely different from current mainstream diffusion models that generate the entire image at once.
The potential advantage of stroke-by-stroke generation lies in controllability. Since each stroke is generated independently, users could theoretically intervene during the generation process to adjust the order, thickness, or color of strokes. Additionally, stroke-by-stroke generation is naturally suited to producing SVGs with a layered structure, making it easy to modify later in vector editing software. However, the publicly available information about this technology is currently limited, and its performance on complex images, generation speed, and accuracy of stroke decomposition still require further verification.
Diffusion models are one of the mainstream architectures in current generative AI, generating images or data from random noise through a gradual denoising process. In the field of vector generation, diffusion-based approaches (such as SVGDreamer) typically generate all path parameters at once, making it difficult to control individual strokes, and the results may lack structural coherence. Stroke-by-stroke generation, on the other hand, adopts a serialized strategy where each step is conditioned on previously generated strokes, more closely resembling the cognitive process of human drawing.
Comparison with Existing Vector Generation Solutions
There have already been some explorations in the field of AI vector generation, such as Adobe's vector-based generative models and open-source projects like SVGDreamer. Most of these solutions are based on diffusion models, directly generating SVG path parameters. Baidu's Unlimited SVG, however, chooses the "stroke-by-stroke" route, which is conceptually closer to the cognitive process of human drawing.
From the perspective of application scenarios, stroke-by-stroke generation may be more suitable for icons, line art, hand-drawn sketches, and other line-oriented images. For photo-level complex images, the difficulty of stroke decomposition rises sharply, and generation quality may be affected. Baidu has not yet published technical details or benchmark results, so its actual performance remains difficult to determine. Nevertheless, this approach offers a new direction for vector generation and is worth watching.
SVGDreamer is an open-source text-to-SVG generation project that uses diffusion models to directly optimize SVG parameters and supports stylized generation. In comparison, Baidu's Unlimited SVG emphasizes explicit modeling of stroke sequences, aiming to improve editability and controllability. However, the two differ significantly in their technical routes: the former focuses on generation diversity, while the latter emphasizes process simulation.
Potential Impact on Design and Creative Workflows
If Unlimited SVG can reliably generate high-quality stroke sequences, designers' workflows may change. For example, quickly converting hand-drawn sketches into editable vector line art, or extracting stroke structures from existing bitmaps for re-creation. The controllability of stroke-by-stroke generation also opens up new possibilities for AI-assisted design: designers can adjust strokes during the generation process rather than passively accepting the final result.
Of course, all of this still depends on the maturity of the technology. Currently, this technology has only come to public attention through Hacker News, lacking detailed papers or product pages. We look forward to Baidu disclosing more technical details in the future, and to the community reproducing and evaluating it.
Conclusion
Baidu Unlimited SVG's "stroke-by-stroke generation" approach offers a solution for image vectorization that is closer to human drawing logic. Although information is currently limited, its direction is worth continued attention. In today's increasingly homogenized AI-generated content landscape, this kind of technical exploration that starts from the generation process itself may bring about a different kind of breakthrough.
One-line Summary
Baidu Unlimited SVG proposes stroke-by-stroke generation that mimics human drawing to convert bitmaps into vectors.
Paragraph Summary
Baidu recently introduced "Unlimited SVG" technology, which uses a "stroke-by-stroke drawing" approach to convert bitmaps into SVG, attempting to simulate the drawing process of human artists. Unlike traditional vectorization tools based on edge detection and curve fitting, this method first decomposes the strokes in an image and then generates vector paths in sequence, expected to produce more concise, structured, and editable SVGs. The article compares existing diffusion-based vector generation solutions (such as SVGDreamer), pointing out the potential advantages of stroke-by-stroke generation in controllability and layered structure, while also emphasizing that publicly available information about this technology is limited and its actual performance remains to be verified. If mature, it could change designers' workflows and open up new possibilities for AI-assisted design.
Related articles

Spring AI 2.0 Enterprise Agent in Practice: Master an Intelligent Aviation Project in One Day
A hands-on Spring AI 2.0 enterprise AI Agent tutorial: master the Agent foundation, Agent Utils tool library, and autonomous planning through an intelligent aviation project in one day.

Fujifilm X-T6 Sensor Innovation: How White Pixels Improve Autofocus
Fujifilm launches the X-T6 with a 40.2MP sensor featuring white pixels to improve autofocus and low-light performance. We break down the technology and its impact.

Planet A's New $215M Fund: European Climate Tech Investment Shifts Toward Social Impact
European VC Planet A launches a $215M fund, expanding from climate tech to social impact and investing in early-stage startups good for both society and the planet.