Templates / Build an image restoration service with n8n & Gemini AI image editing

Build an image restoration service with n8n & Gemini AI image editing

Ready for 3.0

by Jimleuk ✓ · 2,439 views · created 2025-06-09 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 9 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Drive. It also calls generativelanguage.googleapis.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Sample Images (Edit Fields (Set)): sets 1 field: url
  2. Split Out: splits a list into separate items
  3. Download Image (HTTP Request): calls an HTTP API
  4. Extract from File: extracts data from a file (binary to propery)
  5. Gemini Image Restoration (HTTP Request): calls generativelanguage.googleapis.com (POST)
  6. Get Image Contents (Edit Fields (Set)): sets 2 fields: image, mimeType
  7. Convert to File: converts data to a file (to binary)
  8. Upload to Drive (Google Drive): uses Google Drive

Services it uses

Google Drive

HTTP calls to: generativelanguage.googleapis.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (7)

From the author

This n8n template demonstrates how to build a simple but effective vintage image restoration service using an AI model with image editing capabilities. With Gemini now capable of multimodal output, it's a great time to explore this capability for image or…

Excerpt from Jimleuk's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.