{
  "name": "Create photorealistic social media images with Flux Realism, LoRa models & Airtable",
  "nodes": [
    {
      "id": "487b3efd-b3ae-4a8d-aaf9-e98674172c86",
      "name": "Status Check2",
      "type": "n8n-nodes-base.if",
      "position": [
        2512,
        304
      ]
    },
    {
      "id": "5eba717a-9415-449c-91b6-97845ccab7c6",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1392,
        304
      ]
    },
    {
      "id": "0822b74c-3e44-4da1-84c0-6b8c9020c2ab",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        1168,
        304
      ]
    },
    {
      "id": "b17b3784-6e7b-4761-8535-843b04b8c5a9",
      "name": "ComfyUI Actual Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2288,
        224
      ]
    },
    {
      "id": "2ae7dd46-77e6-4545-a301-675cdfa515bd",
      "name": "RunComfyFluxRealism",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1840,
        304
      ]
    },
    {
      "id": "2531cb53-4be4-4d11-bd53-3eee1830b6aa",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -176,
        -112
      ]
    },
    {
      "id": "778c2ee6-96ac-43b6-b841-ffeab3c7d167",
      "name": "Get RunComfy Workflows",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        256,
        -112
      ]
    },
    {
      "id": "aac8df53-db0b-4857-8fe5-0888db7062f3",
      "name": "RunComfy Start Server",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        48,
        304
      ]
    },
    {
      "id": "56162819-dbab-4821-907e-11599aa5874d",
      "name": "Check Server Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        496,
        224
      ]
    },
    {
      "id": "8e83f9cb-56c9-49b5-8da6-ccff242e4a46",
      "name": "Search All Records from Airtable",
      "type": "n8n-nodes-base.airtable",
      "position": [
        944,
        304
      ]
    },
    {
      "id": "e95b310a-7537-495c-8270-295be3e3b6be",
      "name": "Server Ready Check",
      "type": "n8n-nodes-base.if",
      "position": [
        720,
        304
      ]
    },
    {
      "id": "dcf3d565-6141-42e7-9211-4d5c70b7815c",
      "name": "Wait for Server",
      "type": "n8n-nodes-base.wait",
      "position": [
        272,
        304
      ]
    },
    {
      "id": "3f8f49a2-7a25-484d-86b2-8ebf39b13bea",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -48,
        80
      ],
      "parameters": {
        "width": 288,
        "height": 608,
        "content": "## Server-Node\n\nPlease put in the body parameter:\n1. WOKFLOW SERVER ID\n2. TIME to RUN (length) in seconds\n3. Size of the server: minimum medium: select better large or bigger"
      }
    },
    {
      "id": "82f8f379-b7c3-4634-9c61-75f967879e3e",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        880,
        80
      ],
      "parameters": {
        "width": null,
        "height": 608,
        "content": "## Link your Airtable database\n1. necessary input data: pose_1 - Tell here what the picture is about\n2. exact Character LoRa Name for Flux Realism (must be uploaded to RunComfy)\n"
      }
    },
    {
      "id": "e1c5b201-11af-469c-a216-8e21c44baa32",
      "name": "Delete RunComfy Server",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1616,
        112
      ]
    },
    {
      "id": "bc256518-d236-4002-9d4b-35f24368964f",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1008,
        64
      ],
      "parameters": {
        "width": 448,
        "height": 608,
        "content": "## Informormation RUNCOMFY Workflow to create Photorealistic \n\nSet up:\n1. RunComfy Membership \n2. Airtable Account\n\nATTENTION:\n\nPlease make sure to have an eye on the Server. \nDelete the server manual"
      }
    },
    {
      "id": "08b085fb-07d3-4305-9c95-b1ac81436f17",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -432,
        304
      ]
    },
    {
      "id": "df89aae7-9437-4eb6-a6fe-d78b0f8c9764",
      "name": "Update Airtable Record",
      "type": "n8n-nodes-base.airtable",
      "position": [
        2960,
        368
      ]
    },
    {
      "id": "e85803a8-ccb5-4c2d-aed4-ec7de368b84e",
      "name": "Download Generated Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2736,
        304
      ]
    },
    {
      "id": "6bc1be41-44dc-43f9-9a52-7b1eea270969",
      "name": "Wait for Prompt",
      "type": "n8n-nodes-base.wait",
      "position": [
        2064,
        304
      ]
    },
    {
      "id": "947e2b4b-6f02-494b-a273-9c35831e2e94",
      "name": "Set RunComfy Parameter",
      "type": "n8n-nodes-base.set",
      "position": [
        1616,
        304
      ]
    },
    {
      "id": "d863933e-a0fb-4daa-b6a2-61e65062318f",
      "name": "Final message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1840,
        112
      ]
    },
    {
      "id": "f1c7b116-e716-42f1-8d0e-83f673b7fcda",
      "name": "User ID",
      "type": "n8n-nodes-base.set",
      "position": [
        32,
        -112
      ]
    },
    {
      "id": "36525d85-ecff-4bad-9132-04d5d1b9418c",
      "name": "User and Workflow Version ID",
      "type": "n8n-nodes-base.set",
      "position": [
        -208,
        304
      ]
    }
  ],
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "User ID": {
      "main": [
        [
          {
            "node": "Get RunComfy Workflows",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Status Check2": {
      "main": [
        [
          {
            "node": "Download Generated Image",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait for Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Delete RunComfy Server",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set RunComfy Parameter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Prompt": {
      "main": [
        [
          {
            "node": "ComfyUI Actual Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Server": {
      "main": [
        [
          {
            "node": "Check Server Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "User and Workflow Version ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Server Ready Check": {
      "main": [
        [
          {
            "node": "Search All Records from Airtable",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait for Server",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Server Status": {
      "main": [
        [
          {
            "node": "Server Ready Check",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RunComfyFluxRealism": {
      "main": [
        [
          {
            "node": "Wait for Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ComfyUI Actual Status": {
      "main": [
        [
          {
            "node": "Status Check2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RunComfy Start Server": {
      "main": [
        [
          {
            "node": "Wait for Server",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Delete RunComfy Server": {
      "main": [
        [
          {
            "node": "Final message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set RunComfy Parameter": {
      "main": [
        [
          {
            "node": "RunComfyFluxRealism",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Airtable Record": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Generated Image": {
      "main": [
        [
          {
            "node": "Update Airtable Record",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "User and Workflow Version ID": {
      "main": [
        [
          {
            "node": "RunComfy Start Server",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search All Records from Airtable": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "User ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}