Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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-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]