{
  "name": "Automated AI product photography and Instagram post generator (Deepseek/Segmind)",
  "nodes": [
    {
      "id": "c0d615a8-0932-4140-8bb5-6018c6d61154",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -760,
        1320
      ]
    },
    {
      "id": "6c5352be-a9a3-4c0d-8d0a-cb67c205e3ca",
      "name": "InputYourImageURL",
      "type": "n8n-nodes-base.set",
      "position": [
        -160,
        1320
      ]
    },
    {
      "id": "6bbc183e-86f3-400f-972c-55e389839c95",
      "name": "Structured Output Parser1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1420,
        1460
      ]
    },
    {
      "id": "402186b3-c6ab-447f-af7d-11eae3246393",
      "name": "ImageInstruction",
      "type": "n8n-nodes-base.set",
      "position": [
        -340,
        1320
      ]
    },
    {
      "id": "250532f4-ac14-4daf-aad0-32c574856a6d",
      "name": "WithHumanModel",
      "type": "n8n-nodes-base.set",
      "position": [
        880,
        1240
      ]
    },
    {
      "id": "4abc910c-c149-45d5-9c22-c856eada6f4a",
      "name": "NoHumanModel",
      "type": "n8n-nodes-base.set",
      "position": [
        880,
        1440
      ]
    },
    {
      "id": "651e01a3-8eee-43fe-b820-eb5cc26a6149",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1200,
        1460
      ]
    },
    {
      "id": "ae5346d3-3029-49f5-8f7a-b7a47ac3b4d8",
      "name": "AI Agent1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1200,
        1240
      ]
    },
    {
      "id": "bfc4afe4-3fea-489a-a3ea-1ed979d6823c",
      "name": "SegmindAPIKey",
      "type": "n8n-nodes-base.set",
      "position": [
        -520,
        1320
      ]
    },
    {
      "id": "fe0826b1-80e0-416f-b4d5-6edbe80c10e4",
      "name": "RetrieveGeneratedImage",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2760,
        1240
      ]
    },
    {
      "id": "56784087-bc91-4f9b-b72b-c076eb2785e7",
      "name": "RetrieveImageURL",
      "type": "n8n-nodes-base.set",
      "position": [
        2960,
        1240
      ]
    },
    {
      "id": "e0dfd38b-8fc2-4752-aaf7-5b6ccbc53530",
      "name": "DownloadImage",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3180,
        1240
      ]
    },
    {
      "id": "9646251f-e427-4a27-98f8-fd0d4779ab44",
      "name": "SendProductPhotography",
      "type": "n8n-nodes-base.telegram",
      "position": [
        3440,
        1240
      ]
    },
    {
      "id": "041ab07d-ac24-406c-a971-b5bb175d338b",
      "name": "SendInstagramPost",
      "type": "n8n-nodes-base.telegram",
      "position": [
        3660,
        1240
      ]
    },
    {
      "id": "7cbb4f66-f7c3-448b-a55b-a5600dbd8fb1",
      "name": "GenerateRandomSeedNumber",
      "type": "n8n-nodes-base.code",
      "position": [
        1620,
        1240
      ]
    },
    {
      "id": "66ada10b-baa3-4bfd-a126-404f0fffd75d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -840,
        1160
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "a43a0459-6499-4cef-a537-db84d05a6360",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -560,
        1160
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "78ad7870-26c2-408e-9c8b-de214b7db24a",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        1160
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "c84665a2-1dae-4462-903e-bcea1ae72df4",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        1160
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "b0022473-3282-499e-9a90-323cb7ce35c2",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -840,
        540
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "8d944459-65da-4679-b22b-b2a7a1be7eb2",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1080,
        1080
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "0b552b17-7dff-49b1-84f2-097ed65f6a53",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1560,
        1120
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "f29b578e-57bf-4e85-9eea-6f7e8a4c5dff",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2000,
        1080
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "b85d7557-9dd1-450c-9fe8-e48ddef8ab6b",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2420,
        1120
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "d1854c84-6a66-4c0b-89be-54490237dd2a",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2700,
        1120
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "09991a12-2ae1-4df7-951b-dfa30d171c70",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3120,
        1120
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "578de79d-b67c-4003-965b-3fa246cece2f",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3360,
        1120
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "95ece10a-2524-4bc4-be6d-4381cdca3238",
      "name": "SendImageURL",
      "type": "n8n-nodes-base.telegram",
      "position": [
        3860,
        1240
      ]
    },
    {
      "id": "e9e49882-b094-4877-99ee-851b718f4bff",
      "name": "GetImage_Segmind",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2120,
        1240
      ]
    },
    {
      "id": "538b43cd-51ab-438a-9be7-9fe98d478f82",
      "name": "Wait 5 minutes",
      "type": "n8n-nodes-base.wait",
      "position": [
        2500,
        1240
      ]
    },
    {
      "id": "4571ecef-87ee-4a8a-9c31-eafd55a4748d",
      "name": "Get image description",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        320,
        1320
      ]
    },
    {
      "id": "601aa5b2-0b19-4367-973e-2af327421741",
      "name": "Set seed field",
      "type": "n8n-nodes-base.set",
      "position": [
        1820,
        1240
      ]
    },
    {
      "id": "92354b40-5318-4b9f-b4bb-968375854e8d",
      "name": "Check if an Human Model is required",
      "type": "n8n-nodes-base.if",
      "position": [
        640,
        1320
      ]
    },
    {
      "id": "bbe201f5-a9a5-42d0-8b6f-b96978365567",
      "name": "Telegram ChatID",
      "type": "n8n-nodes-base.set",
      "position": [
        20,
        1320
      ]
    }
  ],
  "connections": {
    "AI Agent1": {
      "main": [
        [
          {
            "node": "GenerateRandomSeedNumber",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "NoHumanModel": {
      "main": [
        [
          {
            "node": "AI Agent1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "DownloadImage": {
      "main": [
        [
          {
            "node": "SendProductPhotography",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SegmindAPIKey": {
      "main": [
        [
          {
            "node": "ImageInstruction",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set seed field": {
      "main": [
        [
          {
            "node": "GetImage_Segmind",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 5 minutes": {
      "main": [
        [
          {
            "node": "RetrieveGeneratedImage",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "WithHumanModel": {
      "main": [
        [
          {
            "node": "AI Agent1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram ChatID": {
      "main": [
        [
          {
            "node": "Get image description",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GetImage_Segmind": {
      "main": [
        [
          {
            "node": "Wait 5 minutes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ImageInstruction": {
      "main": [
        [
          {
            "node": "InputYourImageURL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RetrieveImageURL": {
      "main": [
        [
          {
            "node": "DownloadImage",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "SegmindAPIKey",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "InputYourImageURL": {
      "main": [
        [
          {
            "node": "Telegram ChatID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SendInstagramPost": {
      "main": [
        [
          {
            "node": "SendImageURL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Get image description": {
      "main": [
        [
          {
            "node": "Check if an Human Model is required",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RetrieveGeneratedImage": {
      "main": [
        [
          {
            "node": "RetrieveImageURL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SendProductPhotography": {
      "main": [
        [
          {
            "node": "SendInstagramPost",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GenerateRandomSeedNumber": {
      "main": [
        [
          {
            "node": "Set seed field",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Check if an Human Model is required": {
      "main": [
        [
          {
            "node": "WithHumanModel",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "NoHumanModel",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}