VectorPainter: Advanced Stylized Vector Graphics Synthesis Using Stroke-Style Priors

January 29, 2026 ยท View on GitHub

ICME 2025 ArXiv Project Website

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.

teaser

๐Ÿ”ฅ 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.

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.