VectorPainter: Advanced Stylized Vector Graphics Synthesis Using Stroke-Style Priors
January 29, 2026 ยท View on GitHub
This repository contains our official implementation of the ICME 2025 paper: "VectorPainter: Advanced Stylized Vector Graphics Synthesis Using Stroke-Style Priors." VectorPainter synthesizes text-guided vector graphics by imitating strokes.

๐ฅ Latest Update
- 2025.03: ๐ฅ We released the code for VectorPainter.
- 2025.03: ๐ VectorPainter accepted by ICME 2025. ๐
๐ Installation Guide
๐ ๏ธ Step 1: Set Up the Environment
To quickly get started with VectorPainter, follow the steps below.
These instructions will help you run quick inference locally.
Run the following command in the top-level directory:
chmod +x install.sh
bash install.sh
๐ ๏ธ Step 2: Download Pretrained Stable Diffusion Model
VectorPainter requires a pretrained Stable Diffusion (SD) model.
๐ Auto-Download (Recommended)
Set model_download=True in /conf/config.yaml before running VectorPainter.
Alternatively, append model_download=True to the execution script.
๐จ Quickstart
Style: Starry Night by van Gogh
- sydney opera house
python vectorpainter.py x=stroke "prompt='A photo of Sydney opera house'" style="./assets/starry.jpg" canvas_w=1024 canvas_h=1024 result_path='./workspace/starry/sydney_opera_house'
- mountain and cloud
python vectorpainter.py x=stroke "prompt='A mountain, with clouds in the sky'" style="./assets/starry.jpg" canvas_w=1024 canvas_h=1024 result_path='./workspace/starry/mountain'
Style: Pink Cloud (Le nuage rose by Paul Signac)
- Sakura tree
python vectorpainter.py x=stroke "prompt='sakura tree.'" style="./assets/starry.jpg" x.num_paths=20000 canvas_w=1024 canvas_h=1024 result_path='./workspace/pink_cloud/sakura'
๐ Acknowledgement
The project is built based on the following repository:
We gratefully thank the authors for their wonderful works.
๐ Citation
If you use this code for your research, please cite the following work:
@inproceedings{hu2025vectorpainter,
title={VectorPainter: Advanced Stylized Vector Graphics Synthesis Using Stroke-Style Priors},
author={Hu, Juncheng and Xing, Ximing and Zhang, Jing and Yu, Qian},
booktitle={2025 IEEE International Conference on Multimedia and Expo (ICME)},
pages={1--6},
year={2025},
organization={IEEE}
}
ยฉ๏ธ Licence
This work is licensed under a MIT License.