{
  "name": "Generate Viral AI Motion Video 🤣🤖 using Kling 2.6 Kie AI & Auto-Post to TikTok",
  "nodes": [
    {
      "id": "df8154f8-f3f8-4ca2-a02c-181cf6d0633c",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -448,
        80
      ]
    },
    {
      "id": "2e02deb1-a689-4183-a813-03e20b8524df",
      "name": "Get File Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        464,
        464
      ]
    },
    {
      "id": "2880297d-9df7-4bdf-a6f6-92e102b1f867",
      "name": "TikTok",
      "type": "n8n-nodes-postiz.postiz",
      "position": [
        1088,
        544
      ]
    },
    {
      "id": "2f31c615-84f5-429e-bbc7-dbda5b74425a",
      "name": "Upload Video to Postiz",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        768,
        544
      ]
    },
    {
      "id": "c452299d-f536-4f9c-8b75-deee7b36a2a6",
      "name": "Set params",
      "type": "n8n-nodes-base.set",
      "position": [
        -128,
        80
      ]
    },
    {
      "id": "44fcb5d4-d87f-4a1b-b85a-2f6d095dadee",
      "name": "Run Kling v2.6 Motion Control",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        160,
        80
      ]
    },
    {
      "id": "10a43f06-aec8-4743-a0e3-9b5a0331cabb",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        464,
        80
      ]
    },
    {
      "id": "d19e47a9-f598-4ce1-ab7e-3ee331f4e117",
      "name": "Result",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        768,
        80
      ]
    },
    {
      "id": "f0dea53d-d85d-4145-ac63-80ce737696d5",
      "name": "Parsing",
      "type": "n8n-nodes-base.set",
      "position": [
        1104,
        80
      ]
    },
    {
      "id": "132d3463-088a-4349-92ad-709461dd9cb5",
      "name": "Get ResulUrl",
      "type": "n8n-nodes-base.code",
      "position": [
        176,
        464
      ]
    },
    {
      "id": "41e26f24-2b3f-4be7-a1c0-23db14002bfc",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        96,
        -800
      ],
      "parameters": {
        "width": 912,
        "height": 688,
        "content": "## Generate Viral AI Motion Video using Kling 2.6 Kie AI & Auto-Post to TikTok\n\nThis workflow automates the creation and publishing of **AI-generated motion videos for TikTok**. The process starts wit"
      }
    },
    {
      "id": "db0c938f-07ca-4d0a-97b5-01a18e2953f2",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -224,
        -80
      ],
      "parameters": {
        "width": 288,
        "height": 336,
        "content": "## STEP 1 - Set params\n\nreplace the example image_url, video_url, and tiktok_desc with your own values."
      }
    },
    {
      "id": "a3565f35-79f0-41e1-b100-1c93a9991c07",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        96,
        -80
      ],
      "parameters": {
        "width": 912,
        "height": 336,
        "content": "## STEP 2 - Generate Video\n\nSet your [Kie AI API Key](https://kie.ai?ref=188b79f5cb949c9e875357ac098e1ff5) You will need to provide credentials for httpBearerAuth"
      }
    },
    {
      "id": "d764d3dd-b92c-4d5f-a870-0e443c845115",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        96,
        304
      ],
      "parameters": {
        "width": 592,
        "height": 320,
        "content": "## STEP 3 - Get Video\n\nGet video url and Binary"
      }
    },
    {
      "id": "ede3f491-500b-4901-87ce-0806bf44995d",
      "name": "Upload video",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        768,
        720
      ]
    },
    {
      "id": "26d35276-b2f8-4c89-85f9-65c42a315fc5",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        304
      ],
      "parameters": {
        "width": 592,
        "height": 576,
        "content": "## STEP 4 - Publish on TikTok & Google Drive\n\n- Create an account on [Postiz](https://postiz.com/?ref=n3witalia) FREE 7 days-trial\n- Get your API Key and set it in Postiz node and Upload Image node\n- "
      }
    },
    {
      "id": "2e6aa311-061b-4b65-9e11-133ff2cb12b5",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1056,
        -848
      ],
      "parameters": {
        "width": 736,
        "height": 736,
        "content": "## MY NEW YOUTUBE CHANNEL\n👉 [Subscribe to my new **YouTube channel**](https://youtube.com/@n3witalia). Here I’ll share videos and Shorts with practical tutorials and **FREE templates for n8n**.\n\n[![im"
      }
    }
  ],
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "Result",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Result": {
      "main": [
        [
          {
            "node": "Parsing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parsing": {
      "main": [
        [
          {
            "node": "Get ResulUrl",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set params": {
      "main": [
        [
          {
            "node": "Run Kling v2.6 Motion Control",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get ResulUrl": {
      "main": [
        [
          {
            "node": "Get File Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get File Video": {
      "main": [
        [
          {
            "node": "Upload Video to Postiz",
            "type": "main",
            "index": 0
          },
          {
            "node": "Upload video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Video to Postiz": {
      "main": [
        [
          {
            "node": "TikTok",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Run Kling v2.6 Motion Control": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Set params",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}