Automatisierte Bildhintergrund-Entfernung mit APImage AI

Fortgeschritten

Dies ist ein Content Creation, Multimodal AI-Bereich Automatisierungsworkflow mit 8 Nodes. Hauptsächlich werden FormTrigger, HttpRequest und andere Nodes verwendet. Automatisierte Bildhintergrundentfernung basierend auf APImage AI

Voraussetzungen
  • Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "meta": {
    "instanceId": "47d295a7329d3547e0e6b56de9e439dc1a0a49c6d827b2320629f54300c47e41"
  },
  "nodes": [
    {
      "id": "b2a10153-b0c0-4bf9-9cbc-34c27203bbb9",
      "name": "Haftnotiz",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -280,
        -40
      ],
      "parameters": {
        "color": 7,
        "width": 1120,
        "height": 220,
        "content": "\n## ✨ How To Get Started \n1. Double-click the **APImage API** node to open it.\n2. Replace \"_YOUR_API_KEY_\" with your API Key.\n3. Use the **Remove Background** node to submit a request.\n\nNote: You can find your API Key inside the Dashboard of your APImage account. \n\n[Open the Dashboard 🡥](https://apimage.org/dashboard)"
      },
      "typeVersion": 1
    },
    {
      "id": "921c8f45-bf0b-421e-80cc-46a10b87d707",
      "name": "APImage Integration",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        80,
        340
      ],
      "parameters": {
        "url": "https://apimage.org/api/ai-remove-background",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "sendHeaders": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "image_url",
              "value": "={{ $json['Image URL'] }}"
            },
            {
              "name": "async",
              "value": "false"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer YOUR_API_KEY"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "43f128bc-de3f-4963-be18-a41804a9c23c",
      "name": "Download",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        360,
        340
      ],
      "parameters": {
        "url": "={{ $json.processed_image_url }}",
        "options": {}
      },
      "typeVersion": 4.2
    },
    {
      "id": "4d65b39a-c0e1-46ac-9f59-b34068a737cb",
      "name": "Haftnotiz2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        200
      ],
      "parameters": {
        "width": 280,
        "height": 480,
        "content": "### Output Images\nYou can add nodes for any service where you want the images to be stored, e.g.:\n\n- SQLite, MySQL, PostgreSQL, etc.\n- Google Drive, Dropbox, etc.\n- S3 Object Storage, FTP servers, etc.\n- Airtable, Notion, etc.\n- And any other service\n\n\n\n\n\n\n\n\n\n\n\nJust make sure to add those nodes after the \"Download\" node. The default name of the output image files is \"data\". "
      },
      "typeVersion": 1
    },
    {
      "id": "04818f55-b094-46d5-b276-ad6668f78449",
      "name": "Haftnotiz3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -280,
        540
      ],
      "parameters": {
        "color": 4,
        "width": 280,
        "height": 340,
        "content": "You can either use the Form node to manually enter image URLs whose background you want to remove, or connect nodes from any data source that provides image links, such as:\n\n- SQLite, MySQL, PostgreSQL, etc.\n- Google Drive, Dropbox, etc.\n- S3 Object Storage, FTP servers, etc.\n- Airtable, Notion, etc.\n- And any other service"
      },
      "typeVersion": 1
    },
    {
      "id": "2fb0d767-87e1-44f3-b721-3343af43b2b9",
      "name": "Remove Background",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -200,
        340
      ],
      "webhookId": "b7487db2-4581-4fd6-b4e0-afac3d8466fb",
      "parameters": {
        "options": {},
        "formTitle": "APImage Remove Background",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Image URL",
              "requiredField": true
            }
          ]
        },
        "formDescription": "Remove backgrounds from images"
      },
      "typeVersion": 2.2
    },
    {
      "id": "af9f1360-5554-4227-9545-9634a31b029b",
      "name": "Haftnotiz1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -280,
        200
      ],
      "parameters": {
        "color": 4,
        "width": 280,
        "height": 320,
        "content": "### Input Images\nThis node (Remove Background) can be replaced with any service that provides the input image URLs."
      },
      "typeVersion": 1
    },
    {
      "id": "1cbbaf5c-673a-4032-af30-3b43468c9cb7",
      "name": "Haftnotiz4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        540
      ],
      "parameters": {
        "color": 7,
        "width": 380,
        "height": 140,
        "content": "### Need support?\nIf you're having issues with setting up the APImage API, please contact:\n\n✉ [ask@support.apimage.org](mailto:ask@support.apimage.org)"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "2fb0d767-87e1-44f3-b721-3343af43b2b9": {
      "main": [
        [
          {
            "node": "921c8f45-bf0b-421e-80cc-46a10b87d707",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "921c8f45-bf0b-421e-80cc-46a10b87d707": {
      "main": [
        [
          {
            "node": "43f128bc-de3f-4963-be18-a41804a9c23c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Fortgeschritten - Content-Erstellung, Multimodales KI

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Workflow-Informationen
Schwierigkeitsgrad
Fortgeschritten
Anzahl der Nodes8
Kategorie2
Node-Typen3
Schwierigkeitsbeschreibung

Für erfahrene Benutzer, mittelkomplexe Workflows mit 6-15 Nodes

Autor
Gegenfeld

Gegenfeld

@gegenfeld

We at Gegenfeld are an EdTech platform dedicated to delivering high-quality on-demand courses and interactive training sessions for professional development at all skill levels. With our commitment to "Accelerate your future," we empower professionals to enhance their expertise through engaging, industry-focused learning experiences. On n8n, we share some of the workflows used in our interactive training to provide deeper insights and practical applications.

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34