Skip to content

alienfist/comfyui-flask-webui

Repository files navigation

comfyui-flask-webui

An ai image generate website using flask base on comfyui

Home

Introduce

An offline image generation website, converts Comfyui workflow into website functionality, making it easier to use.

Website Features:

  1. Stickers Generate stickers from a photo
  2. Txt2img
  3. Img2img
  4. Fusion The fusion of two photo styles
  5. ChangeFace
  6. IDPhoto Generate one inch or two inch ID photos from one photo

Website Screenshot:

  1. Txt2img Page Screenshot

txt2img

  1. Stickers Page Screenshot

stickers

  1. Fusion Page Screenshot

fusion

  1. Idphoto Page Screenshot

idphoto

ComfyUI Setup

To start your comfyui, make sure the comfyui workflow can be used normally, default port 8188.
You can find more information at the following link:
https://github.com/comfyanonymous/ComfyUI
The checkpoints and lora that Comfyui needs to use are still being organized and will be provided together in the future

How to install

  1. create venv
conda create -n comfyui-flask-webui python=3.10
conda activate comfyui-flask-webui
cd comfyui-flask-webui
pip install -r requirements.txt
  1. sql init
flask db init
flask db migrate
flask db upgrade
  1. create user

rename config_template.py to config.py
如果需要提示词支持中文,需要输入自己的百度翻译appid和key
https://api.fanyi.baidu.com/

python test/create_user.py
  1. run project
python manage.py

Concat

[email protected]

About

An ai image generate website using flask base on comfyui

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published