AI Image Remix & Design Bot for Telegram with BrowserAct & Gemini
This workflow transforms your Telegram bot into an intelligent creative assistant. It can chat conversationally, fetch trending image prompts from PromptHero for inspiration, or perform a deep "remix" of any photo you upload by analyzing its composition and regenerating it with high-fidelity prompt engineering.
Target Audience
Digital artists, designers, content creators, and hobbyists looking for AI-assisted inspiration and image generation.
How it works
- Traffic Control: The workflow starts with a Telegram Trigger and immediately splits traffic: new messages go one way, while interactive button clicks (like "Regenerate") go another.
- Intent Classification: An AI Agent analyzes text inputs to decide if the user wants to "Chat" (small talk) or "Start" a creative session (fetch inspiration).
- Inspiration Mode: If "Start" is detected, BrowserAct scrapes trending prompts from PromptHero and saves them to a Google Sheet.
- Visual Forensics: If the user uploads an image, an AI Vision Agent (using OpenRouter/Gemini) analyzes it in extreme detail (lighting, composition, subjects) and saves the description.
- Master Prompt Engineering: Specialized AI Agents expand these inputs (either scraped prompts or image descriptions) into massive, detailed prompts using the "Rule of Multiplication."
- Production: Google Gemini generates the new image, which is sent back to Telegram with interactive buttons to "Regenerate" or move to the "Next" idea.
⚠️ Complex Workflow
This workflow is complex.
Please proceed using the tutorial video.
How to set up
- Configure Credentials: Connect your Telegram, Google Sheets, BrowserAct, Google Gemini, and OpenRouter accounts in n8n.
- Prepare BrowserAct: Ensure the Image Remix & Design Bot template is saved in your BrowserAct account.
- Setup Google Sheet: Create a Google Sheet with four tabs:
PromptHero, Current State, UserImage, and Current Image.
- Connect Sheet: Open all Google Sheets nodes in the workflow and paste your spreadsheet ID.
- Configure Telegram: Ensure your bot is created via BotFather and the API token is added to the Telegram credentials.
- Activate: Turn on the workflow.
Requirements
- BrowserAct account with the Image Remix & Design Bot template.
- Telegram account (Bot Token).
- Google Sheets account.
- Google Gemini account.
- OpenRouter account (or compatible LLM credentials).
How to customize the workflow
- Change Art Style: Modify the system prompt in the Generate Image agents to enforce a specific style (e.g., "Cyberpunk," "Watercolor," or "Photorealistic").
- Add More Sources: Update the BrowserAct template to scrape prompts from other sites like Civitai or Midjourney feed.
- Switch Image Model: Replace the Gemini image generation node with Stable Diffusion or DALL-E 3 if you prefer different aesthetics.
Need Help?
Workflow Guidance and Showcase Video