Generate 8-second product ad videos from Drive images with Gemini and Veo

Go to Workflow
0 views
Built by Vuong Nguyen Vuong Nguyen
Created on June 12, 2026

Description

How it works
This workflow generates an 8-second product advertising video from a single input image. It downloads the image from Google Drive, converts it to base64 for the API request, analyzes it with Gemini (Creative Visualiser), then turns the description into a short video script/prompt. The prompt + image are sent to Veo to start a long-running video generation job. The workflow polls until a video URI is available, downloads the MP4, and uploads it back to Google Drive.

Setup
1) Connect credentials used in this workflow: Google Drive + Google Gemini, and an API key for the Veo HTTP requests.
2) Set the input image file in Download ad image.
3) Set the output folder in Upload to Drive.
4) (Optional) Adjust aspectRatio, resolution, and durationSeconds in Generate Video, then execute the workflow.

Nodes Used (6)

Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
Google Drive
n8n-nodes-base.googleDrive
Google Gemini
@n8n/n8n-nodes-langchain.googleGemini
Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
HTTP Request
n8n-nodes-base.httpRequest
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured