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

Telegram/Nostr bot for AI image generation with Bitcoin Lightning payments

Notifications You must be signed in to change notification settings

f321x/lightningpicturebot

Repository files navigation

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]

About

Telegram/Nostr bot for AI image generation with Bitcoin Lightning payments

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published