使用Nano Banana生成图像(文本+图像提示)
高级
这是一个自动化工作流,包含 20 个节点。主要使用 If、Set、Code、Webhook、EmailSend 等节点。 使用Gemini AI生成和编辑图像:存储与邮件发送流程
前置要求
- •HTTP Webhook 端点(n8n 会自动生成)
- •Google Drive API 凭证
- •可能需要目标 API 的认证凭证
使用的节点 (20 个)
分类
未分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "Rb4oT1epuHrZ6NtA",
"meta": {
"instanceId": "7a73e968af152b9877d4c64b00e93bdf2a57741f130f9226cd4d7217ba6e5e6c",
"templateCredsSetupCompleted": true
},
"name": "使用Nano Banana 🍌生成图像(文本+图像提示)",
"tags": [],
"nodes": [
{
"id": "b4f7bd54-4ea3-41d6-adf2-a19203079615",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"notes": "Data from user. This can be replaced with a form trigger",
"position": [
-80,
64
],
"webhookId": "687a3978-3e37-4c96-a6e2-ca6e5a3ff4bb",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "494456b5-bdd8-49a2-8b7c-31c420edfad1",
"name": "编辑字段2",
"type": "n8n-nodes-base.set",
"position": [
960,
144
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "0195cf8c-0d09-4eab-83a4-bc34fb4b6b5b",
"name": "Nano 🍌:仅提示",
"type": "n8n-nodes-base.httpRequest",
"position": [
624,
144
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "968e3e4e-468e-4574-af01-c877b9a4aaa7",
"name": "如果上传了图像文件",
"type": "n8n-nodes-base.if",
"position": [
128,
64
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "925e67b1-3633-4da9-a265-cb6a1986a74f",
"name": "获取简报",
"type": "n8n-nodes-base.set",
"position": [
1856,
80
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "5b2be1b0-42ab-4f58-ae0d-08841c063582",
"name": "共享文件",
"type": "n8n-nodes-base.googleDrive",
"position": [
1680,
80
],
"parameters": {},
"typeVersion": 3
},
{
"id": "176a0b71-de43-4c71-8a2b-3140de0aa1c3",
"name": "上传文件",
"type": "n8n-nodes-base.googleDrive",
"position": [
1520,
80
],
"parameters": {},
"typeVersion": 3
},
{
"id": "103e014c-2048-4d25-a726-9ba698a767b3",
"name": "响应 Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
2320,
80
],
"parameters": {},
"typeVersion": 1.4
},
{
"id": "8dcbda40-72d4-4e97-bd29-68fdafa1cdef",
"name": "转换为文件",
"type": "n8n-nodes-base.convertToFile",
"position": [
1360,
80
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "c5403496-7c79-4757-b5a2-eaec1048a24f",
"name": "编辑字段1",
"type": "n8n-nodes-base.set",
"position": [
1136,
-32
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "57538a5b-a31e-41a9-929b-47300b7027a7",
"name": "纳米🍌",
"type": "n8n-nodes-base.httpRequest",
"position": [
944,
-32
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "62788d9f-5773-4940-aea1-e30c98f62e81",
"name": "代码",
"type": "n8n-nodes-base.code",
"notes": "format mage for AI",
"position": [
576,
-32
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 2
},
{
"id": "53fe7484-ea47-47b4-a1d3-6cbd47ce8368",
"name": "从文件提取",
"type": "n8n-nodes-base.extractFromFile",
"position": [
384,
-32
],
"parameters": {},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "ef1611d4-fc2a-4ef7-a34b-c29e55c0dfed",
"name": "发送邮件",
"type": "n8n-nodes-base.emailSend",
"position": [
2048,
80
],
"webhookId": "3c54156d-6a4d-4d08-a98f-01c39aa5a011",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "bd1bf723-aa26-49db-a98e-c026540561b6",
"name": "便签 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
560,
-560
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "99b78adf-3746-4a90-9af1-25ed4edf252e",
"name": "便签 3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1024,
-256
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e8ed6161-d443-42ac-b8fc-587b9c5f12d1",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-192,
-176
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "4508e777-177c-4cb7-83e7-6791d7c231c1",
"name": "便签 5",
"type": "n8n-nodes-base.stickyNote",
"position": [
352,
-176
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3b1c3fb9-8a59-4459-959f-cfcae041f4ff",
"name": "便签10",
"type": "n8n-nodes-base.stickyNote",
"position": [
912,
-176
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "36ef4719-dae7-4d9b-b8bd-adb23ad374e3",
"name": "便签11",
"type": "n8n-nodes-base.stickyNote",
"position": [
2016,
-176
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "10851cc7-321e-428c-8e41-b7d98432f643",
"connections": {
"Code": {
"main": [
[
{
"node": "Nano 🍌",
"type": "main",
"index": 0
}
]
]
},
"Webhook": {
"main": [
[
{
"node": "If Image File Was Uploaded",
"type": "main",
"index": 0
}
]
]
},
"Nano 🍌": {
"main": [
[
{
"node": "Edit Fields1",
"type": "main",
"index": 0
}
]
]
},
"Send email": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
},
"Share file": {
"main": [
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields": {
"main": [
[
{
"node": "Send email",
"type": "main",
"index": 0
}
]
]
},
"Upload file": {
"main": [
[
{
"node": "Share file",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields1": {
"main": [
[
{
"node": "Convert to File",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields2": {
"main": [
[
{
"node": "Convert to File",
"type": "main",
"index": 0
}
]
]
},
"Convert to File": {
"main": [
[
{
"node": "Upload file",
"type": "main",
"index": 0
}
]
]
},
"Extract from File": {
"main": [
[
{
"node": "Code",
"type": "main",
"index": 0
}
]
]
},
"Nano 🍌: Prompt Only": {
"main": [
[
{
"node": "Edit Fields2",
"type": "main",
"index": 0
}
]
]
},
"If Image File Was Uploaded": {
"main": [
[
{
"node": "Extract from File",
"type": "main",
"index": 0
}
],
[
{
"node": "Nano 🍌: Prompt Only",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
这是一个高级难度的通用自动化工作流。适合高级用户,包含 16+ 个节点的复杂工作流
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
AI驱动的自动化求职与申请工作流
AI驱动的自动化求职与申请
If
Set
Code
+10
21 节点Gerald Denor
HR
来自多个招聘网站的求职自动化
使用 5 个招聘平台和 AI 简历生成器自动化求职与申请
If
Set
Code
+14
34 节点Gerald Denor
Personal Productivity
[模板] AI宠物店 v8
🐶 AI宠物店助手 - 集成GPT-4o、Google日历和WhatsApp/Instagram/Facebook
If
N8n
Set
+38
244 节点Amanda Benks
Sales
AI 代理餐厅 [模板]
🤖 WhatsApp、Instagram 和 Messenger 的 AI 餐厅助手
If
N8n
Set
+37
239 节点Amanda Benks
Other
转录评估器
使用DeepGram和GPT-4o的音频对话分析与可视化
Set
Code
Html
+15
54 节点RealSimple Solutions
AI
在可视化参考库中探索n8n节点
在可视化参考库中探索n8n节点
If
Ftp
Set
+93
113 节点I versus AI
Other
工作流信息
难度等级
高级
节点数量20
分类-
节点类型11
作者
Gerald Denor
@dominixaiGerald Akhidenor is an AI Automation Lead Creative with 5 years of experience in AI automation consultancy. He specializes in n8n and API integrations, driving innovative automation solutions. As founder of DominixAI, Gerald combines creative vision and technical expertise to streamline processes and boost efficiency through cutting-edge AI technologies. Website: https://dominixai.com JobMonkey: https://trafficabc.com/jobmonkey-application-generator/
外部链接
在 n8n.io 上查看 →
分享此工作流