AI Agents

Auto-generate Image Captions Using Gemini 1.5

16 nodes 221 131 Automatic trigger
Download

Workflow Description

Intelligent automation that analyzes photos with Google's Gemini 1.5 model to produce accurate, contextual captions automatically. Streamlines content documentation, improves accessibility, and saves hours of manual image description work.

How it works

  1. 1.Trigger the workflow manually or via incoming request
  2. 2.Send image to Gemini 1.5 for intelligent visual analysis
  3. 3.Parse and format the AI response into structured caption data
  4. 4.Deliver caption to destination (database, email, or API)

Use cases

  • Bulk captioning of product galleries for e-commerce platforms
  • Creating accessible alt-text for social media content libraries
  • Automating visual documentation for internal knowledge bases

Requirements

  • Google Gemini API key with image processing capability
  • Image files in standard formats (JPG, PNG, WebP, GIF)
  • Stable internet connection to communicate with Google Cloud services

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Gemini Output Parser LLM Chain

Details

Trigger Automatic trigger
Nodes 16
Apps 3
Views 221
Downloads 131

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (16)

/

When clicking ‘Test workflow’

Manual Trigger

#1

Google Gemini Chat Model

Gemini Model

#2

Structured Output Parser

Output Parser Structured

#3

Get Info

Edit Image

#4

Resize For AI

Edit Image

#5

Calculate Positioning

Code

#6

Apply Caption to Image

Edit Image

#7

Sticky Note

Sticky Note

#8

Merge Image & Caption

Merge

#9

Merge Caption & Positions

Merge

#10

Get Image

HTTP Request

#11

Sticky Note1

Sticky Note

#12

Sticky Note2

Sticky Note

#13

Sticky Note3

Sticky Note

#14

Sticky Note4

Sticky Note

#15

Image Captioning Agent

LLM Chain

#16