{
  "name": "Generate AI promo videos for products with GPT-4o, Fal.ai & human supervision",
  "nodes": [
    {
      "id": "0b4de412-a17e-4ba8-8edb-6d86a5229b2d",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        1600,
        272
      ]
    },
    {
      "id": "9363d3d6-ef9a-4bc5-9418-8f0887549e20",
      "name": "AI Agent: Generate Topic ideas",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1952,
        336
      ]
    },
    {
      "id": "aff6dd98-6667-4da5-8b6d-732551e639b9",
      "name": "AI: Generate Tag Lines",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2352,
        1152
      ]
    },
    {
      "id": "27f11b17-8575-4ea2-b75f-f6f0190cf76f",
      "name": "LLM",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1920,
        592
      ]
    },
    {
      "id": "67b8909a-b459-4a4c-aaff-17890ffe368e",
      "name": "LLM1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2352,
        1376
      ]
    },
    {
      "id": "e931c247-83c9-4313-a334-7c7224344738",
      "name": "Thinking",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        2048,
        592
      ]
    },
    {
      "id": "370b2f6e-3de9-43b3-a375-075d8dc758fd",
      "name": "Thinking1",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        2448,
        1376
      ]
    },
    {
      "id": "c3bafdc2-d550-4e6c-9fd0-a037daeacae4",
      "name": "Extract JSON",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2176,
        592
      ]
    },
    {
      "id": "99281da0-7453-4c6a-847c-2bb1042a41b8",
      "name": "Extract JSON1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2560,
        1376
      ]
    },
    {
      "id": "844a4693-4548-48e0-8e6f-729dfa250234",
      "name": "Fetch Status1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2464,
        1904
      ]
    },
    {
      "id": "be7a4fd6-fcf8-4784-9ac1-0503805ca388",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "position": [
        2864,
        2000
      ]
    },
    {
      "id": "37b96d9a-a388-42de-92a4-fe67328f5df3",
      "name": "Fetch Result1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2864,
        1872
      ]
    },
    {
      "id": "9111812d-361d-40d6-9a62-284078a317ee",
      "name": "Fal.ai Image Gen",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2272,
        1904
      ]
    },
    {
      "id": "b1811460-de61-4096-88d6-32db3f9d39a3",
      "name": "gotoHuman - Content",
      "type": "@gotohuman/n8n-nodes-gotohuman.gotoHuman",
      "position": [
        2960,
        1152
      ]
    },
    {
      "id": "08ca1a40-709c-4d86-b4f3-7d78ead1af58",
      "name": "Rerun input",
      "type": "n8n-nodes-base.set",
      "position": [
        3344,
        1328
      ]
    },
    {
      "id": "3552fa2c-5e24-4798-98db-0ff6bf643d9d",
      "name": "Is Ready?",
      "type": "n8n-nodes-base.if",
      "position": [
        2704,
        1888
      ]
    },
    {
      "id": "e355e2a4-94d9-407d-88d3-b269aad22ffa",
      "name": "Tagline Prompt",
      "type": "n8n-nodes-base.set",
      "position": [
        2144,
        1152
      ]
    },
    {
      "id": "b8af975a-fbc0-4b55-ba08-2c0ac8fffbfc",
      "name": "Cloudinary upload",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3216,
        1872
      ]
    },
    {
      "id": "a54dad12-eb4c-4ec9-8324-b22d47f42938",
      "name": "Homework: Post it",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1872,
        3472
      ]
    },
    {
      "id": "6158d06b-5b81-432f-a0cd-e16b740b227c",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1840,
        32
      ],
      "parameters": {
        "width": 1100,
        "height": 724,
        "content": "## 1. Generate campaign ideas\nWe ask the LLM to generate ideas for our upcoming marketing campaign based on the current date/season.\nIn gotoHuman we choose our favorite and approve."
      }
    },
    {
      "id": "c75d5bb5-870f-4b11-a73f-88a6a41e4b55",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2384,
        208
      ],
      "parameters": {
        "width": 308,
        "height": 304,
        "content": "![Source example](https://cdn.prod.website-files.com/6605a2979ff17b2cd1939cd4/6877ff9cd93f480ff6eb4def_677c04b5cd6a77eb434526bf9c0eaaca_gotoHuman%20full%20logo.svg)"
      }
    },
    {
      "id": "b87823fe-e050-4b3b-9121-0f0749ecb487",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1840,
        816
      ],
      "parameters": {
        "width": 1756,
        "height": 728,
        "content": "## 2. Generate tag line (self-improving) & pick settings for image generation\nWe are going to place a text label (tag line) on top of our video and we ask AI to generate it for us.\nTo **allow our work"
      }
    },
    {
      "id": "dce551be-7f46-4dd9-9353-b4bbcf3cf00f",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2848,
        1024
      ],
      "parameters": {
        "width": 324,
        "height": 304,
        "content": "![Source example](https://cdn.prod.website-files.com/6605a2979ff17b2cd1939cd4/6877ff9cd93f480ff6eb4def_677c04b5cd6a77eb434526bf9c0eaaca_gotoHuman%20full%20logo.svg)"
      }
    },
    {
      "id": "9c07b86a-e416-4305-a757-7ae2c9c87451",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1840,
        1584
      ],
      "parameters": {
        "width": 2516,
        "height": 760,
        "content": "## 3. Generate reference product image\nUsing the approved settings we ask Fal.ai to generate the image that our short video clip will be based on.\nWe then use Cloudinary to put the tag line as a boxed"
      }
    },
    {
      "id": "15018783-9a60-462b-a9f9-04bbd105a797",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3680,
        1760
      ],
      "parameters": {
        "width": 308,
        "height": 320,
        "content": "![Source example](https://cdn.prod.website-files.com/6605a2979ff17b2cd1939cd4/6877ff9cd93f480ff6eb4def_677c04b5cd6a77eb434526bf9c0eaaca_gotoHuman%20full%20logo.svg)"
      }
    },
    {
      "id": "c7a635e5-d557-4dc1-91f3-262228cfb5c7",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1840,
        3200
      ],
      "parameters": {
        "width": 360,
        "height": 648,
        "content": "## 5. Post to social media\nWe receive the URL of the final human-approved video clip in the response from gotoHuman and can now use it to publish it.\nAlternatively, you can download the video clip fro"
      }
    },
    {
      "id": "cfe4a9aa-d31d-4f9f-9c8a-9318ed46ae62",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1856,
        1040
      ],
      "parameters": {
        "width": 228,
        "height": 304,
        "content": "![Source example](https://cdn.prod.website-files.com/6605a2979ff17b2cd1939cd4/6877ff9cd93f480ff6eb4def_677c04b5cd6a77eb434526bf9c0eaaca_gotoHuman%20full%20logo.svg)"
      }
    },
    {
      "id": "2c5385cf-31b7-4ddb-aae2-0a836685caa7",
      "name": "Fetch Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2480,
        2720
      ]
    },
    {
      "id": "cb44f47a-fb6c-40ef-a0fc-2edcad10ec18",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        2896,
        2816
      ]
    },
    {
      "id": "78500e8d-4d77-4b7a-8927-df8d1a90a86c",
      "name": "Fetch Result",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2896,
        2688
      ]
    },
    {
      "id": "94a4e219-e3b9-48e0-a74a-212c2a2d65cc",
      "name": "Is Ready?1",
      "type": "n8n-nodes-base.if",
      "position": [
        2720,
        2704
      ]
    },
    {
      "id": "76b372f9-ded9-4004-979f-8792ffca7396",
      "name": "Cloudinary upload1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3200,
        2688
      ]
    },
    {
      "id": "35c9e4ea-b95e-4d2f-b8b6-888a7da2533e",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3680,
        2560
      ],
      "parameters": {
        "width": 308,
        "height": 304,
        "content": "![Source example](https://cdn.prod.website-files.com/6605a2979ff17b2cd1939cd4/6877ff9cd93f480ff6eb4def_677c04b5cd6a77eb434526bf9c0eaaca_gotoHuman%20full%20logo.svg)"
      }
    },
    {
      "id": "788fd78c-32f9-4bd2-98fa-c1679e64f3d5",
      "name": "gotoHuman - Video",
      "type": "@gotohuman/n8n-nodes-gotohuman.gotoHuman",
      "position": [
        3792,
        2688
      ]
    },
    {
      "id": "da321f97-5080-4bd0-966c-a000c7dfb288",
      "name": "Rerun Video",
      "type": "n8n-nodes-base.set",
      "position": [
        4160,
        2928
      ]
    },
    {
      "id": "ddeefad3-16e7-4802-bfa0-6c67ba887e9f",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1840,
        2400
      ],
      "parameters": {
        "width": 2512,
        "height": 744,
        "content": "## 4. Turn image into video clip\nWe use Fal.ai again to generate a short video clip based on our reference image, basically making it more vivid.\nAgain, we use Cloudinary to put the tag line on top of"
      }
    },
    {
      "id": "ffe45096-6a0f-4455-a634-2c4d85c3adfc",
      "name": "gotoHuman - Image",
      "type": "@gotohuman/n8n-nodes-gotohuman.gotoHuman",
      "position": [
        3792,
        1872
      ]
    },
    {
      "id": "78a65ba0-135f-49a9-b63e-a5cad481dc1b",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1536,
        512
      ],
      "parameters": {
        "width": 244,
        "height": 256,
        "content": "![Source example](https://cdn.prod.website-files.com/6605a2979ff17b2cd1939cd4/6877ff9cd93f480ff6eb4def_677c04b5cd6a77eb434526bf9c0eaaca_gotoHuman%20full%20logo.svg)"
      }
    },
    {
      "id": "16bd1622-e025-420f-9d16-10a17231ac76",
      "name": "Remote manual trigger",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1600,
        624
      ]
    },
    {
      "id": "9d234743-ee8c-4f27-ac26-10b093ced6da",
      "name": "Fal.ai Video Gen",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2272,
        2720
      ]
    },
    {
      "id": "be670590-b4c2-40c6-945f-446de81bedbe",
      "name": "Set Initial Image Prompt",
      "type": "n8n-nodes-base.code",
      "position": [
        1872,
        1904
      ]
    },
    {
      "id": "e7a9304a-8de8-4268-bc94-33fce6e4a6b1",
      "name": "Set Initial Video Prompt",
      "type": "n8n-nodes-base.code",
      "position": [
        1872,
        2720
      ]
    },
    {
      "id": "68571c4c-ae4b-44ea-b76a-86336e9fe3ab",
      "name": "Set Image Request",
      "type": "n8n-nodes-base.code",
      "position": [
        2080,
        1904
      ]
    },
    {
      "id": "4219c653-f1cc-42eb-a57f-e1964bfc4540",
      "name": "Set Video Request",
      "type": "n8n-nodes-base.code",
      "position": [
        2080,
        2720
      ]
    },
    {
      "id": "03360e1e-e677-4869-b198-e4693a59cbc2",
      "name": "Rerun Image",
      "type": "n8n-nodes-base.set",
      "position": [
        4176,
        2128
      ]
    },
    {
      "id": "26a54e6b-fb02-4605-afee-70bb04aea5f4",
      "name": "Set Cloudinary options",
      "type": "n8n-nodes-base.set",
      "position": [
        3040,
        1872
      ]
    },
    {
      "id": "92c28c4f-89a9-4525-a92a-b82d9dbd54e3",
      "name": "Image URL with Tag Line",
      "type": "n8n-nodes-base.set",
      "position": [
        3392,
        1872
      ]
    },
    {
      "id": "abb9a9f3-4ea6-4615-8c95-6bc748541c64",
      "name": "Data to send3",
      "type": "n8n-nodes-base.set",
      "position": [
        3568,
        1872
      ]
    },
    {
      "id": "48ddbcb6-2f40-4cdd-acf2-1c037c835c0e",
      "name": "Clip URL with Tag Line",
      "type": "n8n-nodes-base.set",
      "position": [
        3376,
        2688
      ]
    },
    {
      "id": "1ab3d4d9-0a3b-4a83-929f-d35e71c3c6e0",
      "name": "Data to send4",
      "type": "n8n-nodes-base.set",
      "position": [
        3552,
        2688
      ]
    },
    {
      "id": "7cbfd32c-7e8c-415e-a942-1e16596c06aa",
      "name": "gotoHuman - Topics",
      "type": "@gotohuman/n8n-nodes-gotohuman.gotoHuman",
      "position": [
        2496,
        336
      ]
    },
    {
      "id": "9d5231af-cfca-4e53-815a-c45e303412fc",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3040,
        96
      ],
      "parameters": {
        "width": 960,
        "height": 656,
        "content": "![e](https://cdn.prod.website-files.com/6605a2979ff17b2cd1939cd4/6893ca394b196bb6438732a3_topics-step.JPG)"
      }
    },
    {
      "id": "08b74b94-a645-48c8-933b-94952e67ee2b",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3680,
        832
      ],
      "parameters": {
        "width": 624,
        "height": 752,
        "content": "![e](https://cdn.prod.website-files.com/6605a2979ff17b2cd1939cd4/6893ca39c3a320231f3a9271_content-step.JPG)"
      }
    },
    {
      "id": "b3362a00-ab06-4d42-84e2-8b10b122f620",
      "name": "Sticky Note14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4464,
        1664
      ],
      "parameters": {
        "width": 1040,
        "height": 672,
        "content": "![e](https://cdn.prod.website-files.com/6605a2979ff17b2cd1939cd4/6893ca39392754f280752980_image-step.JPG)"
      }
    },
    {
      "id": "f1eca5be-d6ba-4cca-a516-a53b6dd4ee8f",
      "name": "Sticky Note15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4464,
        2464
      ],
      "parameters": {
        "width": 1040,
        "height": 672,
        "content": "![e](https://cdn.prod.website-files.com/6605a2979ff17b2cd1939cd4/6893ca39f9d345b58541c664_video-step.JPG)"
      }
    },
    {
      "id": "e6394a0b-3046-42bf-ae49-41c921594307",
      "name": "Sticky Note16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5552,
        1664
      ],
      "parameters": {
        "width": 912,
        "height": 672,
        "content": "![e](https://cdn.prod.website-files.com/6605a2979ff17b2cd1939cd4/6893ca39d91d94647ceb31c6_image-ai-chat.JPG)"
      }
    },
    {
      "id": "132ba3dd-668b-4033-a63e-41b980248131",
      "name": "Sticky Note22",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3984,
        2448
      ],
      "parameters": {
        "width": 256,
        "height": null,
        "content": "## ⚠️ Instructions\n[ ] Select your gotoHuman credentials from the list\n\n[ ] Select review template \"Review Clip\" from list"
      }
    },
    {
      "id": "c0311862-d85a-4708-bc66-05f47985d107",
      "name": "Fetch approved examples",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1904,
        1152
      ]
    },
    {
      "id": "851f3fc3-1b22-482d-a2f8-f692dd753f6f",
      "name": "Data to send",
      "type": "n8n-nodes-base.set",
      "position": [
        2240,
        336
      ]
    },
    {
      "id": "ea4b6668-03b9-44a5-9c73-2c94fa5d366f",
      "name": "Data to send2",
      "type": "n8n-nodes-base.set",
      "position": [
        2720,
        1152
      ]
    },
    {
      "id": "061aed50-8abb-4e19-94d9-584431620442",
      "name": "Approved?",
      "type": "n8n-nodes-base.if",
      "position": [
        2784,
        336
      ]
    },
    {
      "id": "7dcf5976-3db1-4ef7-b44e-0b6f3aa64b28",
      "name": "Approved or Retry?",
      "type": "n8n-nodes-base.switch",
      "position": [
        3216,
        1152
      ]
    },
    {
      "id": "87011dbc-b82b-4bf6-8cc7-c5fa84463013",
      "name": "Approved or Retry ?",
      "type": "n8n-nodes-base.switch",
      "position": [
        4032,
        1872
      ]
    },
    {
      "id": "4bd71e90-8f3c-4520-a3cd-e68a32d308df",
      "name": "Approved or Retry  ?",
      "type": "n8n-nodes-base.switch",
      "position": [
        4032,
        2688
      ]
    },
    {
      "id": "2dd8fe28-83b2-442b-ada6-38663a836b5e",
      "name": "Sticky Note25",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        352,
        48
      ],
      "parameters": {
        "width": 880,
        "height": 1408,
        "content": "## Create AI product videos with Fal.ai using [gotoHuman](https://www.gotohuman.com) for supervision\nLet's say we are a shop selling ceramics and want to showcase one of our products on social media e"
      }
    },
    {
      "id": "d05548c1-463f-4082-982c-d074a9742e10",
      "name": "Sticky Note21",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3984,
        1664
      ],
      "parameters": {
        "width": 256,
        "height": null,
        "content": "## ⚠️ Instructions\n[ ] Select your gotoHuman credentials from the list\n\n[ ] Select review template \"Review Ref Image\" from list"
      }
    },
    {
      "id": "a0bda33c-c741-415d-896d-466558dd40a9",
      "name": "Sticky Note23",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2192,
        1744
      ],
      "parameters": {
        "width": 256,
        "height": null,
        "content": "## ⚠️ Instructions\n[ ] You need a Fal.ai account\n[ ] Choose \"Generic Credential Type\" > \"Header Auth\" > Name: `Authorization`, Value: `Key YOUR-API-KEY` "
      }
    },
    {
      "id": "7db74fa7-cd53-4878-9ea9-0834940b3dc1",
      "name": "Sticky Note24",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2976,
        1664
      ],
      "parameters": {
        "width": 336,
        "height": 208,
        "content": "## ⚠️ Instructions\n[ ] You need a cloudinary.com account\n[ ] In Cloudinary, find your environment/cloud name\n[ ] In Cloudinary, [add an upload preset](https://console.cloudinary.com/settings/upload/pr"
      }
    },
    {
      "id": "398ec2f5-e380-4ac4-9f67-70ad43853685",
      "name": "Sticky Note20",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3168,
        912
      ],
      "parameters": {
        "width": 256,
        "height": null,
        "content": "## ⚠️ Instructions\n[ ] Select your gotoHuman credentials from the list\n\n[ ] Select review template \"Product,...\" from list"
      }
    },
    {
      "id": "13b8c8d6-8939-4a95-9ff8-24ab5b9a63bb",
      "name": "Sticky Note19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1616,
        1120
      ],
      "parameters": {
        "width": 256,
        "height": 240,
        "content": "## ⚠️ Instructions\n[ ] Select credential type \"gotoHuman API\"\n\n[ ] Select your gotoHuman credentials from the list\n\n[ ] For `formId` enter the ID of your gotoHuman review template \"Product,...\""
      }
    },
    {
      "id": "c37b2041-5d08-4298-b952-38524a2f040d",
      "name": "Sticky Note17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1312,
        624
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "## ⚠️ Instructions\n[ ] Add the webhook URL shown in this node to the settings of the review template \"Create Campaign\" in gotoHuman"
      }
    },
    {
      "id": "1f0b871b-f801-4518-9068-b8b9823e234a",
      "name": "Sticky Note18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2704,
        128
      ],
      "parameters": {
        "width": 256,
        "height": null,
        "content": "## ⚠️ Instructions\n[ ] Add gotoHuman credentials with your API key\n\n[ ] Select review template \"Topic Ideas\" from list"
      }
    }
  ],
  "connections": {
    "LLM": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent: Generate Topic ideas",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "LLM1": {
      "ai_languageModel": [
        [
          {
            "node": "AI: Generate Tag Lines",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Fetch Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Fetch Status1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Thinking": {
      "ai_tool": [
        [
          {
            "node": "AI Agent: Generate Topic ideas",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Approved?": {
      "main": [
        [
          {
            "node": "Fetch approved examples",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Ready?": {
      "main": [
        [
          {
            "node": "Fetch Result1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Thinking1": {
      "ai_tool": [
        [
          {
            "node": "AI: Generate Tag Lines",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Is Ready?1": {
      "main": [
        [
          {
            "node": "Fetch Result",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rerun Image": {
      "main": [
        [
          {
            "node": "Set Image Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rerun Video": {
      "main": [
        [
          {
            "node": "Set Video Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rerun input": {
      "main": [
        [
          {
            "node": "AI: Generate Tag Lines",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Data to send": {
      "main": [
        [
          {
            "node": "gotoHuman - Topics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract JSON": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent: Generate Topic ideas",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Result": {
      "main": [
        [
          {
            "node": "Cloudinary upload1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Status": {
      "main": [
        [
          {
            "node": "Is Ready?1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Data to send2": {
      "main": [
        [
          {
            "node": "gotoHuman - Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Data to send3": {
      "main": [
        [
          {
            "node": "gotoHuman - Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Data to send4": {
      "main": [
        [
          {
            "node": "gotoHuman - Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract JSON1": {
      "ai_outputParser": [
        [
          {
            "node": "AI: Generate Tag Lines",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Result1": {
      "main": [
        [
          {
            "node": "Set Cloudinary options",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Status1": {
      "main": [
        [
          {
            "node": "Is Ready?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Tagline Prompt": {
      "main": [
        [
          {
            "node": "AI: Generate Tag Lines",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fal.ai Image Gen": {
      "main": [
        [
          {
            "node": "Fetch Status1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fal.ai Video Gen": {
      "main": [
        [
          {
            "node": "Fetch Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "AI Agent: Generate Topic ideas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Cloudinary upload": {
      "main": [
        [
          {
            "node": "Image URL with Tag Line",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Image Request": {
      "main": [
        [
          {
            "node": "Fal.ai Image Gen",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Video Request": {
      "main": [
        [
          {
            "node": "Fal.ai Video Gen",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "gotoHuman - Image": {
      "main": [
        [
          {
            "node": "Approved or Retry ?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "gotoHuman - Video": {
      "main": [
        [
          {
            "node": "Approved or Retry  ?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Approved or Retry?": {
      "main": [
        [
          {
            "node": "Set Initial Image Prompt",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Rerun input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Cloudinary upload1": {
      "main": [
        [
          {
            "node": "Clip URL with Tag Line",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "gotoHuman - Topics": {
      "main": [
        [
          {
            "node": "Approved?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Approved or Retry ?": {
      "main": [
        [
          {
            "node": "Set Initial Video Prompt",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Rerun Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "gotoHuman - Content": {
      "main": [
        [
          {
            "node": "Approved or Retry?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Approved or Retry  ?": {
      "main": [
        [
          {
            "node": "Homework: Post it",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Rerun Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Remote manual trigger": {
      "main": [
        [
          {
            "node": "AI Agent: Generate Topic ideas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI: Generate Tag Lines": {
      "main": [
        [
          {
            "node": "Data to send2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Clip URL with Tag Line": {
      "main": [
        [
          {
            "node": "Data to send4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Cloudinary options": {
      "main": [
        [
          {
            "node": "Cloudinary upload",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch approved examples": {
      "main": [
        [
          {
            "node": "Tagline Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Image URL with Tag Line": {
      "main": [
        [
          {
            "node": "Data to send3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Initial Image Prompt": {
      "main": [
        [
          {
            "node": "Set Image Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Initial Video Prompt": {
      "main": [
        [
          {
            "node": "Set Video Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent: Generate Topic ideas": {
      "main": [
        [
          {
            "node": "Data to send",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}