GeorgLegato / Txt2Vectorgraphics

Custom Script for Automatics1111 StableDiffusion-WebUI.
GNU General Public License v3.0
362 stars 29 forks source link

This script is discontinued ...

but coming back as new extension : Vector Studio


Text to Vectorgraphics

This is a custom script to extend Automatic1111 StableDiffusion WebUI, in order to generate useful SVG or PDF icons given by your prompts.

How it works

It tunes your prompts in that way to create suitable images to be vectorizied by the POTRACE command line tool. The resulting SVG or PDF file is stored next to your png files in output/samples (default).

Examples

prompt PNG SVG
Happy Einstein
Mountainbike Downhill
coffe mug in shape of a heart
Headphones

Screenshot

image image

Features

Installation

Windows

Linux

If you're running under WSL, Ubuntu or another Linux distro you will need to install potrace. Run sudo apt install potrace.

Mac

Run brew install potrace. Ensure potrace is in your PATH so that you could run in simply by calling from a command terminal.

Dependencies, Potrace

At execution time, the script checks if your have

Recommendations

History

Version 0.3: