{
  "name": "Generate custom AI images with OpenAI GPT-Image-1 model",
  "nodes": [
    {
      "id": "6b5f9234-351f-4f6b-a0ab-f0d30897f60a",
      "name": "Convert to File",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        320,
        400
      ]
    },
    {
      "id": "9c60f827-bf37-486b-9026-0cbe97fd83b6",
      "name": "OpenAI - Generate Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -120,
        400
      ]
    },
    {
      "id": "2dd04b96-5faf-48ec-a7b0-66a31866388d",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -560,
        400
      ]
    },
    {
      "id": "629799c0-d2ff-4c5a-95d8-54d5afd3ac66",
      "name": "Set Variables",
      "type": "n8n-nodes-base.set",
      "position": [
        -340,
        400
      ]
    },
    {
      "id": "5f4e4bbe-7331-42dc-86a3-5d9de658ea07",
      "name": "Separate Image Outputs",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        100,
        400
      ]
    },
    {
      "id": "0c0310a4-f354-4810-a967-ea002be09cc4",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -600,
        580
      ],
      "parameters": {
        "width": 1140,
        "height": 220,
        "content": "## [CLICK HERE to Watch Video](https://youtu.be/YmDezgolqzU?si=BgMjRm55-T_CYAs7)\n\nOpenAI just dropped API access for their new image generation — and it changes everything. In this quick walkthrough, "
      }
    }
  ],
  "connections": {
    "Set Variables": {
      "main": [
        [
          {
            "node": "OpenAI - Generate Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Separate Image Outputs": {
      "main": [
        [
          {
            "node": "Convert to File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI - Generate Image": {
      "main": [
        [
          {
            "node": "Separate Image Outputs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Set Variables",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}