NovelAI Muse is a Telegram bot that helps you break through creative block by generating random NovelAI artists and providing essential prompts to kickstart your imagination!
This bot is perfect for:
- Finding new NovelAI artists: Tired of the same old styles? Discover fresh talent with a simple command.
- Sparking creativity: Get unique and inspiring prompts tailored for NovelAI image generation.
- Exploring new artistic directions: Break out of your comfort zone and experiment with different styles and concepts.
Follow these steps to install and run NovelAI Muse on your system:
-
Clone the repository:
git clone https://github.com/boudywho/NovelAI-Muse.git
-
Navigate to the project directory:
cd NovelAI-Muse
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
source venv/bin/activate
-
Install the required packages:
pip install python-telegram-bot requests
-
Obtain your Telegram Bot Token:
a. Open Telegram and search for the BotFather.
b. Send the command
/newbot
.c. Follow the instructions to name your bot (e.g., "NovelAI Muse Bot").
d. The BotFather will provide you with a unique token. Keep this token safe.
-
Configure the
bot.py
file:Open the
bot.py
file and locate theBOT_TOKEN
parameter. ReplaceYOUR_TELEGRAM_BOT_TOKEN
with the token you received from BotFather (must be included between quotes"").BOT_TOKEN = "YOUR_TELEGRAM_BOT_TOKEN"
-
Run the bot:
python bot.py
Your bot is now live and ready to receive commands!
For convenience, you can set up NovelAI Muse to start automatically when your system boots up. Here's how:
-
Create a systemd service file:
sudo nano /etc/systemd/system/novelai-muse.service
-
Paste the following content into the file:
[Unit] Description=NovelAI Muse Telegram Bot After=network.target [Service] User=yourusername Group=yourgroup WorkingDirectory=/path/to/NovelAI-Muse ExecStart=/path/to/venv/bin/python bot.py Restart=always RestartSec=10 [Install] WantedBy=multi-user.target
- Replace
yourusername
andyourgroup
with your actual username and group. - Replace
/path/to/NovelAI-Muse
with the absolute path to your project directory. - Replace
/path/to/venv/bin/python
with the absolute path to your virtual environment's Python executable.
- Replace
-
Save the file and enable the service:
sudo systemctl enable novelai-muse.service sudo systemctl start novelai-muse.service
Now, NovelAI Muse will automatically start whenever your Arch Linux system boots.
When using the generated prompts from NovelAI Muse, remember to add your own creative ideas before the final quality modifiers like "best quality, amazing quality, very aesthetic, absurdres". This ensures your unique vision takes center stage!
NovelAI Muse is constantly evolving! Here are some exciting features we're planning to add:
- Expanding the artist database: Continuously updating the bot with new and exciting NovelAI artists.
- PNG metadata reader: Unlocking hidden information and artistic insights within your NovelAI images.
- Enhanced prompt generation: Creating more diverse and specific prompts to fuel your creative journey.
Stay tuned for updates! β¨