🎬 Generate video from prompt using Vertex AI Veo 3 and upload to Google Drive

⚑ 23,158 views · 🎬 Content Creation & Video

Description

Who’s it for

This template is perfect for content creators, AI enthusiasts, marketers, and developers who want to automate the generation of cinematic videos using Google Vertex AI’s Veo 3 model. It’s also ideal for anyone experimenting with generative AI for video using n8n.

Alt text

What it does

This workflow:

Alt text

Output

Alt text

How to set up

  1. Enable Vertex AI API in your GCP project: https://console.cloud.google.com/marketplace/product/google/aiplatform.googleapis.com

  2. Authenticate with GCP using Cloud Shell or local terminal:

gcloud auth login
gcloud config set project [YOUR_PROJECT_ID]
gcloud auth application-default set-quota-project [YOUR_PROJECT_ID]
gcloud auth print-access-token
  1. Connect your Google Drive OAuth2 credentials to allow file upload.

  2. Import this workflow into n8n and execute it via form trigger.

Requirements

How to customize the workflow

Step-by-step for each major node:

Prompt Input β†’ Vertex Predict β†’ Wait β†’ Fetch Result β†’ Convert to File β†’ Upload

Best Practices Followed

External References

Disclaimer

Notes on GCP Access Token

To use the Vertex AI API in n8n securely:

  1. Run the following on your local machine or GCP Cloud Shell:
gcloud auth login
gcloud config set project your-project-id
gcloud auth print-access-token
  1. Paste the token in the workflow form field YOUR_ACCESS_TOKEN when submitting.
  2. Do not hardcode the token into HTTP nodes or Set nodes β€” input it each time or use a secure credential vault.

πŸ”— Nodes Used

HTTP Request, Google Drive, n8n Form Trigger, Convert to File

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup