基于APImage AI的自动化图像背景移除
中级
这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 8 个节点。主要使用 FormTrigger, HttpRequest 等节点。 基于APImage AI的自动化图像背景移除
前置要求
- •可能需要目标 API 的认证凭证
使用的节点 (8)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "47d295a7329d3547e0e6b56de9e439dc1a0a49c6d827b2320629f54300c47e41"
},
"nodes": [
{
"id": "b2a10153-b0c0-4bf9-9cbc-34c27203bbb9",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-280,
-40
],
"parameters": {
"color": 7,
"width": 1120,
"height": 220,
"content": ""
},
"typeVersion": 1
},
{
"id": "921c8f45-bf0b-421e-80cc-46a10b87d707",
"name": "APImage集成",
"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": "下载",
"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": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
560,
200
],
"parameters": {
"width": 280,
"height": 480,
"content": "### 输出图像"
},
"typeVersion": 1
},
{
"id": "04818f55-b094-46d5-b276-ad6668f78449",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-280,
540
],
"parameters": {
"color": 4,
"width": 280,
"height": 340,
"content": "您可以使用Form节点手动输入要去除背景的图像URL,或者连接来自任何提供图像链接的数据源的节点,例如:"
},
"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": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-280,
200
],
"parameters": {
"color": 4,
"width": 280,
"height": 320,
"content": "### 输入图像"
},
"typeVersion": 1
},
{
"id": "1cbbaf5c-673a-4032-af30-3b43468c9cb7",
"name": "便签说明4",
"type": "n8n-nodes-base.stickyNote",
"position": [
80,
540
],
"parameters": {
"color": 7,
"width": 380,
"height": 140,
"content": "### 需要支持?"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"Remove Background": {
"main": [
[
{
"node": "APImage Integration",
"type": "main",
"index": 0
}
]
]
},
"APImage Integration": {
"main": [
[
{
"node": "Download",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 内容创作, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用 APImage 生成 AI 图像并上传至 Google Drive
使用 APImage 生成 AI 图像并上传至 Google Drive
Form Trigger
Google Drive
Http Request
+1
8 节点Gegenfeld
内容创作
使用APImage AI移除图像背景:Airtable至Google Drive
使用APImage AI移除图像背景:Airtable至Google Drive
Code
Airtable
Split Out
+4
14 节点Gegenfeld
内容创作
使用 APImage 自动替换和重照明任何图像的背景
使用 APImage 自动替换和重照明任何图像的背景
Form Trigger
Google Drive
Http Request
+1
10 节点Gegenfeld
杂项
发型预览导出
基于OpenAI的AI发型预览生成器与LINE群组分享
Webhook
Form Trigger
Http Request
+2
8 节点kote2
内容创作
Recap AI - Veo 3.1 电商产品动画生成器
基于Veo 3.1的电商产品目录AI视频生成器
If
Set
Wait
+10
18 节点Lucas Walter
内容创作
基于AI的潜在客户资格评定与个性化触达(使用Relevance AI)
基于AI的潜在客户资格评定与个性化触达:使用Relevance AI
Set
Code
Gmail
+11
34 节点Diptamoy Barman
内容创作
工作流信息
难度等级
中级
节点数量8
分类2
节点类型3
作者
Gegenfeld
@gegenfeldWe 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.
外部链接
在 n8n.io 查看 →
分享此工作流