AI Image Generation Bot

Perfect if you want to offer AI image generation as a feature inside your bot — for a product mockup tool, a creative playground, a marketing add-on, or just a fun reason for people to come back. It works from a short text description alone; no reference image upload is required.

Flow Preview

AI Image GenerationAI Image Menu

Overview

Turn a short text brief into a real AI-generated image, right inside the chat. Users pick a material or style, describe what they want in a sentence, and get a finished image sent straight back — no design tool, no separate app.

Who It's For

Perfect if you want to offer AI image generation as a feature inside your bot — for a product mockup tool, a creative playground, a marketing add-on, or just a fun reason for people to come back. It works from a short text description alone; no reference image upload is required.

Setup Requirements

  • 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.
  • 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.

Node Breakdown

  • 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

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.

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.