Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

Latest commit

 

History

History
30 lines (20 loc) · 952 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 952 Bytes

lightningpicturebot

Available at https://t.me/dalle2lightningbot and Nostr Pubkey f19c4407f08fc3e9b2957f290272f6d8c2ebae5854704a03f5900779b8aaa664

A Telegram and Nostr bot for AI Image generation with Bitcoin payments via the Lightning Network

Currently supports Stable Diffusion, DALLE 2 and a Midjourney like diffusion model.

This is my first bigger project so be careful using it and check the code if you plan to utilize it.

Dependencies:

  • Pillow
  • python-telegram-bot (--pre)
  • qrcode
  • requests
  • python-dotenv
  • jeffthibault/python-nostr

The dalle2.py file is a modified version of the ezzcodeezzlife/dalle2-in-python module

Functions:

  • multiple AIs (DALLE2 and Stable Diffusion)
  • payments and refunding with LNbits
  • logging
  • multiple chat protocols (Nostr and Telegram)

Tested with Phoenix Wallet (https://phoenix.acinq.co/)

If i provided some value to you with this software feel free to tip some Satoshis to: [email protected]