An open API service indexing awesome lists of open source software.

https://github.com/saahiyo/segmind_telebot

A text to image telegram bot, made with python telebot, used ✨ segmind api
https://github.com/saahiyo/segmind_telebot

ai api juggernaut-api segmind telebot-library telegram telegram-bot text-to-image texttoimage

Last synced: 9 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# Telegram AI Image Generator Bot

This Telegram bot, powered by [Segmind](https://segmind.com/), 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](#introduction)
- [Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Usage](#usage)
- [Examples](#examples)

## 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:
```bash
git clone https://github.com/saahiyo/segmind_telebot .git
cd segmind_telebot
```

2. Install dependencies:
```bash
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:
```bash
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:
```bash
/gen YourPromptHere
```

## Examples

![DEMO](https://github.com/saahiyo/segmind_telebot/assets/81853097/300a800a-b944-4c97-a080-3b6b773d3532)

![DEMO2](https://github.com/saahiyo/segmind_telebot/assets/81853097/22628b24-0bd9-45a2-9696-e309e713883f)

![DEMO3](https://github.com/saahiyo/segmind_telebot/assets/81853097/2df672da-ff44-4b94-96a0-03b670f80354)

.