Transform Images into AI Videos with MiniMax Hailuo 02 & Upload to YouTube/TikTok
This automated workflow takes a static image and a textual prompt and transforms them into an animated video using the **MiniMax Hailuo 02** model. It then uploads the generated video to **YouTube and TikTok**, and updates a Google Sheet with relevant links and metadata. ### Benefits of This Workflow * **Fully Automated Pipeline**: From prompt to video to social media publication - all without manual intervention. * **Scalable Content Creation**: Generate and distribute dozens of videos per hour with minimal human input. * **Cross-Platform Posting**: Automatically pushes content to **YouTube and TikTok** simultaneously. * **SEO Optimization**: Uses AI to generate catchy, keyword-rich video titles that improve visibility. * **Easy Integration**: Based on Google Sheets for input/output, making it accessible to non-technical users. * **Time-Efficient**: Batch-processing enabled with scheduled runs every few minutes. * **Customizable Duration**: Video duration can be adjusted (default is 6 seconds). --- ### **How It Works** 1. **Trigger & Data Fetching**: - The workflow starts either manually or via a scheduled trigger (e.g., every 5 minutes). - It checks a Google Sheet for new entries where the VIDEO column is empty, indicating pending video generation tasks. 2. **Video Creation**: - For each entry, the workflow extracts the **image URL** and **prompt** from the Google Sheet. - It sends these inputs to the **MiniMax Hailuo 02** to generate a video. The API processes the image and prompt, optimizes the prompt, and creates a short video (default: 6 seconds). 3. **Status Monitoring**: - The workflow polls the API every 60 seconds to check if the video is **COMPLETED**. - Once ready, it retrieves the video URL and uploads the file to **Google Drive**. 4. **YouTube & TikTok Upload**: - The video is sent to **YouTube** and **TikTok** via the Upload-Post.com API (The free plan allows uploads to all platforms except TikTok. To enable, upgrade to a paid plan.). - A GPT-generated SEO-optimized title is created for the video. - The Google Sheet is updated with the video URL and YouTube link. --- ### **Set Up Steps** 1. **Google Sheet Setup**: - Create a Google Sheet with columns: **IMAGE** (input image URL), **PROMPT** (video description), **VIDEO** (auto-filled), and **YOUTUBE_URL** (auto-filled). - Link the sheet to the workflow using the **Google Sheets node**. 2. **API Keys**: - Obtain a **fall.run API key** (for MiniMax Hailuo) and configure the Authorization header in the Create video node. - Get an **Upload-Post.com API key** (10 free uploads/month) and set it in the Upload on YouTube/TikTok nodes. 3. **Workflow Configuration**: - Replace `YOUR_USERNAME` in the Upload-Post nodes with your profile name (e.g., test1). - Adjust the video **duration** (6 or 10 seconds) in the Create video node. - Set the **Schedule Trigger** interval (e.g., 5 minutes) to automate checks for new tasks. 4. **Execution**: - Run the workflow manually or let the scheduler process new rows automatically. - The system handles video generation, uploads, and Google Sheet updates end-to-end. --- ### **Need help customizing?** [Contact me](mailto:info@n3w.it) for consulting and support or add me on [LinkedIn](https://www.linkedin.com/in/davideboizza/).
This automated workflow takes a static image and a textual prompt and transforms them into an animated video using the MiniMax Hailuo 02 model. It then uploads the generated video to YouTube and TikTok, and updates a Google Sheet with relevant links and metadata.
Benefits of This Workflow
- Fully Automated Pipeline: From prompt to video to social media publication - all without manual intervention.
- Scalable Content Creation: Generate and distribute dozens of videos per hour with minimal human input.
- Cross-Platform Posting: Automatically pushes content to YouTube and TikTok simultaneously.
- SEO Optimization: Uses AI to generate catchy, keyword-rich video titles that improve visibility.
- Easy Integration: Based on Google Sheets for input/output, making it accessible to non-technical users.
- Time-Efficient: Batch-processing enabled with scheduled runs every few minutes.
- Customizable Duration: Video duration can be adjusted (default is 6 seconds).
How It Works
- Trigger & Data Fetching:
- The workflow starts either manually or via a scheduled trigger (e.g., every 5 minutes).
- It checks a Google Sheet for new entries where the VIDEO column is empty, indicating pending video generation tasks.
- Video Creation:
- For each entry, the workflow extracts the image URL and prompt from the Google Sheet.
- It sends these inputs to the MiniMax Hailuo 02 to generate a video. The API processes the image and prompt, optimizes the prompt, and creates a short video (default: 6 seconds).
- Status Monitoring:
- The workflow polls the API every 60 seconds to check if the video is COMPLETED.
- Once ready, it retrieves the video URL and uploads the file to Google Drive.
- YouTube & TikTok Upload:
- The video is sent to YouTube and TikTok via the Upload-Post.com API (The free plan allows uploads to all platforms except TikTok. To enable, upgrade to a paid plan.).
- A GPT-generated SEO-optimized title is created for the video.
- The Google Sheet is updated with the video URL and YouTube link.
Set Up Steps
- Google Sheet Setup:
- Create a Google Sheet with columns: IMAGE (input image URL), PROMPT (video description), VIDEO (auto-filled), and YOUTUBE_URL (auto-filled).
- Link the sheet to the workflow using the Google Sheets node.
- API Keys:
- Obtain a fall.run API key (for MiniMax Hailuo) and configure the Authorization header in the Create video node.
- Get an Upload-Post.com API key (10 free uploads/month) and set it in the Upload on YouTube/TikTok nodes.
- Workflow Configuration:
- Replace
YOUR_USERNAMEin the Upload-Post nodes with your profile name (e.g., test1). - Adjust the video duration (6 or 10 seconds) in the Create video node.
- Set the Schedule Trigger interval (e.g., 5 minutes) to automate checks for new tasks.
- Replace
- Execution:
- Run the workflow manually or let the scheduler process new rows automatically.
- The system handles video generation, uploads, and Google Sheet updates end-to-end.
Need help customizing?
Contact me for consulting and support or add me on LinkedIn.
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Related bundle
Content Repurposing Engine
8 hand-picked workflows for $29.00.
That is $3.63 each, vs $14.99 for this one alone.
View bundleSecure checkout powered by Stripe
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Media & Entertainment workflows
- Automate AI Video Creation and Social Media Publishing$24.99
- Automate AI-Driven YouTube Shorts with VEO3 and Google Gemini$9.99
- Automate Cinematic Video Creation from Story Ideas via Slack$19.99
- Automate ASMR YouTube Shorts Creation with AI and Seamless Publishing$19.99
- Automate Video Downloads to Google Drive Using RapidAPI$14.99
- Transform Podcasts into Viral TikTok Clips with Gemini+ Multi-Platform Posting$24.99
More from Davide
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.