Skip to content

A text to image telegram bot, made with python telebot, used ✨ segmind api

License

Notifications You must be signed in to change notification settings

saahiyo/segmind_telebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram AI Image Generator Bot

This Telegram bot, powered by Segmind, utilizes AI to generate realistic images from text queries or photos. It can be used to create unique and imaginative visual content based on user prompts.

Table of Contents

Introduction

🤖 Welcome to the Telegram AI Image Generator Bot! This bot is designed to generate realistic images through AI-powered algorithms. Users can provide prompts or text queries, and the bot will create unique visual content based on these inputs.

used model

SD1.5-Juggernaut

Getting Started

Prerequisites

  • Python 3.11.4
  • Install dependencies using pip install -r requirements.txt
  • segmind api_key

Installation

  1. Clone the repository:

    git clone https://github.com/saahiyo/segmind_telebot .git
    cd segmind_telebot 
  2. Install dependencies:

    pip install -r requirements.txt

Usage

  1. Edit config.py and add token or api_key

  2. Start the bot by running the main script:

    python YourBotScript.py
  3. Use the /start command to initiate the bot and receive introductory information.

  4. Use the /gen command followed by your prompt to generate images. For example:

    /gen YourPromptHere

Examples

DEMO

DEMO2

DEMO3

.