workflows.fit
Back to n8n workflows
n8n templateFreeBy Jaruphat J.

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

DevelopmentCore NodesData & StorageSetConvert To FileForm TriggerGoogle Drive
Loading interactive preview...

Template notes

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](https://drive.google.com/thumbnail?id=1pKMTF3Mk-zcX9qYEk6OW2IHwSXSYUmWx&sz=w1000)

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.

![Alt text](https://drive.google.com/thumbnail?id=1L9KKkuS0hk5LW9hpGJFB9giKYFZpmy4&sz=w1000) Output ![Alt text](https://drive.google.com/thumbnail?id=1Biq2vhbzaFLya1ZsF8PhGL1RRta7XkMK&sz=w1000)

How to set up 1. Enable Vertex AI API in your GCP project: [https://console.cloud.google.com/marketplace/product/google/aiplatform.googleapis.com](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 [YOURPROJECTID] gcloud auth application-default set-quota-project [YOURPROJECTID] 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.