Skip to content

a quick and dirty bot, running stable diffuser, via huggingface diffusers

License

Notifications You must be signed in to change notification settings

sftblw/diffusers_mastodon_bot

Repository files navigation

duffusers_mastodon_bot

a quick and dirty bot, running stable diffuser, via huggingface diffusers

prepare & run

  • 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
  • huggingface-cli login (see hf diffusers)
  • create app from account setting, fill these text files
  • python -m diffusers_mastodon_bot.main

features

  • 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 game removed
@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

config examples

see config_example. copy-paste it to config and modify from there.

misc

This software contains source from huggingface/diffusers, which is under Apache License 2.

XL model will not use batching.

About

a quick and dirty bot, running stable diffuser, via huggingface diffusers

Resources

License

Stars

Watchers

Forks

Languages