{
  "name": "Create an image enhancement API endpoint with Nero AI Business API",
  "nodes": [
    {
      "id": "971a6566-192d-4ad8-acc1-e9e2f629151f",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -48,
        0
      ]
    },
    {
      "id": "faef3c56-cfd9-407e-8118-8b41d8864c36",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1168,
        0
      ]
    },
    {
      "id": "a30aaef1-8761-4b49-9b92-68922593feac",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        448,
        0
      ]
    },
    {
      "id": "63bb4342-5d24-43c3-b632-5946cdc4c64b",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        880,
        0
      ]
    },
    {
      "id": "9ef7adc4-43cc-4e28-ad21-04681e5d3587",
      "name": "Create task",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        224,
        0
      ]
    },
    {
      "id": "17fd191a-de94-42ca-9bb3-e79aeca82f03",
      "name": "Query task status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        672,
        0
      ]
    },
    {
      "id": "ddf31898-d972-41ca-a6bb-552fdb07997b",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        288,
        -464
      ],
      "parameters": {
        "width": 620,
        "height": 140,
        "content": "## Create an AI task API endpoint\n\nIn this workflow we show how to create an AI task API endpoint with `Webhook` and `Respond to Webhook` nodes"
      }
    },
    {
      "id": "08f7c363-1e06-4f4e-b1ee-60d6d43d6bf7",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        288,
        -304
      ],
      "parameters": {
        "width": 620,
        "height": 240,
        "content": "### How to use it\n1. Apply for an API key from https://ai.nero.com/ai-api?utm_source=n8n-base-workflow\n2. Fill your key into the `Create task` and `Query task status` nodes\n3. Select an AI service and"
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Query task status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook": {
      "main": [
        [
          {
            "node": "Create task",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create task": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Query task status": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}