OpenAI Vision图像分析并保留二进制数据
中级
这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 7 个节点。主要使用 Merge, FormTrigger, Agent, OpenAi, LmChatOpenAi 等节点。 使用OpenAI Vision分析图像,同时保留二进制数据以供重用
前置要求
- •OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "ad0113c344ee237399e44e9f11798b05baeb83a6196d514a9ae9d2ad71c3b5c9",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "d49cdb6a-5084-4c00-a40f-062c157a9b3d",
"name": "表单触发器 1",
"type": "n8n-nodes-base.formTrigger",
"position": [
-928,
10784
],
"webhookId": "d6f874ec-6cb3-46c7-8507-bd647c2484f0",
"parameters": {
"path": "d6f874ec-6cb3-46c7-8507-bd647c2484f0",
"options": {},
"formTitle": "Image Document Upload",
"formFields": {
"values": [
{
"fieldType": "file",
"fieldLabel": "data"
}
]
},
"formDescription": "Upload a image document for AI analysis"
},
"typeVersion": 2
},
{
"id": "a363370d-851d-4452-ac9a-b0f5d6a7107e",
"name": "分析图像",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
-368,
10576
],
"parameters": {
"text": "=data",
"modelId": {
"__rl": true,
"mode": "list",
"value": "gpt-4o",
"cachedResultName": "GPT-4O"
},
"options": {},
"resource": "image",
"inputType": "base64",
"operation": "analyze"
},
"credentials": {
"openAiApi": {
"id": "4l6TDfLZVFS24g3X",
"name": "OpenAi account 4"
}
},
"typeVersion": 1.8
},
{
"id": "a0270371-928d-4084-8c07-6ff8936837c0",
"name": "合并1",
"type": "n8n-nodes-base.merge",
"position": [
-160,
10960
],
"parameters": {
"mode": "combine",
"options": {},
"combineBy": "combineByPosition"
},
"typeVersion": 3.2
},
{
"id": "76a6e130-ea39-4b6e-8bbd-200c0a57ed99",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1280,
10336
],
"parameters": {
"color": 7,
"width": 2144,
"height": 1056,
"content": "### 🖼️ 在下一步后使用二进制字段"
},
"typeVersion": 1
},
{
"id": "79d53391-5e87-472a-bd08-e5cd7d43a39a",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1728,
10336
],
"parameters": {
"width": 400,
"height": 1056,
"content": ""
},
"typeVersion": 1
},
{
"id": "f77d1571-f807-48f9-a523-582ffb48f2e5",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
240,
10880
],
"parameters": {
"text": "=data\n {{ $json.content }}",
"options": {
"systemMessage": "analyze the image again and see if you get the same result. "
},
"promptType": "define"
},
"typeVersion": 2.2
},
{
"id": "5bbd5de7-cdaf-4a65-92ad-f29830a710b1",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
208,
11088
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "4l6TDfLZVFS24g3X",
"name": "OpenAi account 4"
}
},
"typeVersion": 1.2
}
],
"pinData": {},
"connections": {
"Merge1": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Analyze image": {
"main": [
[
{
"node": "Merge1",
"type": "main",
"index": 0
}
]
]
},
"Form Trigger1": {
"main": [
[
{
"node": "Analyze image",
"type": "main",
"index": 0
},
{
"node": "Merge1",
"type": "main",
"index": 1
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 内容创作, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
博客内容多语言自动翻译
使用GPT-4o和Markdown自动将博客内容翻译为多种语言
Set
Merge
Split Out
+5
12 节点Robert Breen
内容创作
使用 Apify + GPT-4o-mini 从标签分析生成 Instagram 标题
使用 Apify + GPT-4o-mini 从标签分析生成 Instagram 标题
Set
Code
Merge
+8
17 节点Robert Breen
内容创作
使用 OpenAI、ElevenLabs 和 Fal.ai 自动化病毒式内容创作,适用于视频、播客和 ASMR
使用 OpenAI、ElevenLabs 和 Fal.ai 自动化病毒式内容创作,适用于视频、播客和 ASMR
Set
Code
Wait
+16
97 节点Adam Crafts
内容创作
使用OpenAI和Firecrawl从产品URL创建AI生成的Meta广告活动
使用OpenAI和Firecrawl从产品URL创建AI生成的Meta广告活动
If
Set
Code
+15
40 节点Adam Crafts
内容创作
从 Reddit 帖子中寻找热门的 LinkedIn 帖子创意
使用 GPT-4o 和 Google Sheets 将 Reddit 讨论转换为 LinkedIn 帖子创意
Set
Merge
Filter
+9
21 节点Clearcue
内容创作
博客写作与编辑器
基于Google Sheets记忆的博客写作与编辑器 (GPT-4)
If
Code
Filter
+10
18 节点Robert Breen
内容创作
工作流信息
难度等级
中级
节点数量7
分类2
节点类型6
作者
Robert Breen
@rbreenProfessional services consultant with over 10 years of experience solving complex business problems across industries. I specialize in n8n and process automation—designing custom workflows that integrate tools like Google Calendar, Airtable, GPT, and internal systems. Whether you need to automate scheduling, sync data, or streamline operations, I build solutions that save time and drive results.
外部链接
在 n8n.io 查看 →
分享此工作流