Skip to main content

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

Workflow preview

Workflow preview
100%
Generate video from prompt using Vertex AI Veo 3 and upload to Google Drive preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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. I...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.set, n8n-nodes-base.converttofile, n8n-nodes-base.formtrigger, n8n-nodes-base.googledrive, n8n-nodes-base.httprequest, n8n-nodes-base.stickynote, n8n-nodes-base.wait

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Jaruphat J..

Original n8n.io source

1.1 Workflow description

Title
Generate video from prompt using Vertex AI Veo 3 and upload to Google Drive
Workflow name
Generate video from prompt using Vertex AI Veo 3 and upload to Google Drive

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.

What it does

This workflow:

  • Accepts a text prompt and a GCP access token via form.
  • Sends the prompt to the Veo 3 (preview model) using Vertex AI’s predictLongRunning endpoint.
  • Waits for the video rendering to complete.
  • Fetches the final result and converts the base64-encoded video to a file.
  • Uploads the resulting .mp4 to your Google Drive.

Output

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
  • Copy the token and use it in the form when running the workflow.
  • ⚠️ This token lasts ~1 hour. Regenerate as needed.
  1. Connect your Google Drive OAuth2 credentials to allow file upload.

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

Requirements

  • n8n (v1.94.1+)
  • A Google Cloud project with:
    • Vertex AI API enabled
    • Billing enabled
  • A way to get Access Token gcloud auth print-access-token
  • A Google Drive OAuth2 credential connected to n8n

How to customize the workflow

  • You can modify the

    • durationSeconds
    • aspectRatio
    • generateAudio
  • in the HTTP node to match your use case.

  • Replace the Google Drive upload node with alternatives like Dropbox, S3, or YouTube upload.

  • Extend the workflow to add subtitles, audio dubbing, or LINE/Slack alerts.

Step-by-step for each major node:

Prompt Input → Vertex Predict → Wait → Fetch Result → Convert to File → Upload

Best Practices Followed

  • No hardcoded API tokens
  • Secure: GCP token is input via form, not stored in workflow
  • All nodes are renamed with clear purpose
  • All editable config grouped in Set node

External References

Disclaimer

  • This workflow uses official Google Cloud APIs and requires a valid GCP project.
  • Access token should be generated securely using gcloud CLI.
  • Do not embed tokens in the workflow itself.

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.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Setting

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 2 - Convert to File

Type / Role
n8n-nodes-base.convertToFile - convertToFile
Config choices
Version 1.1

Block 3 - On form submission

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 4 - Google Drive

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 5 - Vertex AI-VEO3

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 6 - Vertex AI-fetch

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 10 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Generate video from prompt using Vertex AI Veo 3 and upload to Google Drive
Complexity advanced
Nodes 15
Categories Content Creation, Multimodal AI
Author Jaruphat J.
Published 24 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5228/5228.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate video from prompt using Vertex AI Veo 3 and upload to Google Drive do?

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. I...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.