Transform Images into AI Videos with MiniMax Hailuo 02. Upload to YouTube/TikTok
Go to WorkflowDescription
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 fal.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_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.
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.