{
  "name": "n8n-3-5: Replicate",
  "nodes": [
    {
      "parameters": {},
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ],
      "id": "aa609952-9821-4afa-885f-b46aebe35ac7",
      "name": "When clicking ‘Test workflow’"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.replicate.com/v1/predictions",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Prefer",
              "value": "wait"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{\n  \"version\": \"dee76b5afde21b0f01ed7925f0665b7e879c50ee718c5f78a9d38e04d523cc5e\",\n  \"input\": {\n    \"prompt\": \"A TOK emoji of a man\",\n    \"apply_watermark\": false\n  }\n}",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        220,
        0
      ],
      "id": "192ca571-7610-432a-bb33-9b1a4224b1e3",
      "name": "HTTP Request",
      "credentials": {
        "httpHeaderAuth": {
          "id": "Mzl2Qd32a3JUBrHz",
          "name": "Replicate Bearer"
        }
      }
    }
  ],
  "pinData": {},
  "connections": {
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "meta": {
    "instanceId": "2d4526d7e2b7123bfb0e1996caa47744a7651d73096bbc7220a5e9657d119dfc"
  },
  "tags": [],
  "id": "OUU4Z9j9dLmO8HwM",
  "versionId": "324565cc-22c1-47ff-9181-9302515bb61d"
}
