Chat2SVG: Vector Graphics Generation with Large Language Models and Image Diffusion Models

Rong Wu, Wanchao Su, Jing Liao
2/9/2026

No official code found. Best implementation: kingnobro/Chat2SVG (239 stars, last commit 2025-04-02).

Abstract

Scalable Vector Graphics (SVG) has become the de facto standard for vector graphics in digital design, offering resolution independence and precise control over individual elements. Despite their advantages, creating high-quality SVG content remains challenging, as it demands technical expertise with professional editing software and a considerable time investment to craft complex shapes. Recent text-to-SVG generation methods aim to make vector graphics creation more accessible, but they still encounter limitations in shape regularity, generalization ability, and expressiveness. To address these challenges, we introduce Chat2SVG, a hybrid framework that combines the strengths of Large Language Models (LLMs) and image diffusion models for text-to-SVG generation. Our approach first uses an LLM to generate semantically meaningful SVG templates from basic geometric primitives. Guided by image diffusion models, a dual-stage optimization pipeline refines paths in latent space and adjusts point coordinates to enhance geometric complexity. Extensive experiments show that Chat2SVG outperforms existing methods in visual fidelity, path regularity, and semantic alignment. Additionally, our system enables intuitive editing through natural language instructions, making professional vector graphics creation accessible to all users. Our code is available at https://chat2svg.github.io/.

View on arXivView PDF

Code Implementations(1)

kingnobro/Chat2SVGCommunity67%

(CVPR 2025) Code of "Chat2SVG: Vector Graphics Generation with Large Language Models and Image Diffusion Models"

23934Shell, PythonJan 12, 20251 years ago
large-language-modelstable-diffusionsvgsvg-generationtext-to-svg

Similar Papers

Cite this paper

@article{wu2026chatsvg,
  title  = {Chat2SVG: Vector Graphics Generation with Large Language Models and Image Diffusion Models},
  author = {Rong Wu and Wanchao Su and Jing Liao},
  year   = {2026},
  eprint = {2411.16602},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2411.16602},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.16602.svg)](https://codeofpaper.com/paper/2411.16602)

Discussion