Skip to content

Files

Latest commit

c419b11 · Jan 6, 2024

History

History
This branch is up to date with cumulo-autumn/StreamDiffusion:main.

realtime-txt2img

README.md

Txt2Img Example

English | 日本語

This example provides a simple implementation of the use of StreamDiffusion to generate images from text. You can realtimely generate 4x4 images from text, on changing the input prompt.

Usage

pip install -r requirements.txt
cd frontend
pnpm i
pnpm run build
cd ..
python main.py

Acknowledgements


The video and image demos in this GitHub repository were generated using kohakuV2 and SD-Turbo.

Special thanks to Kohaku BlueLeaf (@KBlueleaf) for providing the KohakuV2 model, and to Stability AI for SD-Turbo.

KohakuV2 Models can be downloaded from Civitai and Hugging Face.

SD-Turbo is also available on Hugging Face.