{
  "name": "Automate & publish video ad campaigns with NanoBanana, Seedream, GPT-4o, Veo 3",
  "nodes": [
    {
      "id": "172c7316-350a-46a8-a720-f0be6b22cff0",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        0
      ],
      "parameters": {
        "width": 1948,
        "height": 624,
        "content": "# 1️⃣  →  Step 1 — Generate prompts from Telegram input\n## Automate video ads with NanoBanana, Seedream 4, ChatGPT Image and Veo 3 (By Dr. Firas)\n### What problem is this workflow solving? / Use case\n"
      }
    },
    {
      "id": "b5e1088e-f59b-48c0-bad0-65887aa9e37b",
      "name": "Telegram: Get Image File",
      "type": "n8n-nodes-base.telegram",
      "position": [
        944,
        272
      ]
    },
    {
      "id": "7fd471ae-4ef4-436c-b476-b98cc8848cea",
      "name": "Trigger: Receive Idea via Telegram",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        672,
        272
      ]
    },
    {
      "id": "00e2b4cb-7184-4068-a752-df588e48940d",
      "name": "Google Drive: Upload Image",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1232,
        272
      ]
    },
    {
      "id": "51fa2428-83e5-469e-9fbd-e6b74e7fdf35",
      "name": "Parse Idea Into Prompts",
      "type": "n8n-nodes-base.code",
      "position": [
        1664,
        272
      ]
    },
    {
      "id": "5c8efdcc-c697-412e-be62-1f31528075e5",
      "name": "Generate Image Prompt",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2064,
        272
      ]
    },
    {
      "id": "749d97b2-bdc0-4b0d-a608-3860f8bc19a0",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2320,
        496
      ]
    },
    {
      "id": "49ebe3b4-175c-480b-a78b-32a86b772c11",
      "name": "Think",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        2160,
        496
      ]
    },
    {
      "id": "6c14c0c2-425f-43a4-ac53-9a1110e24aef",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1984,
        496
      ]
    },
    {
      "id": "2b8bb026-a1a0-4f6a-952b-c66458be98ca",
      "name": "NanoBanana: Create Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2816,
        96
      ]
    },
    {
      "id": "83dfe606-fca2-43a9-ad65-1c552899c739",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2480,
        656
      ],
      "parameters": {
        "width": 1884,
        "height": 432,
        "content": "# 4️⃣  → Step 4 — Merge videos into a final ad"
      }
    },
    {
      "id": "c35fcc2f-d3d1-4d83-8efb-6e8cf21d82fa",
      "name": "Check Merge Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3936,
        768
      ]
    },
    {
      "id": "37ef1072-100c-469e-a26d-22843dc2f657",
      "name": "Wait: Merge Process",
      "type": "n8n-nodes-base.wait",
      "position": [
        3408,
        768
      ]
    },
    {
      "id": "55d047f8-bb1c-4b79-ad10-9edb049f5807",
      "name": "Upload Final Video to Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        4192,
        768
      ]
    },
    {
      "id": "6fb4ed26-d430-493a-a5ef-ecf993d7dca5",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        1120
      ],
      "parameters": {
        "width": 3804,
        "height": 608,
        "content": "# 5️⃣  → Step 5 — Publish the final ad to multiple social platforms with Blotato"
      }
    },
    {
      "id": "f6490202-896a-4a21-9689-ed0189da6863",
      "name": "Read Brand Settings",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        672,
        1344
      ]
    },
    {
      "id": "8c3750e4-333e-4900-aa8e-97c6b5ce06b9",
      "name": "Extract Brand Info",
      "type": "n8n-nodes-base.code",
      "position": [
        912,
        1344
      ]
    },
    {
      "id": "660b172c-fe62-40ed-84c9-8b0c2aa7739d",
      "name": "Message a model",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1312,
        1344
      ]
    },
    {
      "id": "f12ad44b-3078-459d-8a23-b664889cc636",
      "name": "Save Ad Data to Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1840,
        1344
      ]
    },
    {
      "id": "f9b4f876-3ce8-4896-9be5-88b76abf7a4b",
      "name": "Send Video URL via Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2080,
        1344
      ]
    },
    {
      "id": "e7452627-f5ea-4083-964b-16832cf53f11",
      "name": "Send a video",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2304,
        1344
      ]
    },
    {
      "id": "6d574d77-e737-46b2-a79c-02518d8a2a9e",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2480,
        0
      ],
      "parameters": {
        "width": 1884,
        "height": 624,
        "content": "# 2️⃣  → Step 2 — Create product images with : 🌊 Seedream 4.0 +  🍌 NanoBanana + 🤖 ChatGPT image"
      }
    },
    {
      "id": "de4624ec-4fd8-4456-97ec-ddcb1d7d476d",
      "name": "AI Agent: Generate Video Script",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        880,
        736
      ]
    },
    {
      "id": "0352c6fb-0614-4266-a6a9-78fd88f1e742",
      "name": "Generate Video with VEO3",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1872,
        880
      ]
    },
    {
      "id": "006fe9e9-b076-4345-aec4-27fcf1a7f30f",
      "name": "Wait for VEO3 Rendering",
      "type": "n8n-nodes-base.wait",
      "position": [
        2112,
        880
      ]
    },
    {
      "id": "b5089618-2b8f-4611-a7cf-78ec9e1ed077",
      "name": "Download Video from VEO3",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2304,
        880
      ]
    },
    {
      "id": "bb7a3989-1ffe-46c6-a2e9-4cba9a5fb47f",
      "name": "Format Prompt",
      "type": "n8n-nodes-base.code",
      "position": [
        1648,
        880
      ]
    },
    {
      "id": "143c8983-02c7-4001-8bdf-9d69cbc77169",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        656
      ],
      "parameters": {
        "width": 1920,
        "height": 432,
        "content": "# 3️⃣  → Step 3 — Produce video ads with Veo 3"
      }
    },
    {
      "id": "e4201ff8-435d-4509-baca-9cf9ba796453",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        816,
        960
      ]
    },
    {
      "id": "bfa98213-7d12-422b-9fa9-e9f8c4e6eb36",
      "name": "Think1",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        976,
        960
      ]
    },
    {
      "id": "acd37b48-c17d-4f9e-82ed-233b04036eee",
      "name": "Structured Output Parser1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1120,
        960
      ]
    },
    {
      "id": "07dcc2c9-28ee-449a-919d-dbd3dc5196e7",
      "name": "3 prompts",
      "type": "n8n-nodes-base.code",
      "position": [
        1168,
        736
      ]
    },
    {
      "id": "5364e300-b999-4429-8b99-c1d40f48c28f",
      "name": "Upload Video to BLOTATO",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        2544,
        1344
      ]
    },
    {
      "id": "743afd32-6ebf-4e70-b911-2bbdba7d1ecf",
      "name": "Youtube",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        3600,
        1328
      ]
    },
    {
      "id": "035b6c10-43ac-4aea-a2ff-82a3ab0bcfa4",
      "name": "Tiktok",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        3232,
        1152
      ]
    },
    {
      "id": "d2401532-aa7b-45b7-9dc4-2d5f51a32599",
      "name": "Update Status to \"DONE\"",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        4176,
        1328
      ]
    },
    {
      "id": "cc3d40a1-1123-4faf-8df9-2ae5448ed53a",
      "name": "Linkedin",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        3424,
        1152
      ]
    },
    {
      "id": "0a3810b6-c21f-4077-954b-79aab2e7985e",
      "name": "Facebook",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        3600,
        1152
      ]
    },
    {
      "id": "7ec08451-6330-400e-87a2-ab9a2f0706ab",
      "name": "Instagram",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        3232,
        1328
      ]
    },
    {
      "id": "0bc8307e-3f4a-432a-8667-eb998ab55042",
      "name": "Threads",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        3232,
        1536
      ]
    },
    {
      "id": "d039a2f5-5177-4cce-9018-6a37ab54fa19",
      "name": "Bluesky",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        3424,
        1536
      ]
    },
    {
      "id": "a04336f9-f2e6-4fbb-a082-9d232a08aa52",
      "name": "Pinterest",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        3600,
        1536
      ]
    },
    {
      "id": "fb93e061-c5a9-4dfe-9ca2-ef8a3c6ce9f3",
      "name": "Twitter (X)",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        3424,
        1328
      ]
    },
    {
      "id": "77b73727-3d32-41d6-b0ca-03b2ccaca631",
      "name": "Merge1",
      "type": "n8n-nodes-base.merge",
      "position": [
        3936,
        1216
      ]
    },
    {
      "id": "181c4741-92b4-4884-bffd-c1dbddca2477",
      "name": "Seedream: Generate image from texte",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2816,
        272
      ]
    },
    {
      "id": "a2c358bc-ce2d-4f48-a444-8f2f24a3abbe",
      "name": "Download image from Seedream",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3440,
        272
      ]
    },
    {
      "id": "b8637494-856c-46f2-9d3c-1df9593d02de",
      "name": "Generate 4o Image（GPT IMAG 1）",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2816,
        448
      ]
    },
    {
      "id": "8b6583ec-e141-4314-a83e-23ced0d3d504",
      "name": "Set Master Prompt",
      "type": "n8n-nodes-base.set",
      "position": [
        672,
        736
      ]
    },
    {
      "id": "f9e46614-a5d5-4520-9522-8a03674d226d",
      "name": "Merge 3 Videos",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3120,
        768
      ]
    },
    {
      "id": "606e323e-6e32-480e-855f-72baad361c54",
      "name": "Loop Over Items - Split In Batches",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1424,
        784
      ]
    },
    {
      "id": "729b59d4-fa07-4fc9-b6cc-64fca41b22ef",
      "name": "Update row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2848,
        768
      ]
    },
    {
      "id": "5cc81f6d-9160-4f2c-b72a-12f1e83c48fd",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": 528,
        "height": 1728,
        "content": "### 🎥 Watch This Tutorial\n\n@[youtube](E17rYpMRvgA)\n\n### 📥  [Open full documentation on Notion](https://automatisation.notion.site/Automate-video-ads-with-NanoBanana-Seedream-4-ChatGPT-Image-and-Veo-3-"
      }
    },
    {
      "id": "322f6e01-5427-480c-b781-7e81f0786674",
      "name": "Split out – iterate image_prompt",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        2528,
        272
      ]
    },
    {
      "id": "9cde12f3-ef41-4e9f-a8cc-7ebc6d5a5666",
      "name": "Wait – NanoBanana job",
      "type": "n8n-nodes-base.wait",
      "position": [
        3104,
        96
      ]
    },
    {
      "id": "c7cc7666-4e3c-4c13-b3df-18e6410a445d",
      "name": "Update URL Final video",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3680,
        768
      ]
    },
    {
      "id": "9d6ed0e4-eafc-4569-b774-1a3f62261438",
      "name": "NanoBanana – fetch edited image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3440,
        96
      ]
    },
    {
      "id": "a0c3642a-76fb-4b20-bd3b-4da0d191e5c0",
      "name": "Wait – image rendering",
      "type": "n8n-nodes-base.wait",
      "position": [
        3104,
        272
      ]
    },
    {
      "id": "24d6658d-0c8d-4e36-8266-12453d89790b",
      "name": "Google Sheets – save image URLs",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        4192,
        272
      ]
    },
    {
      "id": "f648da56-7695-4d88-9bfd-977c6639fc53",
      "name": "Merge – collect image sources (3 providers)",
      "type": "n8n-nodes-base.merge",
      "position": [
        3984,
        256
      ]
    },
    {
      "id": "cc07a757-53dc-43c1-9ed3-7aecbe501528",
      "name": "ChatGPT Image – fetch generated image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3440,
        448
      ]
    },
    {
      "id": "5e77cd4f-7f23-4559-b4ef-08a8d90cdfcc",
      "name": "Set – select Seedream image URL",
      "type": "n8n-nodes-base.set",
      "position": [
        3696,
        272
      ]
    },
    {
      "id": "139b27b1-2000-429e-92eb-cdabfe4b7e04",
      "name": "Wait – image rendering II",
      "type": "n8n-nodes-base.wait",
      "position": [
        3104,
        448
      ]
    },
    {
      "id": "b358b4a3-9e47-43f7-a416-c91e75dd85bc",
      "name": "Aggregate – gather 3 video URLs",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        2576,
        768
      ]
    }
  ],
  "connections": {
    "Think": {
      "ai_tool": [
        [
          {
            "node": "Generate Image Prompt",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Merge1": {
      "main": [
        [
          {
            "node": "Update Status to \"DONE\"",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Think1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent: Generate Video Script",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Tiktok": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Bluesky": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 7
          }
        ]
      ]
    },
    "Threads": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 6
          }
        ]
      ]
    },
    "Youtube": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 5
          }
        ]
      ]
    },
    "Facebook": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Linkedin": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "3 prompts": {
      "main": [
        [
          {
            "node": "Loop Over Items - Split In Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Instagram": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 3
          }
        ]
      ]
    },
    "Pinterest": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 8
          }
        ]
      ]
    },
    "Twitter (X)": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 4
          }
        ]
      ]
    },
    "Send a video": {
      "main": [
        [
          {
            "node": "Upload Video to BLOTATO",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Prompt": {
      "main": [
        [
          {
            "node": "Generate Video with VEO3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge 3 Videos": {
      "main": [
        [
          {
            "node": "Wait: Merge Process",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Message a model": {
      "main": [
        [
          {
            "node": "Save Ad Data to Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Image Prompt",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Set Master Prompt": {
      "main": [
        [
          {
            "node": "AI Agent: Generate Video Script",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Merge Status": {
      "main": [
        [
          {
            "node": "Upload Final Video to Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Brand Info": {
      "main": [
        [
          {
            "node": "Message a model",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent: Generate Video Script",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Read Brand Settings": {
      "main": [
        [
          {
            "node": "Extract Brand Info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update row in sheet": {
      "main": [
        [
          {
            "node": "Merge 3 Videos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait: Merge Process": {
      "main": [
        [
          {
            "node": "Update URL Final video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Image Prompt": {
      "main": [
        [
          {
            "node": "Split out – iterate image_prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update URL Final video": {
      "main": [
        [
          {
            "node": "Check Merge Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Idea Into Prompts": {
      "main": [
        [
          {
            "node": "Generate Image Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Video to BLOTATO": {
      "main": [
        [
          {
            "node": "Tiktok",
            "type": "main",
            "index": 0
          },
          {
            "node": "Linkedin",
            "type": "main",
            "index": 0
          },
          {
            "node": "Facebook",
            "type": "main",
            "index": 0
          },
          {
            "node": "Instagram",
            "type": "main",
            "index": 0
          },
          {
            "node": "Twitter (X)",
            "type": "main",
            "index": 0
          },
          {
            "node": "Youtube",
            "type": "main",
            "index": 0
          },
          {
            "node": "Threads",
            "type": "main",
            "index": 0
          },
          {
            "node": "Bluesky",
            "type": "main",
            "index": 0
          },
          {
            "node": "Pinterest",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for VEO3 Rendering": {
      "main": [
        [
          {
            "node": "Download Video from VEO3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait – NanoBanana job": {
      "main": [
        [
          {
            "node": "NanoBanana – fetch edited image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Video from VEO3": {
      "main": [
        [
          {
            "node": "Loop Over Items - Split In Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Video with VEO3": {
      "main": [
        [
          {
            "node": "Wait for VEO3 Rendering",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "NanoBanana: Create Image": {
      "main": [
        [
          {
            "node": "Wait – NanoBanana job",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Generate Image Prompt",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Telegram: Get Image File": {
      "main": [
        [
          {
            "node": "Google Drive: Upload Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait – image rendering": {
      "main": [
        [
          {
            "node": "Download image from Seedream",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent: Generate Video Script",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive: Upload Image": {
      "main": [
        [
          {
            "node": "Parse Idea Into Prompts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Video URL via Telegram": {
      "main": [
        [
          {
            "node": "Send a video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait – image rendering II": {
      "main": [
        [
          {
            "node": "ChatGPT Image – fetch generated image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download image from Seedream": {
      "main": [
        [
          {
            "node": "Set – select Seedream image URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save Ad Data to Google Sheets": {
      "main": [
        [
          {
            "node": "Send Video URL via Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent: Generate Video Script": {
      "main": [
        [
          {
            "node": "3 prompts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate – gather 3 video URLs": {
      "main": [
        [
          {
            "node": "Update row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate 4o Image（GPT IMAG 1）": {
      "main": [
        [
          {
            "node": "Wait – image rendering II",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets – save image URLs": {
      "main": [
        [
          {
            "node": "Set Master Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "NanoBanana – fetch edited image": {
      "main": [
        [
          {
            "node": "Merge – collect image sources (3 providers)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set – select Seedream image URL": {
      "main": [
        [
          {
            "node": "Merge – collect image sources (3 providers)",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Loop Over Items - Split In Batches": {
      "main": [
        [
          {
            "node": "Aggregate – gather 3 video URLs",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Format Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split out – iterate image_prompt": {
      "main": [
        [
          {
            "node": "NanoBanana: Create Image",
            "type": "main",
            "index": 0
          },
          {
            "node": "Seedream: Generate image from texte",
            "type": "main",
            "index": 0
          },
          {
            "node": "Generate 4o Image（GPT IMAG 1）",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger: Receive Idea via Telegram": {
      "main": [
        [
          {
            "node": "Telegram: Get Image File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Final Video to Google Drive": {
      "main": [
        [
          {
            "node": "Read Brand Settings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Seedream: Generate image from texte": {
      "main": [
        [
          {
            "node": "Wait – image rendering",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ChatGPT Image – fetch generated image": {
      "main": [
        [
          {
            "node": "Merge – collect image sources (3 providers)",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Merge – collect image sources (3 providers)": {
      "main": [
        [
          {
            "node": "Google Sheets – save image URLs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}