Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Easy Image Captioning with Gemini 1.5 Pro

n8n template #2418
This n8n workflow demonstrates how to automate image captioning tasks using Gemini 1.5 Pro - a multimodal LLM which can accept and analyse images. This is a really simple example of how easy it is to build and leverage powerful AI models in your repetitive tasks. How it works For this demo, we'll import a public image from a popular stock photography website, Pexel.com, into our workflow using the HTTP request node. With multimodal LLMs, there is little do preprocess other than ensuring the image dimensions fit within the LLMs accepted limits. Though not essential, we'll resize the image using the Edit image node to achieve fast processing. The image is used as an input to the basic LLM node

How to set it up

  1. Open template #2418 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
  2. Create a credential under Credentials → Add credential: Google Gemini Chat Model. Then open each of those nodes and pick the credential.
  3. Check the model in the Google Gemini Chat Model node. The template may point at a model your account can't use; swap it for one you have access to.
  4. Click Execute workflow and step through each node's output to confirm the data looks right.
  5. Toggle the workflow to Active so its trigger runs on its own.

Hand off to your agent

Prompt

Help me set up the n8n workflow "Easy Image Captioning with Gemini 1.5 Pro" (https://n8n.io/workflows/2418). It uses: Edit Image, HTTP Request, Code, Basic LLM Chain, Structured Output Parser, Google Gemini Chat Model. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Questions

Yes. Jimleuk published it free on n8n.io as a verified creator, and it has 12K views. It runs on n8n Cloud or a self-hosted n8n instance.

Google Gemini Chat Model. The other 5 nodes are built into n8n.

Similar workflows

NameViews
  1. Host Your Own AI Deep Research Agent with n8n, Apify and OpenAI o348K
  2. CV Resume PDF Parsing with Multimodal Vision AI16K
  3. Transcribing Bank Statements To Markdown Using Gemini Vision AI15K
  4. 🤖💬 Conversational AI Chatbot with Google Gemini for Text & Image | Telegram11K
  5. Explore n8n Nodes in a Visual Reference Library5,197
  6. Automate AI video creation & multi-platform publishing with Gemini & Creatomate5,035
  7. Automate data extraction from faxes & PDFs using Google Gemini and Google Sheets726
  8. ✨🤖Automate Multi-Platform Social Media Content Creation with AI205K