Skip to content

A Telegram bot that is capable of running stable diffusion Models (Support all model from huggingface) and generate images based on user prompts. Loaded with 20 Models .

License

Notifications You must be signed in to change notification settings

BugHunterBotLabs/text2imagebot

 
 

Repository files navigation

text2imagebot

Open In Colab GitHub issues GitHub stars GitHub license

Demo

Image gif-demo Image Image Image Image

View more demosContribute to the project

Text2ImageBot is a Telegram bot that generates images from text inputs using advanced text-to-image generation techniques. This bot utilizes state-of-the-art deep learning models to convert textual descriptions into visually appealing images, providing users with a seamless experience for creating compelling visual content.

How It Works

The bot harnesses the power of Diffusion models, a cutting-edge technique from Hugging Face, to convert textual prompts into visually stunning image outputs. By utilizing this advanced machine learning model, the bot comprehends the provided text and produces corresponding images that vividly represent the described content.

Usage

To use the Text2ImageBot, follow these simple steps:

  1. Start a chat with the bot on Telegram.
  2. Send a text message containing the desired image description or prompt.
  3. The bot will process the text and generate an image based on the provided description.
  4. Download the generated image from the bot's response.

Running the Code

To run the code locally, follow the instructions below:

  1. Clone the repository to your local machine.
  2. Ensure you have the required dependencies installed as specified in the requirements.txt file.
  3. Open the text2imagebot.ipynb notebook in your preferred environment (such as Google Colab or Jupyter Notebook).
  4. Follow the instructions in the notebook to execute the code and interact with the text2imagebot.

TODO:

  • Run on Colab
  • Add Multiple Model from Huggingface
  • Give user options to customize the model with seed, steps etc
  • Add a perment Deployment Option
  • Provide a Demo Bot For Testing
  • Add Upscaler
  • More user friendly UI
  • Add showcase channel
  • Add Multi image generation from same prompt
  • Add negative prompt section

Feel free to contribute to the project by submitting bug reports, feature requests, or pull requests. Your contributions are highly appreciated!

About

A Telegram bot that is capable of running stable diffusion Models (Support all model from huggingface) and generate images based on user prompts. Loaded with 20 Models .

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 84.1%
  • Jupyter Notebook 15.9%