a quick and dirty bot, running stable diffuser, via huggingface diffusers
- conda or mamba installed, recommendation: micromamba
mamba env create -f environment.yaml -p ./condaenv
(replace mamba to conda if you installed conda)- when updating:
mamba env update -f environment.yaml -p ./condaenv
- when updating:
huggingface-cli login
(see hf diffusers)- create app from account setting, fill these text files
- minimal:
config/instance.yaml
- see
config_example
- missing config becomes default, see
diffusers_mastodon_bot/conf
- see
- minimal:
python -m diffusers_mastodon_bot.main
- image generation: mentioning the bot with
#diffuse_me
and prompt- If you are the bot, You can do it without mention
- image2image: mention with
#diffuse_it
and one attachment image image generation gameremoved
@bot@example.com
#diffuse_me
args.orientation landscape
args.image_count 16
args.guidance_scale 30
args.num_inference_steps 70
suzuran from arknights at cozy cafe with tea.
extremely cute, round face, big fox ears directing side,
cyan hairband, bright gold yellow hair with thin twintail
as round shape braided, bangs, round gentle emerald eyes,
girlish comfort dress, 1girl, urban fantasy, sci-fi,
comfort art style, ultra detail, highres
sep.negative
high contrast, trecen school suite, uma musume
see config_example
. copy-paste it to config
and modify from there.
This software contains source from huggingface/diffusers
, which is under Apache License 2.
XL model will not use batching.