culturecloud / sd-webui-send2tg

Send images generated by Stable-diffusion webui to your own Telegram channel/group.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stable Diffusion WebUI Extension - Send to Telegram

You can use this extension to send your generated Stable Diffusion images straight to your configured Telegram channel/group.

Notes

  • Set your credentials using command line parameters --send2tg-bot-token and --send2tg-channel-id or in WebUI Settings > Send to Telegram.
  • Command line parameters (if specified) will take priority over WebUI settings.
  • The script will be enabled as long as both bot token and channel ID parameters are specified using command line.
  • The bot must have messaging permission to send images to the designated channel/group.
  • Use --send2tg-as-photo if you want the images to be sent as photo instead of document. Note that in this mode, they'll be automatically compressed by Telegram and also lose all embedded generation data.
  • You can also set the bot to send the images to yourself instead of a channel or group. In this case, all you need is to set your Telegram user ID as the value of channel ID.

About

Send images generated by Stable-diffusion webui to your own Telegram channel/group.

License:Apache License 2.0


Languages

Language:Python 100.0%