创建匿名化任务
高级
这是一个Miscellaneous, Multimodal AI领域的自动化工作流,包含 16 个节点。主要使用 Set, Wait, Merge, Switch, FormTrigger 等节点。 使用 BlurIt 匿名化媒体中的人脸和车牌
前置要求
- •可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "bQJuF8cpe6EMZX7U",
"meta": {
"instanceId": "0283758dc0335e9b1b2218a449f9bf44fcd77a14164b1c6c2f38f248bc8cd58a",
"templateCredsSetupCompleted": true
},
"name": "创建匿名化任务",
"tags": [],
"nodes": [
{
"id": "ae467417-1a90-450a-b282-e5cd05ef19e9",
"name": "设置认证配置",
"type": "n8n-nodes-base.set",
"position": [
816,
288
],
"parameters": {
"values": {
"string": [
{
"name": "BASE_URL",
"value": "https://api.services.wassa.io"
},
{
"name": "CLIENT_ID",
"value": "[REPLACE_BY_YOUR_CLIENT_ID]"
},
{
"name": "SECRET_ID",
"value": "[REPLACE_BY_YOUR_SECRET_ID]"
}
]
},
"options": {}
},
"typeVersion": 2
},
{
"id": "32e7df45-69a9-4998-9713-a26d8522bd96",
"name": "认证获取令牌",
"type": "n8n-nodes-base.httpRequest",
"position": [
960,
288
],
"parameters": {
"url": "={{$json.BASE_URL}}/login",
"options": {},
"requestMethod": "POST",
"jsonParameters": true,
"bodyParametersJson": "={\"clientId\": \"{{$json.CLIENT_ID}}\",\"secretId\": \"{{$json.SECRET_ID}}\"}"
},
"typeVersion": 2,
"alwaysOutputData": false
},
{
"id": "fed4c630-601e-4619-b9cc-f9bd65b22971",
"name": "上传输入文件",
"type": "n8n-nodes-base.formTrigger",
"position": [
624,
448
],
"webhookId": "6afa917a-f6c6-459c-907c-ec8cfa950703",
"parameters": {
"path": "6afa917a-f6c6-459c-907c-ec8cfa950703",
"options": {},
"formTitle": "Media Upload Form",
"formFields": {
"values": [
{
"fieldType": "file",
"fieldLabel": "input_media",
"multipleFiles": false,
"requiredField": true
}
]
},
"formDescription": "Upload an image or video for anonymization"
},
"typeVersion": 1
},
{
"id": "cf4538de-73ed-4fb2-b0b5-c046c6b628e4",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
368,
192
],
"parameters": {
"color": 4,
"width": 384,
"height": 384,
"content": "### 文件上传"
},
"typeVersion": 1
},
{
"id": "43e5c518-b3ba-4839-acb1-bc69d6a790b0",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
784,
80
],
"parameters": {
"color": 4,
"width": 304,
"height": 352,
"content": "### Blurit凭据"
},
"typeVersion": 1
},
{
"id": "c56a0ec8-ad6a-4d33-998e-d59490a8486c",
"name": "创建Blurit任务",
"type": "n8n-nodes-base.httpRequest",
"position": [
1344,
288
],
"parameters": {
"url": "={{$(\"Set Auth Config\").item.json.BASE_URL}}/innovation-service/anonymization",
"method": "POST",
"options": {},
"sendBody": true,
"contentType": "multipart-form-data",
"sendHeaders": true,
"bodyParameters": {
"parameters": [
{
"name": "input_media",
"parameterType": "formBinaryData",
"inputDataFieldName": "input_media"
},
{
"name": "activation_plates_blur",
"value": "true"
},
{
"name": "activation_faces_blur",
"value": "true"
},
{
"name": "blur_type",
"value": "{ \"anonymization_type\": \"blur\" }"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "=Bearer {{$json.token}}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "3cc4b2ec-14dd-4b20-8ffe-a208839e2638",
"name": "合并",
"type": "n8n-nodes-base.merge",
"position": [
1152,
432
],
"parameters": {
"mode": "combine",
"options": {},
"combineBy": "combineAll"
},
"typeVersion": 3
},
{
"id": "7ad08d82-bc1a-4c93-9ed4-ad463187b59b",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1296,
160
],
"parameters": {
"color": 4,
"width": 208,
"height": 272,
"content": "### 创建任务"
},
"typeVersion": 1
},
{
"id": "c003f5a7-a250-4271-ab8e-a2b0f6d3c830",
"name": "等待",
"type": "n8n-nodes-base.wait",
"position": [
1552,
432
],
"webhookId": "fb5f0603-0514-48ad-91b7-5e2c4acafc26",
"parameters": {
"amount": 2
},
"typeVersion": 1.1
},
{
"id": "4eea7063-81e5-4f63-ba6c-72dc5e31de6d",
"name": "获取任务状态",
"type": "n8n-nodes-base.httpRequest",
"position": [
1696,
432
],
"parameters": {
"url": "={{$(\"Set Auth Config\").item.json.BASE_URL}}/innovation-service/anonymization",
"options": {},
"sendQuery": true,
"sendHeaders": true,
"queryParameters": {
"parameters": [
{
"name": "anonymization_job_id",
"value": "={{$('Create Blurit Task').item.json.anonymization_job_id }}"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "=Bearer {{$('Auth Get Token').item.json.token}}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "c67633b9-bfca-42f1-adad-24d87e645eb4",
"name": "Switch",
"type": "n8n-nodes-base.switch",
"position": [
1840,
416
],
"parameters": {
"rules": {
"values": [
{
"outputKey": "Task Succeeded",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "2cbc0844-dc59-439a-b90e-fef51c413faa",
"operator": {
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "Succeeded"
}
]
},
"renameOutput": true
},
{
"outputKey": "Task Failed",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "54f82732-ed63-4478-aa35-9451382a1d0d",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "Failed"
}
]
},
"renameOutput": true
},
{
"outputKey": "Pending...",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "0eea9e63-2399-4c79-aadb-96aa72cbd0ce",
"operator": {
"type": "string",
"operation": "exists",
"singleValue": true
},
"leftValue": "={{ $json.status }}",
"rightValue": ""
}
]
},
"renameOutput": true
}
]
},
"options": {}
},
"typeVersion": 3.2
},
{
"id": "e4ef17e2-bc23-4154-8b48-e23850ff372a",
"name": "获取结果文件",
"type": "n8n-nodes-base.httpRequest",
"position": [
2048,
304
],
"parameters": {
"url": "={{$(\"Get Task Status\").item.json.output_media}}",
"options": {},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "=Bearer {{$('Auth Get Token').item.json.token}}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "2fa91dfb-3efe-4ede-b8e0-c4e685432700",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
2032,
160
],
"parameters": {
"color": 4,
"height": 272,
"content": "### 获取结果"
},
"typeVersion": 1
},
{
"id": "5e7383c0-60b4-47d0-bb1a-249aa8c01782",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-160,
-80
],
"parameters": {
"width": 480,
"height": 960,
"content": ""
},
"typeVersion": 1
},
{
"id": "9033e9f1-c41a-4f22-9f02-e5b0099c14cb",
"name": "便签5",
"type": "n8n-nodes-base.stickyNote",
"position": [
464,
624
],
"parameters": {
"width": 288,
"height": 256,
"content": "## 图像输入"
},
"typeVersion": 1
},
{
"id": "51f28f7b-52d8-4cb1-ba42-243d81172659",
"name": "便签6",
"type": "n8n-nodes-base.stickyNote",
"position": [
2032,
624
],
"parameters": {
"width": 288,
"height": 256,
"content": "## 图像输出"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "a62b04be-8942-4dc7-8252-850b3ff0df01",
"connections": {
"Wait": {
"main": [
[
{
"node": "Get Task Status",
"type": "main",
"index": 0
}
]
]
},
"Merge": {
"main": [
[
{
"node": "Create Blurit Task",
"type": "main",
"index": 0
}
]
]
},
"Switch": {
"main": [
[
{
"node": "Get Result File",
"type": "main",
"index": 0
}
],
[],
[
{
"node": "Wait",
"type": "main",
"index": 0
}
]
]
},
"Auth Get Token": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"Get Task Status": {
"main": [
[
{
"node": "Switch",
"type": "main",
"index": 0
}
]
]
},
"Set Auth Config": {
"main": [
[
{
"node": "Auth Get Token",
"type": "main",
"index": 0
}
]
]
},
"Upload Input File": {
"main": [
[
{
"node": "Set Auth Config",
"type": "main",
"index": 0
},
{
"node": "Merge",
"type": "main",
"index": 1
}
]
]
},
"Create Blurit Task": {
"main": [
[
{
"node": "Wait",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 杂项, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
PDF 转订单
使用AI将PDF采购订单自动化转换为Adobe Commerce销售订单
If
Set
Code
+19
96 节点JKingma
文档提取
每日 WhatsApp 群组智能分析:GPT-4.1 分析与语音消息转录
每日 WhatsApp 群组智能分析:GPT-4.1 分析与语音消息转录
If
Set
Code
+20
52 节点Daniel Lianes
杂项
使用Veo 3、Gemini和Creatomate生成并发布专业视频广告
使用Veo 3、Gemini和Creatomate生成并发布专业视频广告
Jwt
Set
Code
+11
66 节点LukaszB
内容创作
基于AI的WhatsApp支持机器人(Google Sheets工单创建)
基于AI的WhatsApp支持机器人(Google Sheets工单创建)
Set
Xml
Code
+20
35 节点Zain Khan
客服机器人
WordPress博客自动化专业版(深度研究)v2.1市场
使用GPT-4o、Perplexity AI和多语言支持自动化SEO优化的博客创建
If
Set
Xml
+27
125 节点Daniel Ng
内容创作
Sora 2
使用OpenAI Sora 2生成AI视频并上传到Google云端硬盘
Set
Form
Wait
+7
21 节点Juan Cristóbal Andrews
内容创作