Telegram Bot with OpenAI Integration

This is a Telegram bot that integrates with OpenAI's GPT-3.5 API to generate text and images based on user input.

Features

  • Responds to user messages with AI-generated text using OpenAI's GPT-3.5.
  • Generates images based on user descriptions using OpenAI's image generation API.

Acknowledgments

  • OpenAI for providing the GPT-3.5 API.
  • Telegram for providing the bot platform.

Prerequisites

  • Python 3.7+
  • A Telegram bot token from BotFather
  • An OpenAI API key

Installation

  • Clone the repository:

    git clone https://github.com/anurmamedov/telegram_bot.git

image