Nano Bananaで画像生成(テキスト+画像プロンプト)
これは自動化ワークフローで、20個のノードを含みます。主にIf, Set, Code, Webhook, EmailSendなどのノードを使用。 Gemini AIを使って画像の生成と編集を行い、Gmail経由でメール送信するワークフロー
- •HTTP Webhookエンドポイント(n8nが自動生成)
- •Google Drive API認証情報
- •ターゲットAPIの認証情報が必要な場合あり
使用ノード (20)
カテゴリー
{
"id": "Rb4oT1epuHrZ6NtA",
"meta": {
"instanceId": "7a73e968af152b9877d4c64b00e93bdf2a57741f130f9226cd4d7217ba6e5e6c",
"templateCredsSetupCompleted": true
},
"name": "Image Gen with Nano Banana 🍌 (Text + Image Prompt )",
"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": "Nano 🍌",
"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": {
"62788d9f-5773-4940-aea1-e30c98f62e81": {
"main": [
[
{
"node": "57538a5b-a31e-41a9-929b-47300b7027a7",
"type": "main",
"index": 0
}
]
]
},
"b4f7bd54-4ea3-41d6-adf2-a19203079615": {
"main": [
[
{
"node": "968e3e4e-468e-4574-af01-c877b9a4aaa7",
"type": "main",
"index": 0
}
]
]
},
"57538a5b-a31e-41a9-929b-47300b7027a7": {
"main": [
[
{
"node": "c5403496-7c79-4757-b5a2-eaec1048a24f",
"type": "main",
"index": 0
}
]
]
},
"ef1611d4-fc2a-4ef7-a34b-c29e55c0dfed": {
"main": [
[
{
"node": "103e014c-2048-4d25-a726-9ba698a767b3",
"type": "main",
"index": 0
}
]
]
},
"5b2be1b0-42ab-4f58-ae0d-08841c063582": {
"main": [
[
{
"node": "925e67b1-3633-4da9-a265-cb6a1986a74f",
"type": "main",
"index": 0
}
]
]
},
"925e67b1-3633-4da9-a265-cb6a1986a74f": {
"main": [
[
{
"node": "ef1611d4-fc2a-4ef7-a34b-c29e55c0dfed",
"type": "main",
"index": 0
}
]
]
},
"176a0b71-de43-4c71-8a2b-3140de0aa1c3": {
"main": [
[
{
"node": "5b2be1b0-42ab-4f58-ae0d-08841c063582",
"type": "main",
"index": 0
}
]
]
},
"c5403496-7c79-4757-b5a2-eaec1048a24f": {
"main": [
[
{
"node": "8dcbda40-72d4-4e97-bd29-68fdafa1cdef",
"type": "main",
"index": 0
}
]
]
},
"494456b5-bdd8-49a2-8b7c-31c420edfad1": {
"main": [
[
{
"node": "8dcbda40-72d4-4e97-bd29-68fdafa1cdef",
"type": "main",
"index": 0
}
]
]
},
"8dcbda40-72d4-4e97-bd29-68fdafa1cdef": {
"main": [
[
{
"node": "176a0b71-de43-4c71-8a2b-3140de0aa1c3",
"type": "main",
"index": 0
}
]
]
},
"53fe7484-ea47-47b4-a1d3-6cbd47ce8368": {
"main": [
[
{
"node": "62788d9f-5773-4940-aea1-e30c98f62e81",
"type": "main",
"index": 0
}
]
]
},
"0195cf8c-0d09-4eab-83a4-bc34fb4b6b5b": {
"main": [
[
{
"node": "494456b5-bdd8-49a2-8b7c-31c420edfad1",
"type": "main",
"index": 0
}
]
]
},
"968e3e4e-468e-4574-af01-c877b9a4aaa7": {
"main": [
[
{
"node": "53fe7484-ea47-47b4-a1d3-6cbd47ce8368",
"type": "main",
"index": 0
}
],
[
{
"node": "0195cf8c-0d09-4eab-83a4-bc34fb4b6b5b",
"type": "main",
"index": 0
}
]
]
}
}
}このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
上級
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
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/
このワークフローを共有