ComfyUI を使用して AI メディアの生成:画像、動画、3D、オーディオ橋渡し
これはDesign, AI分野の自動化ワークフローで、51個のノードを含みます。主にIf, Set, Code, Wait, Mergeなどのノードを使用、AI技術を活用したスマート自動化を実現。 ComfyUI を使って AI メディアを生成する:画像、動画、3D、オーディオ連携
- •Discord Bot Token または Webhook
- •ターゲットAPIの認証情報が必要な場合あり
使用ノード (51)
{
"meta": {
"instanceId": "ac38155473bd7a3f3a3af4af90e7d7ca28f5fe10e31f842eaa893df9f5f2f49f",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "4b4836b3-0a00-4ab1-ae02-d047e0ce9915",
"name": "別ワークフローからの実行時",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
-200,
220
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "dc9db75c-99a9-4e21-8521-64277a8919ee",
"name": "フィールド編集",
"type": "n8n-nodes-base.set",
"position": [
1160,
700
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "854d1b0d-282b-4e9d-9f16-b344b3578dfb",
"name": "HTTP リクエスト",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueErrorOutput",
"position": [
860,
160
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "ca324db3-78a6-420c-91a7-58aac957483c",
"name": "条件分岐",
"type": "n8n-nodes-base.if",
"position": [
1080,
140
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "ed82fb41-97f3-4c55-a564-0b3606d7d573",
"name": "待機",
"type": "n8n-nodes-base.wait",
"position": [
1300,
220
],
"webhookId": "74b4a6b9-fe89-4023-b09f-ba5488cb515f",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "3c40f341-466c-4202-8943-9654dba64f23",
"name": "生成画像取得",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueErrorOutput",
"position": [
1720,
140
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "036d5e1a-f6aa-41bb-aaae-cf623ff679a0",
"name": "履歴取得失敗",
"type": "n8n-nodes-base.code",
"position": [
740,
560
],
"parameters": {},
"typeVersion": 2
},
{
"id": "29ae5520-1a70-4bf3-b91d-5516b52528ab",
"name": "接続設定",
"type": "n8n-nodes-base.set",
"position": [
20,
220
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "8b0633e2-0399-464a-8da2-7fefd199ae1d",
"name": "ローカルワークフロー起動",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueErrorOutput",
"position": [
340,
200
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "b22b686a-3f82-454f-b416-e21f7daab06c",
"name": "起動失敗",
"type": "n8n-nodes-base.code",
"position": [
320,
720
],
"parameters": {},
"typeVersion": 2
},
{
"id": "47b4c26a-fd30-444e-b068-bbd4d46b4606",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-300,
-60
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "6bb5fc8e-a31e-4bbc-a562-f5cc88449228",
"name": "エラーログ書き込み",
"type": "n8n-nodes-base.readWriteFile",
"position": [
1620,
700
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6687c5ba-e28f-4eaa-9720-d5c5f237d1aa",
"name": "ファイル変換",
"type": "n8n-nodes-base.convertToFile",
"position": [
1400,
700
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "a65816db-72dd-4eaa-b540-5dc56fec03c9",
"name": "結合",
"type": "n8n-nodes-base.merge",
"position": [
940,
700
],
"parameters": {},
"typeVersion": 3.1
},
{
"id": "a440f7b1-eb70-499c-9989-9b4f2c99d38e",
"name": "集約",
"type": "n8n-nodes-base.aggregate",
"disabled": true,
"position": [
1880,
680
],
"parameters": {},
"typeVersion": 1
},
{
"id": "37778379-98da-4e67-8656-2376cbd4d543",
"name": "Discord アラート",
"type": "n8n-nodes-base.discord",
"disabled": true,
"position": [
2040,
680
],
"webhookId": "4280db72-cccc-4b63-816d-bdc1b8d54ebe",
"parameters": {},
"typeVersion": 2
},
{
"id": "cc34d68c-8e38-4ac4-a63b-90b19142d863",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-280,
440
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b76b7268-7e4c-449e-9e8e-06c5f5317106",
"name": "「テスト実行」クリック時",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-140,
-740
],
"parameters": {},
"typeVersion": 1
},
{
"id": "dedc67f5-7416-41f1-96bd-c349f285e5fc",
"name": "🎨🏠 ローカルComfyUIワークフロー実行",
"type": "n8n-nodes-base.executeWorkflow",
"position": [
2420,
-620
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "2cf57e77-af83-45aa-a883-e3895251265d",
"name": "ローカル添付ファイルアップロード",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueErrorOutput",
"position": [
1320,
-960
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "14dc4c91-ae32-4d6d-a8e0-6db04aec8859",
"name": "アップロード失敗",
"type": "n8n-nodes-base.code",
"position": [
1680,
-860
],
"parameters": {},
"typeVersion": 2
},
{
"id": "a426d1a2-7ca0-47d5-84b7-7688dc04ca2c",
"name": "クライアントID",
"type": "n8n-nodes-base.crypto",
"position": [
80,
-740
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d7d9a07a-fcc1-44e8-a001-e941ecd5dc47",
"name": "テスト種別選択待機",
"type": "n8n-nodes-base.wait",
"position": [
520,
-740
],
"webhookId": "88daece1-93cb-402a-814c-3bad0720fcd1",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "caf1fc4e-8e58-48df-8f0e-c77c59f6303f",
"name": "Img2Img条件分岐",
"type": "n8n-nodes-base.if",
"position": [
740,
-740
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "b9953a37-acef-4fc3-9ea4-99423f199bbe",
"name": "接続設定複製",
"type": "n8n-nodes-base.set",
"position": [
300,
-740
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "395d81cc-aeea-476e-9d5d-35f126d7312a",
"name": "フォールバック Txt2Img SDXL Turbo",
"type": "n8n-nodes-base.set",
"position": [
1580,
-400
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "cd6c9c4b-1989-45ba-a602-434e6864e2c7",
"name": "待機1",
"type": "n8n-nodes-base.wait",
"position": [
1060,
-960
],
"webhookId": "d2ccd202-9ad9-4b3b-aa5e-d312103e21dc",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "cfe6752b-c9ec-4596-968f-086efdacb191",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-300,
-1360
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "a2024fb6-ee65-4f49-847d-07de052983ed",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
960,
-1340
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "a32ac590-cb9b-4890-9151-5cd19f1f7cd6",
"name": "付箋4",
"type": "n8n-nodes-base.stickyNote",
"position": [
960,
-680
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "fc66546b-43a1-401d-86fb-f7e43d0096ef",
"name": "付箋5",
"type": "n8n-nodes-base.stickyNote",
"position": [
2280,
-1340
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "de5a4cc0-67dc-45e5-8305-921c5c08e0c3",
"name": "エラー処理へのリンク",
"type": "n8n-nodes-base.noOp",
"position": [
1900,
-860
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d2487de4-54cf-4376-bb6b-03eb63884d4f",
"name": "付箋6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-240,
-860
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "2e481035-0225-4661-aa85-78a29933c9ee",
"name": "付箋7",
"type": "n8n-nodes-base.stickyNote",
"position": [
20,
-860
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "82be0521-5b8b-4027-9a6b-2bace655d621",
"name": "付箋8",
"type": "n8n-nodes-base.stickyNote",
"position": [
260,
-860
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "5c2f294a-d8f1-48fe-8880-844f7c65c65c",
"name": "付箋9",
"type": "n8n-nodes-base.stickyNote",
"position": [
-20,
40
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "63197f33-a485-4cb2-8170-acf4ad0bf6d9",
"name": "付箋10",
"type": "n8n-nodes-base.stickyNote",
"position": [
480,
-860
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "595f59cd-f825-45f0-a9b0-1c13933c3260",
"name": "フォールバック Img2Img SDXL Turbo",
"type": "n8n-nodes-base.set",
"position": [
1780,
-1120
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "66bbaec2-0cf4-48c2-81ad-3829350e5fd5",
"name": "付箋11",
"type": "n8n-nodes-base.stickyNote",
"position": [
1640,
40
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d01129f1-f2dd-4aa8-a722-babeb09cc47f",
"name": "付箋12",
"type": "n8n-nodes-base.stickyNote",
"position": [
-280,
40
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "fffd202e-0279-4c18-bc75-be8b4ead50a9",
"name": "JSON 出力を代わりに返す",
"type": "n8n-nodes-base.set",
"position": [
2040,
240
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "4c2999bf-ef73-469d-84ac-b31a2c4a1faa",
"name": "付箋13",
"type": "n8n-nodes-base.stickyNote",
"position": [
1820,
460
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f11a67d4-78dc-4449-b1d1-5950f5178981",
"name": "付箋14",
"type": "n8n-nodes-base.stickyNote",
"position": [
1940,
40
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "0c73e7c3-8bab-4c39-8bd8-e846b9c0cc27",
"name": "ディスクからエクスポート済みImg2Img ComfyUIワークフローを読み込み",
"type": "n8n-nodes-base.readWriteFile",
"notes": "Export your workflow in API format from ComfyUI file menu:\nWorkflow>Export(API)",
"onError": "continueErrorOutput",
"position": [
1540,
-1220
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "90ac3492-21c1-4df8-955a-ef9d4eba4c79",
"name": "Img2Img Comfyワークフロー抽出",
"type": "n8n-nodes-base.extractFromFile",
"position": [
1780,
-1300
],
"parameters": {},
"typeVersion": 1
},
{
"id": "89814909-78f6-4dd3-8158-7cf9d68ca3e0",
"name": "Img2Img入力編集",
"type": "n8n-nodes-base.set",
"notes": "Positive & Negative Prompt, seeds, etc.",
"position": [
2020,
-1220
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 3.4
},
{
"id": "9b479ac9-17e4-4a9c-b3fc-383eec6e534e",
"name": "ディスクからエクスポート済みTxt2Img ComfyUIワークフローを読み込み",
"type": "n8n-nodes-base.readWriteFile",
"notes": "Export your workflow in API format from ComfyUI file menu:\nWorkflow>Export(API)",
"onError": "continueErrorOutput",
"position": [
1340,
-500
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "c2057623-3e78-4057-81a9-5c321f31c621",
"name": "Txt2Img Comfyワークフロー抽出",
"type": "n8n-nodes-base.extractFromFile",
"position": [
1580,
-580
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9449e91c-da93-4344-8614-6e11a6a8a95a",
"name": "Txt2Img入力編集",
"type": "n8n-nodes-base.set",
"notes": "Positive & Negative Prompt, seeds, etc.",
"position": [
1820,
-500
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 3.4
},
{
"id": "39e61de2-0592-4917-97f9-247069f29660",
"name": "付箋15",
"type": "n8n-nodes-base.stickyNote",
"position": [
200,
40
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "1d71da9e-73f6-46b2-ab02-ea5d43024426",
"name": "付箋16",
"type": "n8n-nodes-base.stickyNote",
"position": [
620,
40
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"ca324db3-78a6-420c-91a7-58aac957483c": {
"main": [
[
{
"node": "3c40f341-466c-4202-8943-9654dba64f23",
"type": "main",
"index": 0
}
],
[
{
"node": "ed82fb41-97f3-4c55-a564-0b3606d7d573",
"type": "main",
"index": 0
}
]
]
},
"ed82fb41-97f3-4c55-a564-0b3606d7d573": {
"main": [
[
{
"node": "854d1b0d-282b-4e9d-9f16-b344b3578dfb",
"type": "main",
"index": 0
}
]
]
},
"a65816db-72dd-4eaa-b540-5dc56fec03c9": {
"main": [
[
{
"node": "dc9db75c-99a9-4e21-8521-64277a8919ee",
"type": "main",
"index": 0
}
]
]
},
"cd6c9c4b-1989-45ba-a602-434e6864e2c7": {
"main": [
[
{
"node": "2cf57e77-af83-45aa-a883-e3895251265d",
"type": "main",
"index": 0
}
]
]
},
"a440f7b1-eb70-499c-9989-9b4f2c99d38e": {
"main": [
[
{
"node": "37778379-98da-4e67-8656-2376cbd4d543",
"type": "main",
"index": 0
}
]
]
},
"a426d1a2-7ca0-47d5-84b7-7688dc04ca2c": {
"main": [
[
{
"node": "b9953a37-acef-4fc3-9ea4-99423f199bbe",
"type": "main",
"index": 0
}
]
]
},
"caf1fc4e-8e58-48df-8f0e-c77c59f6303f": {
"main": [
[
{
"node": "cd6c9c4b-1989-45ba-a602-434e6864e2c7",
"type": "main",
"index": 0
}
],
[
{
"node": "9b479ac9-17e4-4a9c-b3fc-383eec6e534e",
"type": "main",
"index": 0
}
]
]
},
"dc9db75c-99a9-4e21-8521-64277a8919ee": {
"main": [
[
{
"node": "6687c5ba-e28f-4eaa-9720-d5c5f237d1aa",
"type": "main",
"index": 0
}
]
]
},
"14dc4c91-ae32-4d6d-a8e0-6db04aec8859": {
"main": [
[
{
"node": "de5a4cc0-67dc-45e5-8305-921c5c08e0c3",
"type": "main",
"index": 0
}
]
]
},
"b22b686a-3f82-454f-b416-e21f7daab06c": {
"main": [
[
{
"node": "a65816db-72dd-4eaa-b540-5dc56fec03c9",
"type": "main",
"index": 1
}
]
]
},
"854d1b0d-282b-4e9d-9f16-b344b3578dfb": {
"main": [
[
{
"node": "ca324db3-78a6-420c-91a7-58aac957483c",
"type": "main",
"index": 0
}
],
[
{
"node": "036d5e1a-f6aa-41bb-aaae-cf623ff679a0",
"type": "main",
"index": 0
}
]
]
},
"6687c5ba-e28f-4eaa-9720-d5c5f237d1aa": {
"main": [
[
{
"node": "6bb5fc8e-a31e-4bbc-a562-f5cc88449228",
"type": "main",
"index": 0
}
]
]
},
"036d5e1a-f6aa-41bb-aaae-cf623ff679a0": {
"main": [
[
{
"node": "a65816db-72dd-4eaa-b540-5dc56fec03c9",
"type": "main",
"index": 0
}
]
]
},
"29ae5520-1a70-4bf3-b91d-5516b52528ab": {
"main": [
[
{
"node": "8b0633e2-0399-464a-8da2-7fefd199ae1d",
"type": "main",
"index": 0
}
]
]
},
"89814909-78f6-4dd3-8158-7cf9d68ca3e0": {
"main": [
[
{
"node": "dedc67f5-7416-41f1-96bd-c349f285e5fc",
"type": "main",
"index": 0
}
]
]
},
"9449e91c-da93-4344-8614-6e11a6a8a95a": {
"main": [
[
{
"node": "dedc67f5-7416-41f1-96bd-c349f285e5fc",
"type": "main",
"index": 0
}
]
]
},
"3c40f341-466c-4202-8943-9654dba64f23": {
"main": [
[],
[
{
"node": "fffd202e-0279-4c18-bc75-be8b4ead50a9",
"type": "main",
"index": 0
}
]
]
},
"8b0633e2-0399-464a-8da2-7fefd199ae1d": {
"main": [
[
{
"node": "854d1b0d-282b-4e9d-9f16-b344b3578dfb",
"type": "main",
"index": 0
}
],
[
{
"node": "b22b686a-3f82-454f-b416-e21f7daab06c",
"type": "main",
"index": 0
}
]
]
},
"2cf57e77-af83-45aa-a883-e3895251265d": {
"main": [
[
{
"node": "0c73e7c3-8bab-4c39-8bd8-e846b9c0cc27",
"type": "main",
"index": 0
}
],
[
{
"node": "14dc4c91-ae32-4d6d-a8e0-6db04aec8859",
"type": "main",
"index": 0
}
]
]
},
"d7d9a07a-fcc1-44e8-a001-e941ecd5dc47": {
"main": [
[
{
"node": "caf1fc4e-8e58-48df-8f0e-c77c59f6303f",
"type": "main",
"index": 0
}
]
]
},
"b9953a37-acef-4fc3-9ea4-99423f199bbe": {
"main": [
[
{
"node": "d7d9a07a-fcc1-44e8-a001-e941ecd5dc47",
"type": "main",
"index": 0
}
]
]
},
"595f59cd-f825-45f0-a9b0-1c13933c3260": {
"main": [
[
{
"node": "89814909-78f6-4dd3-8158-7cf9d68ca3e0",
"type": "main",
"index": 0
}
]
]
},
"395d81cc-aeea-476e-9d5d-35f126d7312a": {
"main": [
[
{
"node": "9449e91c-da93-4344-8614-6e11a6a8a95a",
"type": "main",
"index": 0
}
]
]
},
"90ac3492-21c1-4df8-955a-ef9d4eba4c79": {
"main": [
[
{
"node": "89814909-78f6-4dd3-8158-7cf9d68ca3e0",
"type": "main",
"index": 0
}
]
]
},
"c2057623-3e78-4057-81a9-5c321f31c621": {
"main": [
[
{
"node": "9449e91c-da93-4344-8614-6e11a6a8a95a",
"type": "main",
"index": 0
}
]
]
},
"4b4836b3-0a00-4ab1-ae02-d047e0ce9915": {
"main": [
[
{
"node": "29ae5520-1a70-4bf3-b91d-5516b52528ab",
"type": "main",
"index": 0
}
]
]
},
"b76b7268-7e4c-449e-9e8e-06c5f5317106": {
"main": [
[
{
"node": "a426d1a2-7ca0-47d5-84b7-7688dc04ca2c",
"type": "main",
"index": 0
}
]
]
},
"0c73e7c3-8bab-4c39-8bd8-e846b9c0cc27": {
"main": [
[
{
"node": "90ac3492-21c1-4df8-955a-ef9d4eba4c79",
"type": "main",
"index": 0
}
],
[
{
"node": "595f59cd-f825-45f0-a9b0-1c13933c3260",
"type": "main",
"index": 0
}
]
]
},
"9b479ac9-17e4-4a9c-b3fc-383eec6e534e": {
"main": [
[
{
"node": "c2057623-3e78-4057-81a9-5c321f31c621",
"type": "main",
"index": 0
}
],
[
{
"node": "395d81cc-aeea-476e-9d5d-35f126d7312a",
"type": "main",
"index": 0
}
]
]
}
}
}このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
上級 - デザイン, 人工知能
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
Nielo
@anomaliI’m a senior software engineer with 30+ years of experience, including Python, Unity3D/AR-VR, and AI/Machine Learning. I've worked on various VR simulators to help train employees in safety (projects aimed at saving lives), and I’ve developed AI-driven automation tools that streamline workflows for faster, smarter results. I thrive on solving complex problems with creative tech solutions, and I’m passionate about delivering value to my clients.
このワークフローを共有