Skip to content
2.6 KB
Raw Blame
{
  "name": "Test z-image-turbo server",
  "nodes": [
    {
      "parameters": {},
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        -160,
        0
      ],
      "id": "66b96ebe-9002-4ce0-9c49-0787813d0e8a",
      "name": "When clicking ‘Execute workflow’"
    },
    {
      "parameters": {
        "operation": "toBinary",
        "sourceProperty": "image",
        "options": {}
      },
      "type": "n8n-nodes-base.convertToFile",
      "typeVersion": 1.1,
      "position": [
        288,
        0
      ],
      "id": "b5fd232a-d4a9-4518-bfd6-c7823d61c5ba",
      "name": "Convert to File"
    },
    {
      "parameters": {
        "content": "# 📚 [Join our Skool community for video automations, support, premium content and more!](https://www.skool.com/ai-agents-az/about)\n\n## premium workflows\n## hosted GPU media server\n## voice cloning\n\n## Long-form video tools like \n### LoFi music video creator\n### Sleep video creator",
        "height": 452,
        "width": 636,
        "color": 6
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -144,
        -528
      ],
      "id": "1b25b497-a1de-4f6a-a96a-1ee51716e1f0",
      "name": "Sticky Note17"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "<<insert your modal.com url here>>/generate",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify({\n    \"prompt\": \"a pirate cat\",\n    \"width\": 1024,\n    \"height\": 1024,\n    \"steps\": 9\n}, null, 2) }}",
        "options": {
          "redirect": {
            "redirect": {}
          }
        }
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.3,
      "position": [
        64,
        0
      ],
      "id": "7991386d-7039-4e29-bd2e-9ec9a69e5437",
      "name": "Generate image"
    }
  ],
  "pinData": {},
  "connections": {
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Generate image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate image": {
      "main": [
        [
          {
            "node": "Convert to File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "f13c6dce-0c67-4d91-bb1d-f8add6ad5d1d",
  "meta": {
    "instanceId": "636db6b6ab21a21c6458e2137f340e33dc3e49f5a1c560c8d1e2372c227cf40e"
  },
  "id": "gBhuFNz3Ar84mpgf",
  "tags": []
}