Generate vertical AI videos with OpenAI, Grok Imagine, fal.ai and Google Drive
Quick Overview
Description
Quick Overview This workflow collects a video idea via an n8n Form, uses OpenAI to turn it into a vertical video prompt, generates a short clip with fal.ai (xAI Grok Imagine Video), then downloads the MP4 and saves it to Google Drive. How it works Receives a submission from an n8n Form with the video idea, style, and desired length. Uses OpenAI to rewrite the idea into a single detailed 9:16 video prompt and a clean filename in JSON format. Builds a fal.ai text-to-video request (duration, 9:16 aspect ratio, 720p resolution) and starts the render job via the fal.ai queue API. Polls the fal.ai status URL every configured interval until the job completes or the maximum number of checks is reached. When rendering is complete, fetches the output URL, downloads the MP4 file, and uploads it to the selected Google Drive folder. Setup Add an OpenAI credential for the prompt-writing step and ensure the selected model is available to your account. Create a fal.ai API key and configure an HTTP Header Auth credential using Authorization: Key YOUR_FAL_KEY, then select it for the fal.ai requests. Add a Google Drive OAuth credential and choose the target Drive and folder where the MP4 should be saved. Publish the workflow and use the form’s production URL to submit video ideas. An n8n automation workflow template by Daniel Lubin.
Community Metrics
Author
Daniel Lubin
Platform
web
Pricing model
free
Categories
- Automation
- AI
Tags
- n8n
- workflow
- http-request
- google-drive
- code
- openai
Capabilities
- 4 nodes