Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nuhmanpk/text2imagebot
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 .
https://github.com/nuhmanpk/text2imagebot
bot hacktoberfest huggingface image-generation pyrogram stable-diffusion telegram-bot text-to-image transformer
Last synced: about 1 month ago
JSON representation
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 .
- Host: GitHub
- URL: https://github.com/nuhmanpk/text2imagebot
- Owner: nuhmanpk
- License: mit
- Created: 2023-10-30T14:25:26.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-14T11:10:17.000Z (9 months ago)
- Last Synced: 2024-05-01T21:19:17.129Z (7 months ago)
- Topics: bot, hacktoberfest, huggingface, image-generation, pyrogram, stable-diffusion, telegram-bot, text-to-image, transformer
- Language: Python
- Homepage:
- Size: 26.1 MB
- Stars: 12
- Watchers: 2
- Forks: 12
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# text2imagebot
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/nuhmanpk/text2imagebot/blob/main/text2imagebot.ipynb)
[![GitHub issues](https://img.shields.io/github/issues/nuhmanpk/text2imagebot)](https://github.com/nuhmanpk/text2imagebot/issues)
[![GitHub stars](https://img.shields.io/github/stars/nuhmanpk/text2imagebot)](https://github.com/nuhmanpk/text2imagebot/stargazers)
[![GitHub license](https://img.shields.io/github/license/nuhmanpk/text2imagebot)](https://github.com/nuhmanpk/text2imagebot/blob/main/LICENSE)## Demo
[View more demos](https://github.com/nuhmanpk/text2imagebot/tree/17e23f59cff76acc8d8321512fb4b906a0d14fd8/assests) • [Contribute to the project](https://github.com/nuhmanpk/text2imagebot/fork)
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:
- [x] Run on Colab
- [x] Add Multiple Model from Huggingface
- [x] Give user options to customize the model with seed, steps etc
- [ ] Add a perment Deployment Option
- [ ] Provide a Demo Bot For Testing
- [ ] Add Upscaler
- [x] More user friendly UI
- [ ] Add showcase channel
- [x] Add Multi image generation from same prompt
- [ ] Add negative prompt sectionFeel free to contribute to the project by submitting bug reports, feature requests, or pull requests. Your contributions are highly appreciated!