Hey! It’s under maintenance right now, coming soon!

Telegram BG Remover Bot - Documentation

This guide will help you deploy a fully functional Telegram bot that removes the background from images using the Remove.bg API and runs on Cloudflare Workers.


Step 1: Create a Telegram Bot

To create a Telegram bot, follow these steps:

  1. Open BotFather on Telegram.
  2. Send /newbot and follow the instructions.
  3. Choose a unique bot name and username.
  4. Bot Name: Can be anything (e.g., `bgremoveBot`)
  5. Copy the API Token provided by BotFather.

    Example API Token:

    API
    1234567890:ABCDEFGHIJKLMNOpQRSTUVWXYZ
  6. BotFather API Token Screenshot

Step 2: Get BG Remover API Key

To get an API key from Bg-Remover:

  1. Go to BG Remover API and sign up.
  2. Log in and navigate to the API Key section.
  3. Generate an API key and copy it.

    Example API Key:

    BG-REMOVER API
    uSPCzTnE7nEpSb9zqvUzekHw
  4. Telegram BG Remover Bot - Documentation Telegram BG Remover Bot - Documentation Telegram BG Remover Bot - Documentation Telegram BG Remover Bot - Documentation

Step 3: Deploy on Cloudflare Workers

Now, we will deploy our bot on Cloudflare Workers.

  1. Sign up or log in to Cloudflare.
  2. Go to Workers &awp; Pages in your Cloudflare dashboard.
  3. Click "Create Application" and select "Worker".
  4. Enter a name for your Worker and click "Deploy".
  5. After deployment, click on the Worker name to open its settings.
  6. Click "Edit Code" section.
  7. Delete the default code in the editor.
  8. Paste your code into the editor.
  9. Click "Save and Deploy" to update your Worker.
  10. Copy the assigned URL and use it as needed.
  11. Telegram BG Remover Bot - Documentation Telegram BG Remover Bot - Documentation Telegram BG Remover Bot - Documentation Telegram BG Remover Bot - Documentation Telegram BG Remover Bot - Documentation Telegram BG Remover Bot - Documentation Telegram BG Remover Bot - Documentation

Step 4: Set Webhook

To connect the bot with Cloudflare:

  1. Now Open Webhook Setter Tool
  2. Free-Background-Remover-Tool-Script-for-blogger
  3. Replace Bot Token & Cloudflate-Workers Url.
  4. Enter Your Bot Token → Your Bot API Token
  5. Enter Your Server URL → Your Cloudflare Worker URL
  6. Done! Test Your Bot

    Now, open Telegram, send any image, and see the background magically removed!

    Telegram Bot Response Screenshot

Watch this video for better guidance on setting up and using the bot.

Youtube video

Need Help?

If you face any issues, feel free to ask on Comment Section!

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.