8
n8n 中文网amn8n.com

背景移除 API MCP 服务器

中级

这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 9 个节点。主要使用 HttpRequestTool, McpTrigger 等节点。 背景移除 API MCP 服务器

前置要求
  • 可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "ZijXs996AMDHxafz",
  "meta": null,
  "name": "背景移除 API MCP 服务器",
  "tags": [],
  "nodes": [
    {
      "id": "e6a0a1d3-893b-440a-a33c-04444c223897",
      "name": "设置说明",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1380,
        -240
      ],
      "parameters": {
        "color": 4,
        "height": 1060,
        "content": "### ⚙️ 设置说明"
      },
      "typeVersion": 1
    },
    {
      "id": "e8132198-28e7-427d-a11a-708c4164c5d2",
      "name": "工作流概览",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        -100
      ],
      "parameters": {
        "width": 320,
        "height": 560,
        "content": "## 🛠️ 背景移除 MCP 服务器 ✅ 3 个操作"
      },
      "typeVersion": 1
    },
    {
      "id": "6af1d351-70a0-4ea1-8a52-a3e01f4362b7",
      "name": "背景移除 MCP 服务器",
      "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": "获取账户余额",
      "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": "网格注释 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -740,
        20
      ],
      "parameters": {
        "color": 7,
        "width": 260,
        "height": 220,
        "content": "## 获取账户信息"
      },
      "typeVersion": 1
    },
    {
      "id": "f613d1eb-b71f-41a8-b2fb-f620ae2604b5",
      "name": "提交图像进行改进",
      "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": "网格注释 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -460,
        20
      ],
      "parameters": {
        "color": 7,
        "width": 260,
        "height": 220,
        "content": "## 改进计划"
      },
      "typeVersion": 1
    },
    {
      "id": "b16c434a-0683-4ff7-87bd-a21dfe9d784e",
      "name": "移除图像背景",
      "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": "网格注释 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -180,
        20
      ],
      "parameters": {
        "color": 7,
        "width": 260,
        "height": 220,
        "content": "## 背景移除"
      },
      "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": {
    "Fetch Account Balance": {
      "ai_tool": [
        [
          {
            "node": "Background Removal MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Remove Image Background": {
      "ai_tool": [
        [
          {
            "node": "Background Removal MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Submit Image for Improvement": {
      "ai_tool": [
        [
          {
            "node": "Background Removal MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "triggerCount": 0
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

中级 - 内容创作, 多模态 AI

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
中级
节点数量9
分类2
节点类型3
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
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

外部链接
在 n8n.io 查看

分享此工作流