🎬 Telegram bot: analyze images with GPT-4o-Mini/NVIDIA Vila & generate images with Stable Diffusion 3

⚡ 394 views · 🎬 Content Creation & Video

Description

Introduction

Transform your Telegram bot into an AI vision system using GPT-4o-Mini and NVIDIA Stable Diffusion 3. Perfect for content moderators, researchers, and developers.

Workflow Explanatory

  1. At start: Processes Telegram messages: images→analysis, text→image generation
  2. At Router: Routes by content type
  3. Upper path: Analyzes images using Nvidia Vila + GPT-4o-Mini
  4. Lower path: Generates images from text via Stable Diffusion 3
  5. At Merge: Combines AI results
  6. At Gmail: Emails processed results

How It Works

  1. Telegram Trigger listens for messages (images, text, documents)
  2. Content Router directs images → AI analysis, text → image generation
  3. Image Analysis: Downloads image → GPT-4o-Mini vision analysis → Email results
  4. Image Generation: Text prompt → Stable Diffusion 3 → Email generated image
  5. Gmail Notifications send formatted reports

Prerequisites

Setup Steps

Setup Steps

  1. ** Create Telegram Bot** - Create Telegram bot and obtain token
  2. ** Configure API Credentials** - Configure API credentials in HTTP Request nodes
  3. ** Set Up Gmail OAuth2** - Set up Gmail OAuth2
  4. ** Import and Activate Workflow** - Import workflow, update credentials, and activate

Customization Options

Benefits

🔗 Nodes Used

HTTP Request, Telegram, Telegram Trigger, Gmail, OpenAI

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup