Examples
PyTorch-SVGRender supports a variety of vectorization methods, including: Image-to-SVG, Text-to-SVG, Text-to-Sketch.
LIVE: Towards Layer-wise Image Vectorization
(CVPR 2022)
LIVE converts raster images to SVGs and simultaneously maintains its image topology.
Input Raster Image
LIVE Iteration Process
Output SVG




Input Raster Image
LIVE Iteration Process
Output SVG




CLIPasso: Semantically-Aware Object Sketching
(SIGGRAPH 2022)
CLIPasso converts an image of an object to a sketch, allowing for varying levels of abstraction, while preserving its key visual features.




CLIPascene: Scene Sketching with Different Types and Levels of
Abstraction
(ICCV 2023)
CLIPascene converts an image of scene image into a sketch using different types and multiple levels of abstraction.








CLIPDraw: Exploring Text-to-Drawing Synthesis through
Language-Image Encoders
(NIPS 2022)
CLIPDraw synthesizes SVGs based on text prompts.



StyleCLIPDraw: Coupling Content and Style in Text-to-Drawing Synthesis
StyleCLIPDraw synthesizes SVG based on a text prompt and a reference image.




CLIPFont: Texture Guided Vector WordArt Generation
(BMVC 2022)
StyleCLIPDraw styles vector fonts according to text prompts.
Input SVG
CLIPFont Rendering Process
Output SVG

VectorFusion: Text-to-SVG by Abstracting Pixel-Based Diffusion
Models
(CVPR 2023)
VectorFusion synthesizes SVGs based on text prompts and supports three primitive styles.
Iconography
SD + LIVE + VectorFusion fine-tuning
Prompt Suffix: "minimal flat 2d vector icon. lineal color. trending on artstation."



Iconography
train from scratch via VectorFusion.
Prompt Suffix: "minimal flat 2d vector icon. lineal color. trending on artstation."



Pixel Art
train from scratch via VectorFusion.
Prompt Suffix: "pixel art. trending on artstation."



Sketch
train from scratch via VectorFusion.
Prompt Suffix: "minimal 2d line drawing. trending on artstation."



DiffSketcher: Text Guided Vector Sketch Synthesis through Latent
Diffusion Models
(NIPS 2023)
DiffSketcher synthesizes vector sketches based on text prompts.
It supports stroke width and color optimization. And extended
additional style input to achieve style transfer.

Sketch

Sketch + stroke width optimization

RGBA
Word-As-Image for Semantic Typography
(SIGGRAPH 2023)
Word-As-Image follows a text prompt to style a letter in a word.
It injects the meaning of a word into its letter.



SVGDreamer: Text Guided SVG Generation with Diffusion Model
(CVPR 2024)
SVGDreamer generates various styles of SVG based on text prompts.
It supports the use of six vector primitives, including
Iconography, Sketch, Pixel Art, Low-Poly, Painting, and Ink and
Wash.
Iconography


Oil Painting


Acknowledgements
Thanks to academic research and engineering development in the field of SVG.
- Project Authors
- Ximing Xing and Juncheng Hu
- Author Institution
- Beihang University, School of Software
- Contributions
- Contributions to the project are welcome!