{
  "name": "Transform images into AI videos with MiniMax Hailuo 02. Upload to YouTube/TikTok",
  "nodes": [
    {
      "id": "a8a67e64-0f0b-46c2-9fcf-8b6254b6f6e9",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        0,
        2040
      ]
    },
    {
      "id": "2a5c8f94-c94b-48f4-8c63-611f75cba992",
      "name": "Get status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1060,
        2040
      ]
    },
    {
      "id": "cebf2524-3bd8-4c01-b9c7-338d0ea8a7bf",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        420
      ],
      "parameters": {
        "width": 540,
        "height": 360,
        "content": "## Image\n![image](https://n3wstorage.b-cdn.net/n3witalia/girl-beach.jpeg)"
      }
    },
    {
      "id": "82f89972-2c96-4e43-bede-4797afad0f64",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        820
      ],
      "parameters": {
        "width": 540,
        "height": 180,
        "content": "## Prompt\nThe girl is windsurfing with her dog\n\n## Result\nhttps://n3wstorage.b-cdn.net/n3witalia/girl-beach.mp4"
      }
    },
    {
      "id": "ff479d7a-f475-4290-9f12-0593eb694c94",
      "name": "Wait 60 sec.",
      "type": "n8n-nodes-base.wait",
      "position": [
        880,
        2040
      ]
    },
    {
      "id": "9dd6e755-896d-4db7-bd7c-11cb22e82da3",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        0,
        1900
      ]
    },
    {
      "id": "8e6f9c27-df72-47de-839d-596027a90aa5",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        140
      ],
      "parameters": {
        "width": 540,
        "height": 240,
        "content": "# Image to Video with MiniMax Hailuo 02\n\nThis 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 upl"
      }
    },
    {
      "id": "187b9864-95c5-45d2-970f-fde41b28163a",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        1040
      ],
      "parameters": {
        "width": 740,
        "height": 220,
        "content": "## STEP 1 - GOOGLE SHEET\nCreate a [Google Sheet like this](https://docs.google.com/spreadsheets/d/193tDO6xw8aSMO7lVC5kFyvlnmAdpHyGMmUbLBJUhhNs/edit?usp=sharing).\n\nPlease insert:\n- in the \"IMAGE\" colum"
      }
    },
    {
      "id": "3801fdb4-ff38-41e1-ab99-18cbe0daf3c5",
      "name": "Completed?",
      "type": "n8n-nodes-base.if",
      "position": [
        1240,
        2040
      ]
    },
    {
      "id": "8f5c867f-97e4-4aba-8f5f-29e2e85afe20",
      "name": "Update result",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        920,
        2300
      ]
    },
    {
      "id": "ca4e06ec-2d0d-4e31-b5d1-a14a2125f077",
      "name": "Set data",
      "type": "n8n-nodes-base.set",
      "position": [
        440,
        2040
      ]
    },
    {
      "id": "9bfda76a-d6ed-47bb-897a-1f7ce68950fd",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        1740
      ],
      "parameters": {
        "width": 740,
        "height": 100,
        "content": "## STEP 4 - MAIN FLOW\nStart the workflow manually or periodically by hooking the \"Schedule Trigger\" node. It is recommended to set it at 5 minute intervals."
      }
    },
    {
      "id": "f51bfb2a-cbe0-4cfa-84b6-8b893ca2c475",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        1300
      ],
      "parameters": {
        "width": 740,
        "height": 140,
        "content": "## STEP 2 - GET API KEY (YOURAPIKEY)\nCreate an account [here](https://fal.ai/) and obtain API KEY.\nIn the node \"Create Image\" set \"Header Auth\" and set:\n- Name: \"Authorization\"\n- Value: \"Key YOURAPIKE"
      }
    },
    {
      "id": "cb265072-6c63-4134-8ace-6e0597dfa779",
      "name": "Upload Video",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        740,
        2300
      ]
    },
    {
      "id": "e71b084f-bb35-4f76-ba82-1da85b835666",
      "name": "Get Url Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        0,
        2300
      ]
    },
    {
      "id": "79831c8a-8248-4604-82ea-1bd993b268fc",
      "name": "Generate title",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        180,
        2300
      ]
    },
    {
      "id": "e16a883b-6210-4577-bcda-ae5f12ee5c83",
      "name": "Get File Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        520,
        2300
      ]
    },
    {
      "id": "3a7e9d11-9bb1-4d8f-b7a5-d8bf085a6d2e",
      "name": "Update Youtube URL",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        920,
        2540
      ]
    },
    {
      "id": "e9c82e9e-bb66-4cb9-aa74-86b3944a4c56",
      "name": "Get new video",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        220,
        2040
      ]
    },
    {
      "id": "d7a46ca6-dc36-4e7d-b117-d8c836e71bbd",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        700,
        2480
      ],
      "parameters": {
        "width": 180,
        "height": 440,
        "content": "Set YOUR_USERNAME in Step 3"
      }
    },
    {
      "id": "cefa654d-4572-4520-a545-77152c9ef25a",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        1480
      ],
      "parameters": {
        "width": 740,
        "height": 220,
        "content": "## STEP 3 - Upload video on Youtube and TikTok\n- Find your API key in your [Upload-Post Manage Api Keys](https://www.upload-post.com/?linkId=lp_144414&sourceId=n3witalia&tenantId=upload-post-app) 10 F"
      }
    },
    {
      "id": "93158511-58ed-4890-9aac-48eba0ccfbdf",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        620,
        1980
      ],
      "parameters": {
        "width": 180,
        "height": 200,
        "content": "Set duration (6 or 10 sec.)"
      }
    },
    {
      "id": "f3205b9f-e939-4b68-8f27-098c8a02e763",
      "name": "Create video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        660,
        2040
      ]
    },
    {
      "id": "d87b77a8-81b7-4598-b05c-4ff97cdd32c3",
      "name": "Upload on Youtube",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        740,
        2540
      ]
    },
    {
      "id": "63a38338-b734-4e94-bfa9-648e9fa2a3b6",
      "name": "Upload on TikTok",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        740,
        2760
      ]
    }
  ],
  "connections": {
    "Set data": {
      "main": [
        [
          {
            "node": "Create video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Completed?": {
      "main": [
        [
          {
            "node": "Get Url Video",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait 60 sec.",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get status": {
      "main": [
        [
          {
            "node": "Completed?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create video": {
      "main": [
        [
          {
            "node": "Wait 60 sec.",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Video": {
      "main": [
        [
          {
            "node": "Update result",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 60 sec.": {
      "main": [
        [
          {
            "node": "Get status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Url Video": {
      "main": [
        [
          {
            "node": "Generate title",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get new video": {
      "main": [
        [
          {
            "node": "Set data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate title": {
      "main": [
        [
          {
            "node": "Get File Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get File Video": {
      "main": [
        [
          {
            "node": "Upload Video",
            "type": "main",
            "index": 0
          },
          {
            "node": "Upload on Youtube",
            "type": "main",
            "index": 0
          },
          {
            "node": "Upload on TikTok",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload on Youtube": {
      "main": [
        [
          {
            "node": "Update Youtube URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Get new video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}