{
  "name": "3D figurine orthographic views with Midjourney and GPT-4o-image API",
  "nodes": [
    {
      "id": "30ff7c89-7fb6-4daf-b7f2-d178ee702243",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        720,
        220
      ]
    },
    {
      "id": "26cb9d6e-6a73-4a27-805d-8577c84101fa",
      "name": "Midjourney Generator",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        940,
        220
      ]
    },
    {
      "id": "4220555c-f4f4-43ab-8d03-1ae4b959bdd1",
      "name": "Get Midjourney URL",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        760,
        460
      ]
    },
    {
      "id": "e81311ee-4522-4fb3-929f-1c062427c859",
      "name": "Verify URL Acquisition",
      "type": "n8n-nodes-base.if",
      "position": [
        960,
        460
      ]
    },
    {
      "id": "9519899e-c246-474e-8fd6-7dd16cf27a5b",
      "name": "Wait for Generation",
      "type": "n8n-nodes-base.wait",
      "position": [
        980,
        700
      ]
    },
    {
      "id": "693348ab-12ab-4896-9fda-a9141263ccbf",
      "name": "Get Random Image URL",
      "type": "n8n-nodes-base.code",
      "position": [
        1240,
        520
      ]
    },
    {
      "id": "18f030a6-7333-45df-af1d-f8c5492084c6",
      "name": "Generation 3-view Image with GPT-4o-Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1440,
        520
      ]
    },
    {
      "id": "4d758715-79d5-4c2e-94d2-d1cfe1bdda6d",
      "name": "Check if the URL is obtained",
      "type": "n8n-nodes-base.if",
      "position": [
        1840,
        520
      ]
    },
    {
      "id": "690c002c-8641-4bb9-8c55-8b5cd6f01f2c",
      "name": "Get Final Output",
      "type": "n8n-nodes-base.code",
      "position": [
        2080,
        540
      ]
    },
    {
      "id": "db38b578-1078-4a89-b429-55ba337a21fc",
      "name": "Get Image",
      "type": "n8n-nodes-base.code",
      "position": [
        1660,
        520
      ]
    }
  ],
  "connections": {
    "Get Image": {
      "main": [
        [
          {
            "node": "Check if the URL is obtained",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Midjourney URL": {
      "main": [
        [
          {
            "node": "Verify URL Acquisition",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Generation": {
      "main": [
        [
          {
            "node": "Get Midjourney URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Random Image URL": {
      "main": [
        [
          {
            "node": "Generation 3-view Image with GPT-4o-Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Midjourney Generator": {
      "main": [
        [
          {
            "node": "Get Midjourney URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Verify URL Acquisition": {
      "main": [
        [
          {
            "node": "Get Random Image URL",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait for Generation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check if the URL is obtained": {
      "main": [
        [
          {
            "node": "Generation 3-view Image with GPT-4o-Image",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get Final Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Midjourney Generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generation 3-view Image with GPT-4o-Image": {
      "main": [
        [
          {
            "node": "Get Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}