Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/f321x/lightningpicturebot
Telegram/Nostr bot for AI image generation with Bitcoin Lightning payments
https://github.com/f321x/lightningpicturebot
ai bitcoin lightning nostr telegram telegram-bot text-to-image
Last synced: about 1 month ago
JSON representation
Telegram/Nostr bot for AI image generation with Bitcoin Lightning payments
- Host: GitHub
- URL: https://github.com/f321x/lightningpicturebot
- Owner: f321x
- License: mit
- Created: 2022-08-20T16:59:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-03T20:34:31.000Z (12 months ago)
- Last Synced: 2024-07-30T19:34:40.994Z (5 months ago)
- Topics: ai, bitcoin, lightning, nostr, telegram, telegram-bot, text-to-image
- Language: Python
- Homepage:
- Size: 97.7 KB
- Stars: 33
- Watchers: 2
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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-nostrThe 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]