Template

AI Image Generation Bot

Turns a short text description into an AI-generated image inside the chat. The user picks a material or style, describes the picture in a sentence, and the bot sends the image back.

Who it's for: For brands, studios and creators who want to give their audience an image generator in Telegram. Works from text alone, with no photo upload. Handy for product mockups, creative play or a marketing extra.

  1. 🎨 Turn an idea into a picture! Pick a material or style, add a short brief, and I'll generate a fresh AI image for you. ✨
    🎨 Create imageπŸ’‘ How it works
  2. 🎨 Create image
  3. 🎨 First, choose a material or style for your image. πŸ‘‡
    ⬜ MarbleπŸͺ΅ Oak wood
    βš™οΈ Brushed steel✍️ Custom
  4. ⬜ Marble
  5. πŸ“ Now describe the image you want. Example: Β«a modern chair in a bright studio, front viewΒ». The more detail, the better the result! ✨
  6. A round coffee table in a sunny living room
  7. πŸŽ‰ Here's your image β€” hope you love it! Want to try another idea? πŸ‘‡
    πŸ” Generate another
A user creates an image from a short description

How it works

  • Someone opens your bot and sees the pitch: pick a material or style, describe an image, get it generated
  • They tap a material/style button β€” or type their own if it's not in the list
  • They type a one-line brief describing what they want
  • The bot generates the image and sends it straight back in the chat as a real photo, not a link to click
  • If generation fails for any reason, they see what went wrong and get a Try again button
  • After a successful image, they're offered another round right away

Setup requirements

  • Connect your Telegram bot: Settings β†’ Bots β†’ paste the token from @BotFather.
  • Install the AI Image Generation module if it isn't already β€” it comes preconfigured with OpenAI GPT Image 1.5; switch the provider or model in its setup form if you want a different one.
  • Press Deploy.
  • Test it for real: send /start, pick a material or style, type a brief, and confirm an image comes back in the chat.
  • Want different materials or styles in the menu? Edit the buttons in the "Choose Material" step.

Details

Good to know

  • Images are generated one at a time, at 1024Γ—1024 and "medium" quality by default β€” you can change these defaults, or make them user-choosable, in the visual editor if you want variety or higher quality.
  • The image is delivered as a real photo message in the chat, not a link β€” recipients don't have to tap out to see it.
  • The AI provider and model come preconfigured (OpenAI, GPT Image 1.5), so image generation works right after install β€” switch them any time in the image-generation module's setup form.
  • If generation fails, the bot shows the actual error and offers an immediate retry, instead of leaving the user stuck.
  • The material/style buttons are samples β€” edit them, add your own, or keep the custom text option for anything not on the list.
  • Everything β€” the pitch, the style choices, and the messages β€” is editable afterwards in the visual editor.

Common questions

  • Decide which materials or styles should appear as quick-pick buttons.
  • Decide whether one generated image per request is enough, or whether people should be able to ask for a few variants.
  • Decide whether users should be able to upload a reference image, or a text-only brief is enough.

Keep in mind

  • Don't send the generated image as a plain text link β€” the template already delivers it as a real photo message, which is worth keeping.
  • Don't paste raw image data into messages or prompts β€” the bot passes a URL, not the image bytes.
  • If you swap out the image module for something else, make sure it still returns success/error outputs the retry logic can branch on.

The flow behind this bot

This is the whole flow you get. Once you add the template, you can change any message, button or step.

Read-only preview Β· 2 flowsOpen full-screen preview β†—

Ready to build on this?

Clone the template into your workspace and edit every message, button and action β€” nothing is locked.