GithubHelp home page GithubHelp logo

lampstack / telegram_ai_bot Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 2.0 11 KB

Telegram AI Robot.

License: MIT License

Python 100.00%
ai ai-art image-enhancement image-recognition image-resolution replicate replicate-api telegram-bot telegram-bot-api telegram-bots

telegram_ai_bot's Introduction

AI Tools Telegram Bot

Welcome to the AI Tools Telegram Bot, your personal assistant for creating AI-generated art, enhancing images, and more! This Telegram bot leverages the power of various AI models to perform tasks like generating art from text prompts, high-resolution image restoration, colorizing black and white photos, removing backgrounds, and describing the content of images.

Table of Contents

Features

  1. Create AI Art (Text To Image): Generate stunning AI art from text prompts.
  2. Robust Face Restoration: Restore old photos with a robust face restoration algorithm.
  3. Add Colors to Old Images: Colorize black and white photos to bring them to life.
  4. Remove Photo Backgrounds: Effortlessly remove backgrounds from photos.
  5. Visual Description AI: Get a detailed description of the content of an image.

Installation

To use the AI Tools Telegram Bot, follow these installation steps:

  1. Install the required Python libraries:

    pip install pyrogram==2.0.106 replicate asyncio requests
  2. Get your API tokens:

  3. Set environment variables:

    export REPLICATE_API_TOKEN="your_replicate_api_token"
  4. Update the API configurations in the script with your obtained tokens.

  5. Run the script:

    python bot.py

commands

Start the bot and use the following commands to interact with it:

  • /art [prompt]: Create AI art from a text prompt.
  • /resolution: Enhance the resolution of a photo (Reply to a photo).
  • /colorize: Add colors to a black and white photo (Reply to a photo).
  • /removebg: Remove the background of a photo (Reply to a photo).
  • /describe: Get a detailed description of the content of a photo (Reply to a photo).

Contributing

Contributions are welcome! Feel free to open issues or pull requests to improve the functionality or fix any bugs.

Contact

Telegram
Email

License

This project is licensed under the MIT License.

telegram_ai_bot's People

Contributors

lampstack avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.