fix: complete ComfyUI workflow schema validation
Fix all 20 production workflows to comply with ComfyUI schema requirements: - Add missing 'flags', 'order', 'mode', 'properties', 'size' fields to all nodes - Update deprecated node names: - AnimateDiffLoader → AnimateDiffLoaderV1 - VHSVideoCombine → VHS_VideoCombine - IPAdapterApply → IPAdapter - IPAdapterApplyFace → IPAdapterFaceID - Remove deprecated nodes: PreviewVideo, SaveVideo - Add fix_workflows.py script for future maintenance Changes: - 16 workflows updated with complete schema - 4 workflows (FLUX, SD3.5) were already valid - All workflows now pass zod schema validation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,16 +1,189 @@
|
||||
{
|
||||
"last_node_id": 12,
|
||||
"nodes": [
|
||||
{"id": 1, "type": "CheckpointLoaderSimple", "pos": [50, 100], "widgets_values": ["diffusers/stable-diffusion-xl-base-1.0"], "title": "SDXL Checkpoint Loader"},
|
||||
{"id": 2, "type": "AnimateDiffLoader", "pos": [50, 300], "widgets_values": ["mm_sd_v15_v2.ckpt"], "title": "AnimateDiff Motion Module"},
|
||||
{"id": 3, "type": "CLIPTextEncode", "pos": [450, 100], "widgets_values": ["A person walking through a forest, cinematic movement"], "title": "API Video Prompt"},
|
||||
{"id": 4, "type": "CLIPTextEncode", "pos": [450, 350], "widgets_values": ["static, blurry, low quality"], "title": "API Negative Prompt"},
|
||||
{"id": 5, "type": "EmptyLatentImage", "pos": [450, 600], "widgets_values": [512, 512, 16], "title": "API Latent Config (16 frames)"},
|
||||
{"id": 6, "type": "AnimateDiffSampler", "pos": [800, 100], "widgets_values": [42, "fixed", 25, 7.5, "dpmpp_2m", "karras"], "title": "AnimateDiff Sampler"},
|
||||
{"id": 7, "type": "VAEDecode", "pos": [1150, 100], "title": "VAE Decode Video"},
|
||||
{"id": 8, "type": "VHSVideoCombine", "pos": [1450, 100], "widgets_values": [8, 0, "animatediff_output", "video/h264-mp4"], "title": "Combine Frames"},
|
||||
{"id": 9, "type": "PreviewVideo", "pos": [1750, 100], "title": "Preview Video"},
|
||||
{"id": 10, "type": "SaveVideo", "pos": [1750, 350], "widgets_values": ["animatediff_output"], "title": "API Video Output"}
|
||||
{
|
||||
"id": 1,
|
||||
"type": "CheckpointLoaderSimple",
|
||||
"pos": [
|
||||
50,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
"diffusers/stable-diffusion-xl-base-1.0"
|
||||
],
|
||||
"title": "SDXL Checkpoint Loader",
|
||||
"flags": {},
|
||||
"order": 0,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "CheckpointLoaderSimple"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"type": "AnimateDiffLoaderV1",
|
||||
"pos": [
|
||||
50,
|
||||
300
|
||||
],
|
||||
"widgets_values": [
|
||||
"mm_sd_v15_v2.ckpt"
|
||||
],
|
||||
"title": "AnimateDiff Motion Module",
|
||||
"flags": {},
|
||||
"order": 1,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "AnimateDiffLoaderV1"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"type": "CLIPTextEncode",
|
||||
"pos": [
|
||||
450,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
"A person walking through a forest, cinematic movement"
|
||||
],
|
||||
"title": "API Video Prompt",
|
||||
"flags": {},
|
||||
"order": 2,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "CLIPTextEncode"
|
||||
},
|
||||
"size": {
|
||||
"0": 400,
|
||||
"1": 200
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"type": "CLIPTextEncode",
|
||||
"pos": [
|
||||
450,
|
||||
350
|
||||
],
|
||||
"widgets_values": [
|
||||
"static, blurry, low quality"
|
||||
],
|
||||
"title": "API Negative Prompt",
|
||||
"flags": {},
|
||||
"order": 3,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "CLIPTextEncode"
|
||||
},
|
||||
"size": {
|
||||
"0": 400,
|
||||
"1": 200
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"type": "EmptyLatentImage",
|
||||
"pos": [
|
||||
450,
|
||||
600
|
||||
],
|
||||
"widgets_values": [
|
||||
512,
|
||||
512,
|
||||
16
|
||||
],
|
||||
"title": "API Latent Config (16 frames)",
|
||||
"flags": {},
|
||||
"order": 4,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "EmptyLatentImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"type": "AnimateDiffSampler",
|
||||
"pos": [
|
||||
800,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
42,
|
||||
"fixed",
|
||||
25,
|
||||
7.5,
|
||||
"dpmpp_2m",
|
||||
"karras"
|
||||
],
|
||||
"title": "AnimateDiff Sampler",
|
||||
"flags": {},
|
||||
"order": 5,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "AnimateDiffSampler"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 474
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"type": "VAEDecode",
|
||||
"pos": [
|
||||
1150,
|
||||
100
|
||||
],
|
||||
"title": "VAE Decode Video",
|
||||
"flags": {},
|
||||
"order": 6,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "VAEDecode"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"type": "VHS_VideoCombine",
|
||||
"pos": [
|
||||
1450,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
8,
|
||||
0,
|
||||
"animatediff_output",
|
||||
"video/h264-mp4"
|
||||
],
|
||||
"title": "Combine Frames",
|
||||
"flags": {},
|
||||
"order": 7,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "VHS_VideoCombine"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
}
|
||||
],
|
||||
"extra": {
|
||||
"workflow_info": {
|
||||
@@ -18,16 +191,55 @@
|
||||
"version": "1.0.0",
|
||||
"description": "Text-to-video generation using AnimateDiff. Create animated sequences from text prompts with natural motion.",
|
||||
"category": "advanced",
|
||||
"tags": ["animatediff", "text-to-video", "animation", "advanced", "production"],
|
||||
"requirements": {"models": ["stable-diffusion-xl-base-1.0", "animatediff-motion-module"], "custom_nodes": ["ComfyUI-AnimateDiff-Evolved", "ComfyUI-VideoHelperSuite"], "vram_min": "18GB"},
|
||||
"parameters": {
|
||||
"prompt": {"node_id": 3, "type": "string", "required": true, "description": "Describe action and movement"},
|
||||
"frames": {"node_id": 5, "type": "integer", "default": 16, "description": "Number of frames (8-32)"},
|
||||
"fps": {"node_id": 8, "type": "integer", "default": 8}
|
||||
"tags": [
|
||||
"animatediff",
|
||||
"text-to-video",
|
||||
"animation",
|
||||
"advanced",
|
||||
"production"
|
||||
],
|
||||
"requirements": {
|
||||
"models": [
|
||||
"stable-diffusion-xl-base-1.0",
|
||||
"animatediff-motion-module"
|
||||
],
|
||||
"custom_nodes": [
|
||||
"ComfyUI-AnimateDiff-Evolved",
|
||||
"ComfyUI-VideoHelperSuite"
|
||||
],
|
||||
"vram_min": "18GB"
|
||||
},
|
||||
"performance": {"avg_generation_time": "60-90 seconds", "vram_usage": "~16-20GB", "output": "16 frames (~2s @ 8fps)"},
|
||||
"use_cases": ["Text-to-video animation", "Character animations", "Motion graphics", "Animated storyboards"]
|
||||
"parameters": {
|
||||
"prompt": {
|
||||
"node_id": 3,
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"description": "Describe action and movement"
|
||||
},
|
||||
"frames": {
|
||||
"node_id": 5,
|
||||
"type": "integer",
|
||||
"default": 16,
|
||||
"description": "Number of frames (8-32)"
|
||||
},
|
||||
"fps": {
|
||||
"node_id": 8,
|
||||
"type": "integer",
|
||||
"default": 8
|
||||
}
|
||||
},
|
||||
"performance": {
|
||||
"avg_generation_time": "60-90 seconds",
|
||||
"vram_usage": "~16-20GB",
|
||||
"output": "16 frames (~2s @ 8fps)"
|
||||
},
|
||||
"use_cases": [
|
||||
"Text-to-video animation",
|
||||
"Character animations",
|
||||
"Motion graphics",
|
||||
"Animated storyboards"
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0.4
|
||||
}
|
||||
}
|
||||
@@ -1,16 +1,224 @@
|
||||
{
|
||||
"last_node_id": 14,
|
||||
"nodes": [
|
||||
{"id": 1, "type": "CheckpointLoaderSimple", "pos": [50, 100], "widgets_values": ["diffusers/FLUX.1-schnell"], "title": "FLUX Schnell Loader"},
|
||||
{"id": 2, "type": "CLIPTextEncode", "pos": [450, 100], "widgets_values": ["A beautiful landscape"], "title": "API Base Prompt"},
|
||||
{"id": 3, "type": "CLIPTextEncode", "pos": [450, 300], "widgets_values": ["blurry, low quality"], "title": "API Negative Prompt"},
|
||||
{"id": 4, "type": "SeedGenerator", "pos": [450, 500], "widgets_values": [4, 42], "title": "Generate 4 Seeds"},
|
||||
{"id": 5, "type": "EmptyLatentImage", "pos": [450, 700], "widgets_values": [1024, 1024, 1], "title": "API Latent Config"},
|
||||
{"id": 6, "type": "BatchKSampler", "pos": [800, 100], "widgets_values": ["fixed", 4, 1.0, "euler", "normal"], "title": "Batch Sampler (4 variations)"},
|
||||
{"id": 7, "type": "VAEDecode", "pos": [1150, 100], "title": "VAE Decode Batch"},
|
||||
{"id": 8, "type": "ImageBatchToList", "pos": [1450, 100], "title": "Split to Individual Images"},
|
||||
{"id": 9, "type": "PreviewImage", "pos": [1750, 100], "title": "Preview All Variations"},
|
||||
{"id": 10, "type": "SaveImage", "pos": [1750, 450], "widgets_values": ["batch_output"], "title": "API Save All"}
|
||||
{
|
||||
"id": 1,
|
||||
"type": "CheckpointLoaderSimple",
|
||||
"pos": [
|
||||
50,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
"diffusers/FLUX.1-schnell"
|
||||
],
|
||||
"title": "FLUX Schnell Loader",
|
||||
"flags": {},
|
||||
"order": 0,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "CheckpointLoaderSimple"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"type": "CLIPTextEncode",
|
||||
"pos": [
|
||||
450,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
"A beautiful landscape"
|
||||
],
|
||||
"title": "API Base Prompt",
|
||||
"flags": {},
|
||||
"order": 1,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "CLIPTextEncode"
|
||||
},
|
||||
"size": {
|
||||
"0": 400,
|
||||
"1": 200
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"type": "CLIPTextEncode",
|
||||
"pos": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"widgets_values": [
|
||||
"blurry, low quality"
|
||||
],
|
||||
"title": "API Negative Prompt",
|
||||
"flags": {},
|
||||
"order": 2,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "CLIPTextEncode"
|
||||
},
|
||||
"size": {
|
||||
"0": 400,
|
||||
"1": 200
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"type": "SeedGenerator",
|
||||
"pos": [
|
||||
450,
|
||||
500
|
||||
],
|
||||
"widgets_values": [
|
||||
4,
|
||||
42
|
||||
],
|
||||
"title": "Generate 4 Seeds",
|
||||
"flags": {},
|
||||
"order": 3,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "SeedGenerator"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"type": "EmptyLatentImage",
|
||||
"pos": [
|
||||
450,
|
||||
700
|
||||
],
|
||||
"widgets_values": [
|
||||
1024,
|
||||
1024,
|
||||
1
|
||||
],
|
||||
"title": "API Latent Config",
|
||||
"flags": {},
|
||||
"order": 4,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "EmptyLatentImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"type": "BatchKSampler",
|
||||
"pos": [
|
||||
800,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
"fixed",
|
||||
4,
|
||||
1.0,
|
||||
"euler",
|
||||
"normal"
|
||||
],
|
||||
"title": "Batch Sampler (4 variations)",
|
||||
"flags": {},
|
||||
"order": 5,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "BatchKSampler"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 474
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"type": "VAEDecode",
|
||||
"pos": [
|
||||
1150,
|
||||
100
|
||||
],
|
||||
"title": "VAE Decode Batch",
|
||||
"flags": {},
|
||||
"order": 6,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "VAEDecode"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"type": "ImageBatchToList",
|
||||
"pos": [
|
||||
1450,
|
||||
100
|
||||
],
|
||||
"title": "Split to Individual Images",
|
||||
"flags": {},
|
||||
"order": 7,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "ImageBatchToList"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"type": "PreviewImage",
|
||||
"pos": [
|
||||
1750,
|
||||
100
|
||||
],
|
||||
"title": "Preview All Variations",
|
||||
"flags": {},
|
||||
"order": 8,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "PreviewImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"type": "SaveImage",
|
||||
"pos": [
|
||||
1750,
|
||||
450
|
||||
],
|
||||
"widgets_values": [
|
||||
"batch_output"
|
||||
],
|
||||
"title": "API Save All",
|
||||
"flags": {},
|
||||
"order": 9,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "SaveImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
}
|
||||
],
|
||||
"extra": {
|
||||
"workflow_info": {
|
||||
@@ -18,16 +226,49 @@
|
||||
"version": "1.0.0",
|
||||
"description": "Batch generation pipeline for multiple variations. Generate 4+ images simultaneously with different seeds for rapid iteration.",
|
||||
"category": "advanced",
|
||||
"tags": ["batch", "multi-generation", "variations", "advanced", "production"],
|
||||
"requirements": {"models": ["FLUX.1-schnell"], "custom_nodes": [], "vram_min": "20GB"},
|
||||
"parameters": {
|
||||
"prompt": {"node_id": 2, "type": "string", "required": true},
|
||||
"batch_count": {"node_id": 4, "type": "integer", "default": 4, "description": "Number of variations"},
|
||||
"base_seed": {"node_id": 4, "type": "integer", "default": 42}
|
||||
"tags": [
|
||||
"batch",
|
||||
"multi-generation",
|
||||
"variations",
|
||||
"advanced",
|
||||
"production"
|
||||
],
|
||||
"requirements": {
|
||||
"models": [
|
||||
"FLUX.1-schnell"
|
||||
],
|
||||
"custom_nodes": [],
|
||||
"vram_min": "20GB"
|
||||
},
|
||||
"performance": {"avg_generation_time": "20-30 seconds for 4 images", "vram_usage": "~18-22GB"},
|
||||
"use_cases": ["Rapid prototyping", "Concept exploration", "A/B testing", "Client presentations with options"]
|
||||
"parameters": {
|
||||
"prompt": {
|
||||
"node_id": 2,
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"batch_count": {
|
||||
"node_id": 4,
|
||||
"type": "integer",
|
||||
"default": 4,
|
||||
"description": "Number of variations"
|
||||
},
|
||||
"base_seed": {
|
||||
"node_id": 4,
|
||||
"type": "integer",
|
||||
"default": 42
|
||||
}
|
||||
},
|
||||
"performance": {
|
||||
"avg_generation_time": "20-30 seconds for 4 images",
|
||||
"vram_usage": "~18-22GB"
|
||||
},
|
||||
"use_cases": [
|
||||
"Rapid prototyping",
|
||||
"Concept exploration",
|
||||
"A/B testing",
|
||||
"Client presentations with options"
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0.4
|
||||
}
|
||||
}
|
||||
@@ -1,20 +1,322 @@
|
||||
{
|
||||
"last_node_id": 15,
|
||||
"nodes": [
|
||||
{"id": 1, "type": "CheckpointLoaderSimple", "pos": [50, 100], "widgets_values": ["diffusers/stable-diffusion-xl-base-1.0"], "title": "SDXL Checkpoint Loader"},
|
||||
{"id": 2, "type": "LoadImage", "pos": [50, 300], "widgets_values": ["control_depth.png", "image"], "title": "API Depth Control Image"},
|
||||
{"id": 3, "type": "LoadImage", "pos": [50, 650], "widgets_values": ["control_canny.png", "image"], "title": "API Canny Control Image"},
|
||||
{"id": 4, "type": "ControlNetLoader", "pos": [450, 100], "widgets_values": ["control_v11p_sd15_depth"], "title": "Depth ControlNet Loader"},
|
||||
{"id": 5, "type": "ControlNetLoader", "pos": [450, 300], "widgets_values": ["control_v11p_sd15_canny"], "title": "Canny ControlNet Loader"},
|
||||
{"id": 6, "type": "ControlNetApplyAdvanced", "pos": [800, 100], "widgets_values": [0.8, 0.0, 1.0], "title": "Apply Depth Control"},
|
||||
{"id": 7, "type": "ControlNetApplyAdvanced", "pos": [800, 350], "widgets_values": [0.7, 0.0, 1.0], "title": "Apply Canny Control"},
|
||||
{"id": 8, "type": "CLIPTextEncode", "pos": [450, 600], "widgets_values": ["Detailed scene with precise composition"], "title": "API Positive Prompt"},
|
||||
{"id": 9, "type": "CLIPTextEncode", "pos": [450, 850], "widgets_values": ["blurry, low quality"], "title": "API Negative Prompt"},
|
||||
{"id": 10, "type": "EmptyLatentImage", "pos": [800, 700], "widgets_values": [1024, 1024, 1], "title": "API Latent Config"},
|
||||
{"id": 11, "type": "KSampler", "pos": [1150, 100], "widgets_values": [42, "fixed", 30, 7.5, "dpmpp_2m", "karras", 1], "title": "Multi-ControlNet Sampler"},
|
||||
{"id": 12, "type": "VAEDecode", "pos": [1500, 100], "title": "VAE Decode"},
|
||||
{"id": 13, "type": "PreviewImage", "pos": [1800, 100], "title": "Preview Output"},
|
||||
{"id": 14, "type": "SaveImage", "pos": [1800, 450], "widgets_values": ["controlnet_fusion_output"], "title": "API Image Output"}
|
||||
{
|
||||
"id": 1,
|
||||
"type": "CheckpointLoaderSimple",
|
||||
"pos": [
|
||||
50,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
"diffusers/stable-diffusion-xl-base-1.0"
|
||||
],
|
||||
"title": "SDXL Checkpoint Loader",
|
||||
"flags": {},
|
||||
"order": 0,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "CheckpointLoaderSimple"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"type": "LoadImage",
|
||||
"pos": [
|
||||
50,
|
||||
300
|
||||
],
|
||||
"widgets_values": [
|
||||
"control_depth.png",
|
||||
"image"
|
||||
],
|
||||
"title": "API Depth Control Image",
|
||||
"flags": {},
|
||||
"order": 1,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "LoadImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"type": "LoadImage",
|
||||
"pos": [
|
||||
50,
|
||||
650
|
||||
],
|
||||
"widgets_values": [
|
||||
"control_canny.png",
|
||||
"image"
|
||||
],
|
||||
"title": "API Canny Control Image",
|
||||
"flags": {},
|
||||
"order": 2,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "LoadImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"type": "ControlNetLoader",
|
||||
"pos": [
|
||||
450,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
"control_v11p_sd15_depth"
|
||||
],
|
||||
"title": "Depth ControlNet Loader",
|
||||
"flags": {},
|
||||
"order": 3,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "ControlNetLoader"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"type": "ControlNetLoader",
|
||||
"pos": [
|
||||
450,
|
||||
300
|
||||
],
|
||||
"widgets_values": [
|
||||
"control_v11p_sd15_canny"
|
||||
],
|
||||
"title": "Canny ControlNet Loader",
|
||||
"flags": {},
|
||||
"order": 4,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "ControlNetLoader"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"type": "ControlNetApplyAdvanced",
|
||||
"pos": [
|
||||
800,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
0.8,
|
||||
0.0,
|
||||
1.0
|
||||
],
|
||||
"title": "Apply Depth Control",
|
||||
"flags": {},
|
||||
"order": 5,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "ControlNetApplyAdvanced"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"type": "ControlNetApplyAdvanced",
|
||||
"pos": [
|
||||
800,
|
||||
350
|
||||
],
|
||||
"widgets_values": [
|
||||
0.7,
|
||||
0.0,
|
||||
1.0
|
||||
],
|
||||
"title": "Apply Canny Control",
|
||||
"flags": {},
|
||||
"order": 6,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "ControlNetApplyAdvanced"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"type": "CLIPTextEncode",
|
||||
"pos": [
|
||||
450,
|
||||
600
|
||||
],
|
||||
"widgets_values": [
|
||||
"Detailed scene with precise composition"
|
||||
],
|
||||
"title": "API Positive Prompt",
|
||||
"flags": {},
|
||||
"order": 7,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "CLIPTextEncode"
|
||||
},
|
||||
"size": {
|
||||
"0": 400,
|
||||
"1": 200
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"type": "CLIPTextEncode",
|
||||
"pos": [
|
||||
450,
|
||||
850
|
||||
],
|
||||
"widgets_values": [
|
||||
"blurry, low quality"
|
||||
],
|
||||
"title": "API Negative Prompt",
|
||||
"flags": {},
|
||||
"order": 8,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "CLIPTextEncode"
|
||||
},
|
||||
"size": {
|
||||
"0": 400,
|
||||
"1": 200
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"type": "EmptyLatentImage",
|
||||
"pos": [
|
||||
800,
|
||||
700
|
||||
],
|
||||
"widgets_values": [
|
||||
1024,
|
||||
1024,
|
||||
1
|
||||
],
|
||||
"title": "API Latent Config",
|
||||
"flags": {},
|
||||
"order": 9,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "EmptyLatentImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"type": "KSampler",
|
||||
"pos": [
|
||||
1150,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
42,
|
||||
"fixed",
|
||||
30,
|
||||
7.5,
|
||||
"dpmpp_2m",
|
||||
"karras",
|
||||
1
|
||||
],
|
||||
"title": "Multi-ControlNet Sampler",
|
||||
"flags": {},
|
||||
"order": 10,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "KSampler"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 474
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"type": "VAEDecode",
|
||||
"pos": [
|
||||
1500,
|
||||
100
|
||||
],
|
||||
"title": "VAE Decode",
|
||||
"flags": {},
|
||||
"order": 11,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "VAEDecode"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"type": "PreviewImage",
|
||||
"pos": [
|
||||
1800,
|
||||
100
|
||||
],
|
||||
"title": "Preview Output",
|
||||
"flags": {},
|
||||
"order": 12,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "PreviewImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"type": "SaveImage",
|
||||
"pos": [
|
||||
1800,
|
||||
450
|
||||
],
|
||||
"widgets_values": [
|
||||
"controlnet_fusion_output"
|
||||
],
|
||||
"title": "API Image Output",
|
||||
"flags": {},
|
||||
"order": 13,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "SaveImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
}
|
||||
],
|
||||
"extra": {
|
||||
"workflow_info": {
|
||||
@@ -22,17 +324,57 @@
|
||||
"version": "1.0.0",
|
||||
"description": "Multi-ControlNet workflow for precise composition control. Combine depth, canny, pose, or other controls for exact image generation.",
|
||||
"category": "advanced",
|
||||
"tags": ["controlnet", "multi-control", "fusion", "advanced", "production"],
|
||||
"requirements": {"models": ["stable-diffusion-xl-base-1.0", "controlnet-depth", "controlnet-canny"], "custom_nodes": ["ComfyUI-Advanced-ControlNet"], "vram_min": "20GB"},
|
||||
"parameters": {
|
||||
"depth_control": {"node_id": 2, "type": "image", "required": false},
|
||||
"canny_control": {"node_id": 3, "type": "image", "required": false},
|
||||
"depth_strength": {"node_id": 6, "type": "float", "default": 0.8},
|
||||
"canny_strength": {"node_id": 7, "type": "float", "default": 0.7}
|
||||
"tags": [
|
||||
"controlnet",
|
||||
"multi-control",
|
||||
"fusion",
|
||||
"advanced",
|
||||
"production"
|
||||
],
|
||||
"requirements": {
|
||||
"models": [
|
||||
"stable-diffusion-xl-base-1.0",
|
||||
"controlnet-depth",
|
||||
"controlnet-canny"
|
||||
],
|
||||
"custom_nodes": [
|
||||
"ComfyUI-Advanced-ControlNet"
|
||||
],
|
||||
"vram_min": "20GB"
|
||||
},
|
||||
"performance": {"avg_generation_time": "45-70 seconds", "vram_usage": "~18-22GB"},
|
||||
"use_cases": ["Architectural visualization", "Product photography", "Precise composition control", "3D-to-2D rendering"]
|
||||
"parameters": {
|
||||
"depth_control": {
|
||||
"node_id": 2,
|
||||
"type": "image",
|
||||
"required": false
|
||||
},
|
||||
"canny_control": {
|
||||
"node_id": 3,
|
||||
"type": "image",
|
||||
"required": false
|
||||
},
|
||||
"depth_strength": {
|
||||
"node_id": 6,
|
||||
"type": "float",
|
||||
"default": 0.8
|
||||
},
|
||||
"canny_strength": {
|
||||
"node_id": 7,
|
||||
"type": "float",
|
||||
"default": 0.7
|
||||
}
|
||||
},
|
||||
"performance": {
|
||||
"avg_generation_time": "45-70 seconds",
|
||||
"vram_usage": "~18-22GB"
|
||||
},
|
||||
"use_cases": [
|
||||
"Architectural visualization",
|
||||
"Product photography",
|
||||
"Precise composition control",
|
||||
"3D-to-2D rendering"
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0.4
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user