Hintergrundentfernungs-API-MCP-Server

Fortgeschritten

Dies ist ein Content Creation, Multimodal AI-Bereich Automatisierungsworkflow mit 9 Nodes. Hauptsächlich werden HttpRequestTool, McpTrigger und andere Nodes verwendet. Background Removal API MCP-Server

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
{
  "id": "ZijXs996AMDHxafz",
  "meta": null,
  "name": "Background Removal API MCP Server",
  "tags": [],
  "nodes": [
    {
      "id": "e6a0a1d3-893b-440a-a33c-04444c223897",
      "name": "Einrichtungsanleitung",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1380,
        -240
      ],
      "parameters": {
        "color": 4,
        "height": 1060,
        "content": "### ⚙️ Setup Instructions\n\n1. **Import Workflow**: \nLoad this workflow into your n8n instance\n\n2. **Configure Authentication**: \nSet up apiKey credentials\n   - Type: API Key in header\n   - Key name: X-API-Key\n\n3. **Activate Workflow**:\nEnable the workflow to start the MCP server\n\n4. **Get MCP URL**: \nCopy the webhook URL from the MCP trigger\n\n5. **Connect AI Agent**:\nUse the MCP URL in your AI agent configuration\n\n\n### 💡 Usage Notes\n• Parameters are auto-populated by AI using $fromAI() expressions\n• With 3 API endpoints available as tools\n• Responses maintain original API structure\n\n\n### 🛠️ Customization\n• Add data transformation nodes if needed\n• Implement custom error handling\n• Add logging or monitoring nodes\n\n• Modify parameter defaults in any HTTP request node as needed\n\n### 💬 Need Help?\nPing me on [discord](https://discord.me/cfomodz) for integration guidance and custom automations. Check the [n8n documentation](https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolmcp/) for more information."
      },
      "typeVersion": 1
    },
    {
      "id": "e8132198-28e7-427d-a11a-708c4164c5d2",
      "name": "Workflow-Übersicht",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        -100
      ],
      "parameters": {
        "width": 320,
        "height": 560,
        "content": "## 🛠️ Background Removal MCP Server ✅ 3 operations\n\n### About\nRemove the background of any image\n\n### 🔧 How it Works\n\nThis workflow converts the Background Removal API into an MCP-compatible interface for AI agents.\n\n• **MCP Trigger**: Serves as your server endpoint for AI agent requests\n• **HTTP Request Nodes**: Handle API calls to https://api.remove.bg/v1.0\n• **AI Expressions**: Automatically populate parameters via `$fromAI()` placeholders\n• **Native Integration**: Returns responses directly to the AI agent\n"
      },
      "typeVersion": 1
    },
    {
      "id": "6af1d351-70a0-4ea1-8a52-a3e01f4362b7",
      "name": "Hintergrundentfernung MCP-Server",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        -940,
        -240
      ],
      "webhookId": "ac0e380e-976a-4538-abfa-8d4d7e9896ad",
      "parameters": {
        "path": "background-removal-mcp"
      },
      "typeVersion": 1
    },
    {
      "id": "c44b5257-5fa5-4966-bf1d-cc3129aec5e7",
      "name": "Kontostand abfragen",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -640,
        80
      ],
      "parameters": {
        "url": "=https://api.remove.bg/v1.0/account",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Fetch credit balance and free API calls."
      },
      "typeVersion": 4.2
    },
    {
      "id": "8e133695-4a0a-4063-a755-8bed53d9b5b7",
      "name": "Hinweis 1 (Raster)",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -740,
        20
      ],
      "parameters": {
        "color": 7,
        "width": 260,
        "height": 220,
        "content": "## Fetch Account Info"
      },
      "typeVersion": 1
    },
    {
      "id": "f613d1eb-b71f-41a8-b2fb-f620ae2604b5",
      "name": "Bild zur Verbesserung übermitteln",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -360,
        80
      ],
      "parameters": {
        "url": "=https://api.remove.bg/v1.0/improve",
        "method": "POST",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Submit an image to the remove.bg Improvement program * Contribute an image that remove.bg is currently not able to remove the background from properly * Help us make remove.bg better * Get better results for similiar images in the future Notes: * By submitting images through the API you agree to the <a target=\"_blank\" rel=\"noopener\" href=\"/ipc\">Improvement Program Conditions</a> * File size: up to 12MB * up to 100 files per day. Higher Rate Limits are available for Enterprise customers <a href=\"/support/contact?subject=Improvement+Program+Rate+Limit\">upon request</a>. Requires either an API Key to be provided in the `X-API-Key` request header or an OAuth 2.0 access token to be provided in the `Authorization` request header. Please note that submissions are used on a best-effort basis and the extent of expected improvement varies depending on many factors, including the number of provided images, their complexity and visual similarity. Improvements usually take several weeks to become effective."
      },
      "typeVersion": 4.2
    },
    {
      "id": "f994c2bc-3510-44b3-bde2-dd9205a8b848",
      "name": "Hinweis 2 (Raster)",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -460,
        20
      ],
      "parameters": {
        "color": 7,
        "width": 260,
        "height": 220,
        "content": "## Improvement Program"
      },
      "typeVersion": 1
    },
    {
      "id": "b16c434a-0683-4ff7-87bd-a21dfe9d784e",
      "name": "Bildhintergrund entfernen",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -80,
        80
      ],
      "parameters": {
        "url": "=https://api.remove.bg/v1.0/removebg",
        "method": "POST",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Remove the background of an image"
      },
      "typeVersion": 4.2
    },
    {
      "id": "31233f7b-c3f8-4700-8e1b-a3bdbf08b299",
      "name": "Hinweis 3 (Raster)",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -180,
        20
      ],
      "parameters": {
        "color": 7,
        "width": 260,
        "height": 220,
        "content": "## Background Removal"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "shared": [
    {
      "role": "workflow:owner",
      "project": {
        "id": "G5fce9xGuBAsWBXe",
        "icon": null,
        "name": "David Ashby <david.ashby.lds@gmail.com>",
        "type": "personal",
        "createdAt": "2025-06-04T02:55:02.013Z",
        "updatedAt": "2025-06-04T02:56:01.361Z",
        "projectRelations": [
          {
            "role": "project:personalOwner",
            "user": {
              "id": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
              "role": "global:owner",
              "email": "david.ashby.lds@gmail.com",
              "disabled": false,
              "lastName": "Ashby",
              "settings": {
                "npsSurvey": {
                  "responded": true,
                  "lastShownAt": 1749357655581
                },
                "userActivated": true,
                "userActivatedAt": 1749075994495,
                "easyAIWorkflowOnboarded": true,
                "firstSuccessfulWorkflowId": "3N3vVikZb3MckFYm"
              },
              "createdAt": "2025-06-04T02:55:01.745Z",
              "firstName": "David",
              "isPending": false,
              "updatedAt": "2025-06-08T04:40:58.399Z",
              "mfaEnabled": false,
              "personalizationAnswers": {
                "version": "v4",
                "personalization_survey_n8n_version": "1.95.3",
                "personalization_survey_submitted_at": "2025-06-04T02:56:07.075Z"
              }
            },
            "userId": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
            "createdAt": "2025-06-04T02:55:02.013Z",
            "projectId": "G5fce9xGuBAsWBXe",
            "updatedAt": "2025-06-04T02:55:02.013Z"
          }
        ]
      },
      "createdAt": "2025-07-03T05:52:50.006Z",
      "projectId": "G5fce9xGuBAsWBXe",
      "updatedAt": "2025-07-03T05:52:50.006Z",
      "workflowId": "ZijXs996AMDHxafz"
    }
  ],
  "pinData": {},
  "settings": {
    "timezone": "America/New_York"
  },
  "createdAt": "2025-07-03T05:52:50.004Z",
  "updatedAt": "2025-07-03T16:27:13.000Z",
  "versionId": "f0d42a0b-40e2-474e-8ddb-b89dd0e79fd1",
  "isArchived": false,
  "staticData": null,
  "connections": {
    "c44b5257-5fa5-4966-bf1d-cc3129aec5e7": {
      "ai_tool": [
        [
          {
            "node": "6af1d351-70a0-4ea1-8a52-a3e01f4362b7",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "b16c434a-0683-4ff7-87bd-a21dfe9d784e": {
      "ai_tool": [
        [
          {
            "node": "6af1d351-70a0-4ea1-8a52-a3e01f4362b7",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "f613d1eb-b71f-41a8-b2fb-f620ae2604b5": {
      "ai_tool": [
        [
          {
            "node": "6af1d351-70a0-4ea1-8a52-a3e01f4362b7",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "triggerCount": 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 Nodes9
Kategorie2
Node-Typen3
Schwierigkeitsbeschreibung

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

Autor
David Ashby

David Ashby

@cfomodz

A hacker by nature, programmer by trade ⚒️ I'm looking to collaborate on things that save human labor 📫 How to reach me Github👇 -> Discord

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34