{
  "name": "Generate AI songs + music videos using Suno API, Flux, Runway and Creatomate",
  "nodes": [
    {
      "id": "2bbdc1da-5f58-4ea7-883b-f9bdd56b1360",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        380,
        -60
      ]
    },
    {
      "id": "3bf25780-c09a-4594-8dd8-3ae83a6f7c53",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        540,
        -60
      ]
    },
    {
      "id": "e8eb6cab-84fd-4d37-8778-16784e50ccc7",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -400,
        780
      ]
    },
    {
      "id": "a4f8469c-1e4f-40f1-974c-88ce65069a05",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -100,
        780
      ]
    },
    {
      "id": "77259955-499f-4b8f-8736-e9762375e76d",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        280,
        560
      ]
    },
    {
      "id": "796bad9e-b1d7-4a37-baf7-0551cdcea734",
      "name": "Rate Limit Wait Node",
      "type": "n8n-nodes-base.wait",
      "position": [
        900,
        560
      ]
    },
    {
      "id": "7a4ee974-5730-4c27-8268-6aa3b43f4e20",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "position": [
        1880,
        380
      ]
    },
    {
      "id": "0e89d6dd-0031-493b-bf61-45d8221580bc",
      "name": "get_image_url1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2060,
        380
      ]
    },
    {
      "id": "a7b5e031-f5c3-467a-a89a-c1eaf468b4c8",
      "name": "Get Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2220,
        380
      ]
    },
    {
      "id": "fba303e0-35b7-4c69-a16c-66ef423d5001",
      "name": "Structured Output Parser1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1500,
        700
      ]
    },
    {
      "id": "2a83311f-2802-44bb-8013-99ff0472fa0e",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1280,
        700
      ]
    },
    {
      "id": "cb8e5747-dcf2-41b4-98e6-f1a04873a95f",
      "name": "Wait2",
      "type": "n8n-nodes-base.wait",
      "position": [
        1880,
        620
      ]
    },
    {
      "id": "b296ee5b-594a-47cd-b23e-8789f76830a1",
      "name": "get_image_url",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2060,
        620
      ]
    },
    {
      "id": "0113ca48-1d47-4295-93c6-f6695b87efb7",
      "name": "Get Image1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2220,
        620
      ]
    },
    {
      "id": "75fcbe0d-ea96-431c-bd7f-9d9baf426f6a",
      "name": "1 minute",
      "type": "n8n-nodes-base.wait",
      "position": [
        1880,
        880
      ]
    },
    {
      "id": "e5b7506d-8137-42e2-b269-c2d76dec48ac",
      "name": "Wait3",
      "type": "n8n-nodes-base.wait",
      "position": [
        -180,
        1440
      ]
    },
    {
      "id": "821c9cf2-3d0d-442e-9b74-674858335562",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        2880,
        640
      ]
    },
    {
      "id": "0fdba74e-a470-42e8-94ed-b8b7211c20ec",
      "name": "Rate Limit Wait Node1",
      "type": "n8n-nodes-base.wait",
      "position": [
        2060,
        1120
      ]
    },
    {
      "id": "3817f067-44a6-402f-8f14-20cb1b466588",
      "name": "Track Ideas Agent Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -760,
        -80
      ]
    },
    {
      "id": "e1ae010b-3525-4497-8e83-7277bfb950e1",
      "name": "Switch Text or Voice Input",
      "type": "n8n-nodes-base.switch",
      "position": [
        -560,
        -80
      ]
    },
    {
      "id": "94d2c93d-266c-4384-b7f4-2eadd12dddc0",
      "name": "Download Voice Note",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -220,
        -80
      ]
    },
    {
      "id": "ca1a2f8a-c70a-4b11-8c4c-a2460a0b6e4b",
      "name": "Transcribe Voice Note",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -20,
        -80
      ]
    },
    {
      "id": "807ee76b-2d12-40ab-94c3-a3bc1248818d",
      "name": "Set Field",
      "type": "n8n-nodes-base.set",
      "position": [
        140,
        -200
      ]
    },
    {
      "id": "fec9c36d-4c6d-4e5a-8ad0-33fb3d851ca7",
      "name": "Set Field to \"text\"",
      "type": "n8n-nodes-base.set",
      "position": [
        200,
        -420
      ]
    },
    {
      "id": "f0036916-ecda-4a3e-beb0-5e5708237eed",
      "name": "AI Music Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        620,
        -320
      ]
    },
    {
      "id": "3778d4c9-e508-4b97-9bf9-ce42a522935a",
      "name": "Append Music Tracks to GSheets",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        680,
        -60
      ]
    },
    {
      "id": "ebb13a7d-371b-4b00-97ff-5b9b2cf49474",
      "name": "Get Rows: Confirm Tracks in GSheets",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        840,
        -60
      ]
    },
    {
      "id": "117fef81-7288-402e-8173-b2e39a531623",
      "name": "SerpAPI: Browse the internet for Music Ideas",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "position": [
        1020,
        -60
      ]
    },
    {
      "id": "4a78bb72-f533-423e-9bd1-c5d14ffc8fd8",
      "name": "Send Message to User",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1100,
        -340
      ]
    },
    {
      "id": "dd56a536-a1e2-47d3-a956-010d9fabd21d",
      "name": "Google Sheets Trigger: Start Processing Tracks",
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "position": [
        -760,
        560
      ]
    },
    {
      "id": "5bcb2486-f772-4989-9653-db971b9143bc",
      "name": "Get one Pending Row",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -540,
        560
      ]
    },
    {
      "id": "6c0a6276-23cf-4a44-8fcb-f25b196e4b2d",
      "name": "Lyrics AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -320,
        560
      ]
    },
    {
      "id": "ad97b3db-5d85-4f83-8b41-037107b6657e",
      "name": "Music Generation API Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        60,
        560
      ]
    },
    {
      "id": "464fbac9-b3fd-4de0-bdaa-ce31eb249fc4",
      "name": "Get Music Generation Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        480,
        560
      ]
    },
    {
      "id": "1a6124ce-b481-4ce9-b5da-95426b85db9f",
      "name": "Confirm Generation Status",
      "type": "n8n-nodes-base.switch",
      "position": [
        680,
        560
      ]
    },
    {
      "id": "3a1c70a7-6b88-4345-9224-39613b30c22b",
      "name": "Download Audio Track",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        880,
        280
      ]
    },
    {
      "id": "120e3d81-547a-43f2-b33b-3ed84f5a10db",
      "name": "Upload Audio Track to Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1140,
        240
      ]
    },
    {
      "id": "66c1f238-ed4b-41ae-8081-d1cbf039b721",
      "name": "Update Audio URL in GSheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1140,
        500
      ]
    },
    {
      "id": "414980db-7132-4721-a07a-61392e25a35a",
      "name": "Cover Image and Video Prompts AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1320,
        500
      ]
    },
    {
      "id": "ac27960e-c63e-4a1d-96b5-76f007acdf14",
      "name": "Generate Cover Image 1:1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1700,
        380
      ]
    },
    {
      "id": "4793c6e9-648d-43dd-87a5-3a498fb2bdf9",
      "name": "Generate Cover Image 3:1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1700,
        620
      ]
    },
    {
      "id": "582fac36-87c5-46b6-b1cd-37b572c2cdca",
      "name": "Upload Cover Image 1:1 to Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2400,
        380
      ]
    },
    {
      "id": "ccbcdb14-f25e-4544-9d48-102c6383bd2f",
      "name": "Upload to kraken to get url",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2400,
        620
      ]
    },
    {
      "id": "1f64aff4-844b-441a-b0b7-02ba003edf5b",
      "name": "Convert Cover Image 3:1 to Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1700,
        880
      ]
    },
    {
      "id": "1f231629-e086-4c14-ac2c-e1464b887e46",
      "name": "Get Video Generation Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2060,
        880
      ]
    },
    {
      "id": "61732f26-507e-4e65-bc9c-aa48f014e049",
      "name": "Confirm Generation Status1",
      "type": "n8n-nodes-base.switch",
      "position": [
        2240,
        880
      ]
    },
    {
      "id": "7cde42d1-198e-4004-b025-8011d60400cc",
      "name": "Download Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2460,
        860
      ]
    },
    {
      "id": "a017607f-b8e1-4863-aef7-0d85ef20ffa3",
      "name": "Upload Converted Video to Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2640,
        860
      ]
    },
    {
      "id": "231f64c6-499e-44c6-84a0-9a59062c5a4d",
      "name": "Update Cover Photo & Video URLs",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3080,
        640
      ]
    },
    {
      "id": "2b7e5239-1c99-4875-b8e8-659ee305affa",
      "name": "Send Status Updates on Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        3280,
        640
      ]
    },
    {
      "id": "04d7b1f2-c790-400f-a97d-bbbe054125bf",
      "name": "Render Video Trigger",
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "position": [
        -780,
        1440
      ]
    },
    {
      "id": "292d51ff-477f-4b0e-b018-664949d5b880",
      "name": "Get Pending Render Row",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -560,
        1440
      ]
    },
    {
      "id": "6f6fb085-e42c-4cfc-bad4-2bcbeb47eb92",
      "name": "Render Audio Track + Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -360,
        1440
      ]
    },
    {
      "id": "dc560357-3a78-448c-a966-17b3a1a48a02",
      "name": "Send URL to GDrive Script and Upload",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        20,
        1440
      ]
    },
    {
      "id": "70a37583-ddf8-44ab-8628-9a89c3586685",
      "name": "Rename Uploaded Video",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        220,
        1440
      ]
    },
    {
      "id": "f996a858-e7e6-42d0-999f-c41ca96c2c93",
      "name": "Update Music Video URL + Render Status",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        440,
        1440
      ]
    },
    {
      "id": "29088148-44ce-40cd-8b22-51046e0c5ee4",
      "name": "Send Video URL to User",
      "type": "n8n-nodes-base.telegram",
      "position": [
        660,
        1440
      ]
    },
    {
      "id": "bf28c872-7980-4092-820a-ae8ebb0184da",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -860,
        1340
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "9b78583c-c284-4db1-a250-a1683e33fb63",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -860,
        180
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e0342635-2582-4fd3-9bc2-8c9acb221b6e",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -860,
        -480
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "Get Music Generation Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Update Cover Photo & Video URLs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "get_image_url1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait2": {
      "main": [
        [
          {
            "node": "get_image_url",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait3": {
      "main": [
        [
          {
            "node": "Send URL to GDrive Script and Upload",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1 minute": {
      "main": [
        [
          {
            "node": "Get Video Generation Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Image": {
      "main": [
        [
          {
            "node": "Upload Cover Image 1:1 to Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Field": {
      "main": [
        [
          {
            "node": "AI Music Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Image1": {
      "main": [
        [
          {
            "node": "Upload to kraken to get url",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Music Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "get_image_url": {
      "main": [
        [
          {
            "node": "Get Image1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Music Agent": {
      "main": [
        [
          {
            "node": "Send Message to User",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Video": {
      "main": [
        [
          {
            "node": "Upload Converted Video to Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_image_url1": {
      "main": [
        [
          {
            "node": "Get Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Lyrics AI Agent": {
      "main": [
        [
          {
            "node": "Music Generation API Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Music Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Lyrics AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Download Voice Note": {
      "main": [
        [
          {
            "node": "Transcribe Voice Note",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get one Pending Row": {
      "main": [
        [
          {
            "node": "Lyrics AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Field to \"text\"": {
      "main": [
        [
          {
            "node": "AI Music Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Audio Track": {
      "main": [
        [
          {
            "node": "Upload Audio Track to Drive",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rate Limit Wait Node": {
      "main": [
        []
      ]
    },
    "Render Video Trigger": {
      "main": [
        [
          {
            "node": "Get Pending Render Row",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rename Uploaded Video": {
      "main": [
        [
          {
            "node": "Update Music Video URL + Render Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transcribe Voice Note": {
      "main": [
        [
          {
            "node": "Set Field",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Pending Render Row": {
      "main": [
        [
          {
            "node": "Render Audio Track + Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Video URL to User": {
      "main": [
        []
      ]
    },
    "Generate Cover Image 1:1": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Cover Image 3:1": {
      "main": [
        [
          {
            "node": "Wait2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Cover Image and Video Prompts AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Lyrics AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Confirm Generation Status": {
      "main": [
        [
          {
            "node": "Download Audio Track",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Rate Limit Wait Node",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "Cover Image and Video Prompts AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Confirm Generation Status1": {
      "main": [
        [
          {
            "node": "Download Video",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "1 minute",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Rate Limit Wait Node1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Render Audio Track + Video": {
      "main": [
        [
          {
            "node": "Wait3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch Text or Voice Input": {
      "main": [
        [
          {
            "node": "Set Field to \"text\"",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Download Voice Note",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Audio URL in GSheet": {
      "main": [
        [
          {
            "node": "Cover Image and Video Prompts AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Music Generation Status": {
      "main": [
        [
          {
            "node": "Confirm Generation Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Video Generation Status": {
      "main": [
        [
          {
            "node": "Confirm Generation Status1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Audio Track to Drive": {
      "main": [
        [
          {
            "node": "Update Audio URL in GSheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload to kraken to get url": {
      "main": [
        [
          {
            "node": "Convert Cover Image 3:1 to Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Music Generation API Request": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Append Music Tracks to GSheets": {
      "ai_tool": [
        [
          {
            "node": "AI Music Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update Cover Photo & Video URLs": {
      "main": [
        [
          {
            "node": "Send Status Updates on Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Converted Video to Drive": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Upload Cover Image 1:1 to Drive": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert Cover Image 3:1 to Video": {
      "main": [
        [
          {
            "node": "1 minute",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Track Ideas Agent Telegram Trigger": {
      "main": [
        [
          {
            "node": "Switch Text or Voice Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Rows: Confirm Tracks in GSheets": {
      "ai_tool": [
        [
          {
            "node": "AI Music Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Send URL to GDrive Script and Upload": {
      "main": [
        [
          {
            "node": "Rename Uploaded Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Cover Image and Video Prompts AI Agent": {
      "main": [
        [
          {
            "node": "Generate Cover Image 1:1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Generate Cover Image 3:1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Music Video URL + Render Status": {
      "main": [
        [
          {
            "node": "Send Video URL to User",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SerpAPI: Browse the internet for Music Ideas": {
      "ai_tool": [
        [
          {
            "node": "AI Music Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets Trigger: Start Processing Tracks": {
      "main": [
        [
          {
            "node": "Get one Pending Row",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}