This n8n workflow automates the process of generating videos from AI prompts, monitoring their progress, and storing the finished videos in Google Drive. It starts by retrieving prompts from a Google Sheet and creating multiple variations of each prompt through code. For each prompt variation, it sends a request to an AI video generation API, then repeatedly checks the status of video rendering. Once completed, it downloads the video as a Base64 file and uploads it to a specified Google Drive folder. This workflow is ideal for content creators or marketing teams automating large-scale video production from text prompts, saving manual effort and ensuring organized storage.
The process begins with reading prompts from Google Sheets, duplicating each prompt to generate variations, then processing each variation in batches to manage API rate limits. For each, it sends a request to the AI video creation API with the prompt, then polls for the status of the video. When the API indicates the video is ready, it downloads the video, encodes it, and uploads it to Google Drive with a descriptive filename that includes prompt details and variation number. The workflow includes waiting periods to handle API response times effectively and multiple routes based on the video generation status. This automation streamlines large-scale video creation workflows, especially when integrating AI tools and cloud storage solutions.
Reviews
There are no reviews yet.