Générer des médias IA avec ComfyUI : images, vidéos, 3D et pont audio
Ceci est unDesign, AIworkflow d'automatisation du domainecontenant 51 nœuds.Utilise principalement des nœuds comme If, Set, Code, Wait, Merge, combinant la technologie d'intelligence artificielle pour une automatisation intelligente. Générer des médias IA (images, vidéos, 3D et audio de pont) avec ComfyUI
- •Token Bot Discord ou Webhook
- •Peut nécessiter les informations d'identification d'authentification de l'API cible
Nœuds utilisés (51)
Catégorie
{
"meta": {
"instanceId": "ac38155473bd7a3f3a3af4af90e7d7ca28f5fe10e31f842eaa893df9f5f2f49f",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "4b4836b3-0a00-4ab1-ae02-d047e0ce9915",
"name": "When Executed by Another Workflow",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
-200,
220
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "dc9db75c-99a9-4e21-8521-64277a8919ee",
"name": "Edit Fields",
"type": "n8n-nodes-base.set",
"position": [
1160,
700
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "854d1b0d-282b-4e9d-9f16-b344b3578dfb",
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueErrorOutput",
"position": [
860,
160
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "ca324db3-78a6-420c-91a7-58aac957483c",
"name": "If",
"type": "n8n-nodes-base.if",
"position": [
1080,
140
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "ed82fb41-97f3-4c55-a564-0b3606d7d573",
"name": "Wait",
"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": "Get Generated Image",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueErrorOutput",
"position": [
1720,
140
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "036d5e1a-f6aa-41bb-aaae-cf623ff679a0",
"name": "Fail Get History",
"type": "n8n-nodes-base.code",
"position": [
740,
560
],
"parameters": {},
"typeVersion": 2
},
{
"id": "29ae5520-1a70-4bf3-b91d-5516b52528ab",
"name": "Connection Config",
"type": "n8n-nodes-base.set",
"position": [
20,
220
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "8b0633e2-0399-464a-8da2-7fefd199ae1d",
"name": "Trigger LOCAL Workflow",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueErrorOutput",
"position": [
340,
200
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "b22b686a-3f82-454f-b416-e21f7daab06c",
"name": "Fail Trigger",
"type": "n8n-nodes-base.code",
"position": [
320,
720
],
"parameters": {},
"typeVersion": 2
},
{
"id": "47b4c26a-fd30-444e-b068-bbd4d46b4606",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-300,
-60
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "6bb5fc8e-a31e-4bbc-a562-f5cc88449228",
"name": "Write to error log",
"type": "n8n-nodes-base.readWriteFile",
"position": [
1620,
700
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6687c5ba-e28f-4eaa-9720-d5c5f237d1aa",
"name": "Convert to File",
"type": "n8n-nodes-base.convertToFile",
"position": [
1400,
700
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "a65816db-72dd-4eaa-b540-5dc56fec03c9",
"name": "Merge",
"type": "n8n-nodes-base.merge",
"position": [
940,
700
],
"parameters": {},
"typeVersion": 3.1
},
{
"id": "a440f7b1-eb70-499c-9989-9b4f2c99d38e",
"name": "Aggregate",
"type": "n8n-nodes-base.aggregate",
"disabled": true,
"position": [
1880,
680
],
"parameters": {},
"typeVersion": 1
},
{
"id": "37778379-98da-4e67-8656-2376cbd4d543",
"name": "Discord Alert",
"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": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-280,
440
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b76b7268-7e4c-449e-9e8e-06c5f5317106",
"name": "When clicking ‘Test workflow’",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-140,
-740
],
"parameters": {},
"typeVersion": 1
},
{
"id": "dedc67f5-7416-41f1-96bd-c349f285e5fc",
"name": "🎨🏠 Run local ComfyUI workflow",
"type": "n8n-nodes-base.executeWorkflow",
"position": [
2420,
-620
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "2cf57e77-af83-45aa-a883-e3895251265d",
"name": "Upload Attachments LOCAL",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueErrorOutput",
"position": [
1320,
-960
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "14dc4c91-ae32-4d6d-a8e0-6db04aec8859",
"name": "Fail Upload",
"type": "n8n-nodes-base.code",
"position": [
1680,
-860
],
"parameters": {},
"typeVersion": 2
},
{
"id": "a426d1a2-7ca0-47d5-84b7-7688dc04ca2c",
"name": "Client ID",
"type": "n8n-nodes-base.crypto",
"position": [
80,
-740
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d7d9a07a-fcc1-44e8-a001-e941ecd5dc47",
"name": "Wait For Test Type Select",
"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": "If Img2Img",
"type": "n8n-nodes-base.if",
"position": [
740,
-740
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "b9953a37-acef-4fc3-9ea4-99423f199bbe",
"name": "Connection Config Duplicate",
"type": "n8n-nodes-base.set",
"position": [
300,
-740
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "395d81cc-aeea-476e-9d5d-35f126d7312a",
"name": "Fallback Txt2Img SDXL Turbo",
"type": "n8n-nodes-base.set",
"position": [
1580,
-400
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "cd6c9c4b-1989-45ba-a602-434e6864e2c7",
"name": "Wait1",
"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": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-300,
-1360
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "a2024fb6-ee65-4f49-847d-07de052983ed",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
960,
-1340
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "a32ac590-cb9b-4890-9151-5cd19f1f7cd6",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
960,
-680
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "fc66546b-43a1-401d-86fb-f7e43d0096ef",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
2280,
-1340
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "de5a4cc0-67dc-45e5-8305-921c5c08e0c3",
"name": "Link This To Error Handling",
"type": "n8n-nodes-base.noOp",
"position": [
1900,
-860
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d2487de4-54cf-4376-bb6b-03eb63884d4f",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-240,
-860
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "2e481035-0225-4661-aa85-78a29933c9ee",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
20,
-860
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "82be0521-5b8b-4027-9a6b-2bace655d621",
"name": "Sticky Note8",
"type": "n8n-nodes-base.stickyNote",
"position": [
260,
-860
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "5c2f294a-d8f1-48fe-8880-844f7c65c65c",
"name": "Sticky Note9",
"type": "n8n-nodes-base.stickyNote",
"position": [
-20,
40
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "63197f33-a485-4cb2-8170-acf4ad0bf6d9",
"name": "Sticky Note10",
"type": "n8n-nodes-base.stickyNote",
"position": [
480,
-860
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "595f59cd-f825-45f0-a9b0-1c13933c3260",
"name": "Fallback Img2Img SDXL Turbo",
"type": "n8n-nodes-base.set",
"position": [
1780,
-1120
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "66bbaec2-0cf4-48c2-81ad-3829350e5fd5",
"name": "Sticky Note11",
"type": "n8n-nodes-base.stickyNote",
"position": [
1640,
40
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d01129f1-f2dd-4aa8-a722-babeb09cc47f",
"name": "Sticky Note12",
"type": "n8n-nodes-base.stickyNote",
"position": [
-280,
40
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "fffd202e-0279-4c18-bc75-be8b4ead50a9",
"name": "Return The Output JSON Instead",
"type": "n8n-nodes-base.set",
"position": [
2040,
240
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "4c2999bf-ef73-469d-84ac-b31a2c4a1faa",
"name": "Sticky Note13",
"type": "n8n-nodes-base.stickyNote",
"position": [
1820,
460
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f11a67d4-78dc-4449-b1d1-5950f5178981",
"name": "Sticky Note14",
"type": "n8n-nodes-base.stickyNote",
"position": [
1940,
40
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "0c73e7c3-8bab-4c39-8bd8-e846b9c0cc27",
"name": "Read API Exported Img2Img ComfyUI Workflow from Disk",
"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": "Extract Img2Img Comfy Workflow",
"type": "n8n-nodes-base.extractFromFile",
"position": [
1780,
-1300
],
"parameters": {},
"typeVersion": 1
},
{
"id": "89814909-78f6-4dd3-8158-7cf9d68ca3e0",
"name": "Edit Img2Img Inputs",
"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": "Read API Exported Txt2Img ComfyUI Workflow from Disk",
"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": "Extract Txt2Img Comfy Workflow",
"type": "n8n-nodes-base.extractFromFile",
"position": [
1580,
-580
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9449e91c-da93-4344-8614-6e11a6a8a95a",
"name": "Edit Txt2Img Inputs",
"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": "Sticky Note15",
"type": "n8n-nodes-base.stickyNote",
"position": [
200,
40
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "1d71da9e-73f6-46b2-ab02-ea5d43024426",
"name": "Sticky Note16",
"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
}
]
]
}
}
}Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Avancé - Design, Intelligence Artificielle
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
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.
Partager ce workflow