{
  "name": "Generate images and convert to video using Flux, Kraken & Runway",
  "nodes": [
    {
      "id": "ab2da12f-7300-4262-ad91-3e2a258c326b",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        -380,
        280
      ]
    },
    {
      "id": "b7765150-a147-4ee8-adee-b3aeba2f13ed",
      "name": "get_image_url",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -760,
        520
      ]
    },
    {
      "id": "55428fc5-0b6f-4ea2-9281-9a77af413a5c",
      "name": "get_image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -560,
        520
      ]
    },
    {
      "id": "a95d01cd-aae3-4634-83fb-ff2652eb6ca7",
      "name": "upload to kraken",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -380,
        520
      ]
    },
    {
      "id": "779f794a-656a-4f3e-8cbe-b0f418c2c05f",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -760,
        280
      ]
    },
    {
      "id": "c4c0c0e8-a830-4905-9983-86002785b9b1",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -860,
        200
      ],
      "parameters": {
        "width": 740,
        "height": 520,
        "content": "## Generate Image: Using Flux (Blackforest labs Option)"
      }
    },
    {
      "id": "16d9dc4b-a29f-482a-8d4a-cdec3a9771f7",
      "name": "Get Image3",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        500,
        280
      ]
    },
    {
      "id": "6949ea7b-f242-49c6-9857-68baa196c31a",
      "name": "upload to kraken1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        680,
        280
      ]
    },
    {
      "id": "ee9492ec-0c71-4961-88c1-18e365a7dc54",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        200,
        200
      ],
      "parameters": {
        "width": 740,
        "height": 260,
        "content": "## Flux (Rapid API Endpoint)"
      }
    },
    {
      "id": "f317d698-6218-4507-b864-7e42f3bbec40",
      "name": "Get Video Generation Status1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        680,
        600
      ]
    },
    {
      "id": "520eb9eb-4207-4c3e-b741-8e1176904e33",
      "name": "Confirm Generation Status",
      "type": "n8n-nodes-base.switch",
      "position": [
        500,
        760
      ]
    },
    {
      "id": "809bacea-b6ec-4b5d-876e-34591ed0138a",
      "name": "1 minute3",
      "type": "n8n-nodes-base.wait",
      "position": [
        500,
        600
      ]
    },
    {
      "id": "40497b66-2d13-439e-a7c5-a7fcd52f1e3b",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        200,
        500
      ],
      "parameters": {
        "width": 740,
        "height": 520,
        "content": "## Image to Video: Using Runway (Rapid API)"
      }
    },
    {
      "id": "d9e6ab4c-2ba9-4e83-9564-d5389ed5850f",
      "name": "1 minute2",
      "type": "n8n-nodes-base.wait",
      "position": [
        -560,
        800
      ]
    },
    {
      "id": "259f3a3d-adba-4320-82c6-8b16941ef71d",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -860,
        740
      ],
      "parameters": {
        "width": 740,
        "height": 280,
        "content": "## Image to Video: Using Runway (official api)"
      }
    },
    {
      "id": "449f8334-99e8-4f95-8d61-ff844e600d28",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        140,
        140
      ],
      "parameters": {
        "width": 860,
        "height": 940,
        "content": "## Using Rapid API Endpoints"
      }
    },
    {
      "id": "7063bd58-019f-46c4-a863-0057ba139a6f",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -920,
        140
      ],
      "parameters": {
        "width": 860,
        "height": 940,
        "content": "## Using official APIs"
      }
    },
    {
      "id": "fed6f706-cfa2-4f8e-bace-d6376394ffaf",
      "name": "Download Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -380,
        800
      ]
    },
    {
      "id": "69d02b6f-0ada-4997-8b74-e79cc16d35ad",
      "name": "generate image (flux)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -560,
        280
      ]
    },
    {
      "id": "6dc28e39-fbc1-46c6-a344-c1c4af8b8f96",
      "name": "generate image (flux-rapid-api)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        300,
        280
      ]
    },
    {
      "id": "b1c4710e-d99a-42bc-8de2-477b2fca84da",
      "name": "image to video (runway-rapid-api)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        300,
        600
      ]
    },
    {
      "id": "82ed20f3-15ba-4369-80c0-1b5913ddccfa",
      "name": "image to video (runway)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -760,
        800
      ]
    }
  ],
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "get_image_url",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1 minute2": {
      "main": [
        [
          {
            "node": "Download Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1 minute3": {
      "main": [
        [
          {
            "node": "Get Video Generation Status1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_image": {
      "main": [
        [
          {
            "node": "upload to kraken",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Image3": {
      "main": [
        [
          {
            "node": "upload to kraken1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_image_url": {
      "main": [
        [
          {
            "node": "get_image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Video": {
      "main": [
        [],
        [
          {
            "node": "1 minute2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "upload to kraken": {
      "main": [
        [
          {
            "node": "image to video (runway)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "upload to kraken1": {
      "main": [
        [
          {
            "node": "image to video (runway-rapid-api)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "generate image (flux)": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "image to video (runway)": {
      "main": [
        [
          {
            "node": "1 minute2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Confirm Generation Status": {
      "main": [
        [],
        [
          {
            "node": "1 minute3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Video Generation Status1": {
      "main": [
        [
          {
            "node": "Confirm Generation Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "generate image (flux-rapid-api)": {
      "main": [
        [
          {
            "node": "Get Image3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "generate image (flux)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "image to video (runway-rapid-api)": {
      "main": [
        [
          {
            "node": "1 minute3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}