{
  "name": "Create AI-powered YouTube shorts with OpenAI, ElevenLabs, 0CodeKit!",
  "nodes": [
    {
      "id": "a140b342-de74-4b38-bc71-d9e494a035db",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -400,
        -140
      ]
    },
    {
      "id": "fd68c78a-d46b-45b8-aef8-259c869eeea3",
      "name": "Ideator",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -220,
        -140
      ]
    },
    {
      "id": "cc917d8f-3fc0-46b6-ae4c-6b9a1c5d867e",
      "name": "Script",
      "type": "n8n-nodes-base.set",
      "position": [
        80,
        -140
      ]
    },
    {
      "id": "2944eeb0-9c9a-45fe-b328-6dc3e55d8b33",
      "name": "Script Generator",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        300,
        -140
      ]
    },
    {
      "id": "cacd3373-0fcb-46e2-8f4b-a4711a96de0d",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        480,
        -140
      ]
    },
    {
      "id": "5269c0ec-3ee9-4e12-a51b-028f414c4f50",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        640,
        -140
      ]
    },
    {
      "id": "b59308c3-4b55-48eb-a908-65021dce2e7c",
      "name": "Image Prompter",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        860,
        -140
      ]
    },
    {
      "id": "46f029b5-8913-4ebb-bc59-b99fc896cff7",
      "name": "Request Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1220,
        -140
      ]
    },
    {
      "id": "48c5fba6-08d9-4095-b8ac-030a95dd8a31",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        1440,
        -140
      ]
    },
    {
      "id": "bc429f9c-0f25-472c-b993-3507e39c3cdf",
      "name": "Get Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        420,
        160
      ]
    },
    {
      "id": "fdf07b6d-3795-418e-a7c8-fcd19c9653dd",
      "name": "Request Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        640,
        160
      ]
    },
    {
      "id": "e1005f45-9465-485e-9d61-873ab806533e",
      "name": "Wait for Video",
      "type": "n8n-nodes-base.wait",
      "position": [
        820,
        160
      ]
    },
    {
      "id": "e35c8e02-2bbe-472d-acbd-4d1e8130bcd0",
      "name": "Get Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        980,
        160
      ]
    },
    {
      "id": "027208ed-8c85-42b4-bb98-33b4c02a3ffb",
      "name": "Upload to Cloudinary",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        20,
        100
      ]
    },
    {
      "id": "cbc23621-45c1-43f5-a0f6-765fe55095a5",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1140,
        160
      ]
    },
    {
      "id": "49553312-19d2-4ffa-bf25-9503f231fb22",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        580,
        400
      ]
    },
    {
      "id": "6f981adc-977b-4929-9cd6-78ce9d7f1d66",
      "name": "Create Editor JSON",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        760,
        400
      ]
    },
    {
      "id": "5b287abd-f108-4de0-822e-c9db50b502bd",
      "name": "Set JSON Variable",
      "type": "n8n-nodes-base.set",
      "position": [
        980,
        400
      ]
    },
    {
      "id": "c6d33e61-9936-4235-9a3d-e100a9931540",
      "name": "Editor",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1160,
        400
      ]
    },
    {
      "id": "46a98c3b-12b4-4bbe-a25f-77f25990841b",
      "name": "Rendering",
      "type": "n8n-nodes-base.wait",
      "position": [
        1340,
        400
      ]
    },
    {
      "id": "ca5df53a-4f16-4edc-a212-bf5b5e652ba6",
      "name": "Get Final Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1500,
        400
      ]
    }
  ],
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "Get Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Create Editor JSON",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Editor": {
      "main": [
        [
          {
            "node": "Rendering",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Script": {
      "main": [
        [
          {
            "node": "Script Generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Ideator": {
      "main": [
        [
          {
            "node": "Script",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Image": {
      "main": [
        [
          {
            "node": "Request Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Video": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rendering": {
      "main": [
        [
          {
            "node": "Get Final Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Image Prompter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Request Image": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Request Video": {
      "main": [
        [
          {
            "node": "Wait for Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Image Prompter": {
      "main": [
        [
          {
            "node": "Request Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Video": {
      "main": [
        [
          {
            "node": "Get Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Script Generator": {
      "main": [
        [
          {
            "node": "Upload to Cloudinary",
            "type": "main",
            "index": 0
          },
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set JSON Variable": {
      "main": [
        [
          {
            "node": "Editor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Editor JSON": {
      "main": [
        [
          {
            "node": "Set JSON Variable",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload to Cloudinary": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Ideator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}