AI Agents

Instant object detection with Gemini 2.0

14 nodes 241 134 Automatic trigger
Download

Workflow Description

Automation that detects objects in images instantly using Gemini 2.0's advanced AI model. Trigger manually, send image data via HTTP request, and receive detailed object detection results with coordinates and classifications in seconds.

How it works

  1. 1.Trigger the workflow manually by providing an image URL or file
  2. 2.Prepare and format the image data for the Gemini 2.0 API request
  3. 3.Send the image through HTTP Request to Google's object detection service
  4. 4.Parse the API response to extract detected objects and their attributes
  5. 5.Log and format the results for downstream use or storage

Use cases

  • Automate quality checks by detecting defects or specific objects in product images
  • Analyze customer-submitted photos to identify issues or damage instantly
  • Organize and tag image libraries based on detected objects for better searchability

Requirements

  • Valid Gemini 2.0 API key with proper authentication configured
  • Image files in standard formats (JPG, PNG) accessible via URL or direct upload

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Manual Trigger Set HTTP Request Code Edit Image Note

Details

Trigger Automatic trigger
Nodes 14
Apps 6
Views 241
Downloads 134

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 (14)

/

When clicking ‘Test workflow’

Manual Trigger

#1

Get Variables

Set

#2

Get Test Image

HTTP Request

#3

Gemini 2.0 Object Detection

HTTP Request

#4

Scale Normalised Coords

Code

#5

Draw Bounding Boxes

Edit Image

#6

Get Image Info

Edit Image

#7

Sticky Note

Sticky Note

#8

Sticky Note1

Sticky Note

#9

Sticky Note2

Sticky Note

#10

Sticky Note3

Sticky Note

#11

Sticky Note4

Sticky Note

#12

Sticky Note5

Sticky Note

#13

Sticky Note6

Sticky Note

#14