Skip to content

ayazayyub/Telegram-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Powered Telegram Bot 🤖✨

A feature-rich Telegram bot leveraging OpenAI's API to provide:

  • 🖼️ Text-to-ImageGeneration (DALL-E 3)
  • 💬 Smart Q&A (GPT-4)
  • 🎥 Simple Video Creation (Image sequences)

Python 3.11+ Docker License: MIT

Bot Demo

Features 🚀

Command Description Example
/start Show welcome message
/image <prompt> Generate AI artwork /image cyberpunk cat
/ask <question> Get expert answers /ask Explain quantum physics simply
/video <prompt> Create 5-second video /video sunset over mountains

Installation 📦

Prerequisites

Local Setup

git clone https://github.com/ayazayyub/telegram-chatbot.git
cd telegram-chatbot

# Install dependencies
pip install -r requirements.txt

# Set environment variables
export TELEGRAM_TOKEN="your_bot_token"
export OPENAI_API_KEY="your_openai_key"

# Run the bot
python __main__.py

About

A telegram chatbot that can answer accurately, can generate video and images etc.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •