Skip to main content

Transform images into AI videos with MiniMax Hailuo 02. Upload to YouTube/TikTok

Workflow preview

Workflow preview
100%
Transform images into AI videos with MiniMax Hailuo 02. Upload to YouTube/TikTok preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.stickynote, n8n-nodes-base.wait, n8n-nodes-base.scheduletrigger, n8n-nodes-base.if, n8n-nodes-base.googlesheets, n8n-nodes-base.set

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Davide.

Original n8n.io source

1.1 Workflow description

Title
Transform images into AI videos with MiniMax Hailuo 02. Upload to YouTube/TikTok
Workflow name
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 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.
  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 for consulting and support or add me on Linkedin.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Test workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Get status

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Wait 60 sec.

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 6 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 7 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Completed?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 10 - Update result

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 11 - Set data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 12 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Upload Video

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 15 - Get Url Video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 16 - Generate title

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 17 - Get File Video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 18 - Update Youtube URL

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 19 - Get new video

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 20 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Create video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 24 - Upload on Youtube

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Showing the first 24 of 25 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Transform images into AI videos with MiniMax Hailuo 02. Upload to YouTube/TikTok
Complexity advanced
Nodes 25
Categories Content Creation, Multimodal AI
Author Davide
Published 03 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5633/5633.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Transform images into AI videos with MiniMax Hailuo 02. Upload to YouTube/TikTok do?

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

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.