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:
@@ -2,20 +2,322 @@
|
||||
"last_node_id": 18,
|
||||
"last_link_id": 25,
|
||||
"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": ["composition_ref1.png", "image"], "title": "API Composition Ref 1"},
|
||||
{"id": 3, "type": "LoadImage", "pos": [50, 650], "widgets_values": ["composition_ref2.png", "image"], "title": "API Composition Ref 2"},
|
||||
{"id": 4, "type": "IPAdapterUnifiedLoader", "pos": [450, 100], "widgets_values": ["PLUS (high strength)"], "title": "IP-Adapter Loader 1"},
|
||||
{"id": 5, "type": "IPAdapterUnifiedLoader", "pos": [450, 250], "widgets_values": ["PLUS (high strength)"], "title": "IP-Adapter Loader 2"},
|
||||
{"id": 6, "type": "IPAdapterApply", "pos": [800, 100], "widgets_values": [0.6, 0.0, "original"], "title": "Apply IP-Adapter 1"},
|
||||
{"id": 7, "type": "IPAdapterApply", "pos": [1100, 100], "widgets_values": [0.5, 0.0, "original"], "title": "Apply IP-Adapter 2"},
|
||||
{"id": 8, "type": "CLIPTextEncode", "pos": [450, 500], "widgets_values": ["Complex scene composition, detailed, professional"], "title": "API Positive Prompt"},
|
||||
{"id": 9, "type": "CLIPTextEncode", "pos": [450, 750], "widgets_values": ["blurry, low quality"], "title": "API Negative Prompt"},
|
||||
{"id": 10, "type": "EmptyLatentImage", "pos": [800, 500], "widgets_values": [1024, 1024, 1], "title": "API Latent Config"},
|
||||
{"id": 11, "type": "KSampler", "pos": [1400, 100], "widgets_values": [42, "fixed", 35, 7.0, "dpmpp_2m", "karras", 1], "title": "Multi-Composition Sampler"},
|
||||
{"id": 12, "type": "VAEDecode", "pos": [1750, 100], "title": "VAE Decode"},
|
||||
{"id": 13, "type": "PreviewImage", "pos": [2000, 100], "title": "Preview Output"},
|
||||
{"id": 14, "type": "SaveImage", "pos": [2000, 550], "widgets_values": ["ipadapter_composition_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": [
|
||||
"composition_ref1.png",
|
||||
"image"
|
||||
],
|
||||
"title": "API Composition Ref 1",
|
||||
"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": [
|
||||
"composition_ref2.png",
|
||||
"image"
|
||||
],
|
||||
"title": "API Composition Ref 2",
|
||||
"flags": {},
|
||||
"order": 2,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "LoadImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"type": "IPAdapterUnifiedLoader",
|
||||
"pos": [
|
||||
450,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
"PLUS (high strength)"
|
||||
],
|
||||
"title": "IP-Adapter Loader 1",
|
||||
"flags": {},
|
||||
"order": 3,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "IPAdapterUnifiedLoader"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"type": "IPAdapterUnifiedLoader",
|
||||
"pos": [
|
||||
450,
|
||||
250
|
||||
],
|
||||
"widgets_values": [
|
||||
"PLUS (high strength)"
|
||||
],
|
||||
"title": "IP-Adapter Loader 2",
|
||||
"flags": {},
|
||||
"order": 4,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "IPAdapterUnifiedLoader"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"type": "IPAdapter",
|
||||
"pos": [
|
||||
800,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
0.6,
|
||||
0.0,
|
||||
"original"
|
||||
],
|
||||
"title": "Apply IP-Adapter 1",
|
||||
"flags": {},
|
||||
"order": 5,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "IPAdapter"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"type": "IPAdapter",
|
||||
"pos": [
|
||||
1100,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
0.5,
|
||||
0.0,
|
||||
"original"
|
||||
],
|
||||
"title": "Apply IP-Adapter 2",
|
||||
"flags": {},
|
||||
"order": 6,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "IPAdapter"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"type": "CLIPTextEncode",
|
||||
"pos": [
|
||||
450,
|
||||
500
|
||||
],
|
||||
"widgets_values": [
|
||||
"Complex scene composition, detailed, professional"
|
||||
],
|
||||
"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,
|
||||
750
|
||||
],
|
||||
"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,
|
||||
500
|
||||
],
|
||||
"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": [
|
||||
1400,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
42,
|
||||
"fixed",
|
||||
35,
|
||||
7.0,
|
||||
"dpmpp_2m",
|
||||
"karras",
|
||||
1
|
||||
],
|
||||
"title": "Multi-Composition Sampler",
|
||||
"flags": {},
|
||||
"order": 10,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "KSampler"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 474
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"type": "VAEDecode",
|
||||
"pos": [
|
||||
1750,
|
||||
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": [
|
||||
2000,
|
||||
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": [
|
||||
2000,
|
||||
550
|
||||
],
|
||||
"widgets_values": [
|
||||
"ipadapter_composition_output"
|
||||
],
|
||||
"title": "API Image Output",
|
||||
"flags": {},
|
||||
"order": 13,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "SaveImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
}
|
||||
],
|
||||
"links": [],
|
||||
"extra": {
|
||||
@@ -24,16 +326,56 @@
|
||||
"version": "1.0.0",
|
||||
"description": "Complex scene composition using multiple IP-Adapter references. Combine visual elements from multiple source images.",
|
||||
"category": "image-to-image",
|
||||
"tags": ["ipadapter", "composition", "multi-reference", "i2i", "production"],
|
||||
"requirements": {"models": ["stable-diffusion-xl-base-1.0", "ip-adapter-plus"], "custom_nodes": ["ComfyUI_IPAdapter_plus"], "vram_min": "18GB"},
|
||||
"parameters": {
|
||||
"ref_image_1": {"node_id": 2, "type": "image", "required": true, "description": "First composition reference"},
|
||||
"ref_image_2": {"node_id": 3, "type": "image", "required": true, "description": "Second composition reference"},
|
||||
"weight_1": {"node_id": 6, "type": "float", "default": 0.6, "description": "Weight for first reference"},
|
||||
"weight_2": {"node_id": 7, "type": "float", "default": 0.5, "description": "Weight for second reference"}
|
||||
"tags": [
|
||||
"ipadapter",
|
||||
"composition",
|
||||
"multi-reference",
|
||||
"i2i",
|
||||
"production"
|
||||
],
|
||||
"requirements": {
|
||||
"models": [
|
||||
"stable-diffusion-xl-base-1.0",
|
||||
"ip-adapter-plus"
|
||||
],
|
||||
"custom_nodes": [
|
||||
"ComfyUI_IPAdapter_plus"
|
||||
],
|
||||
"vram_min": "18GB"
|
||||
},
|
||||
"use_cases": ["Multi-source scene composition", "Blend multiple visual concepts", "Complex artistic compositions", "Style mixing"]
|
||||
"parameters": {
|
||||
"ref_image_1": {
|
||||
"node_id": 2,
|
||||
"type": "image",
|
||||
"required": true,
|
||||
"description": "First composition reference"
|
||||
},
|
||||
"ref_image_2": {
|
||||
"node_id": 3,
|
||||
"type": "image",
|
||||
"required": true,
|
||||
"description": "Second composition reference"
|
||||
},
|
||||
"weight_1": {
|
||||
"node_id": 6,
|
||||
"type": "float",
|
||||
"default": 0.6,
|
||||
"description": "Weight for first reference"
|
||||
},
|
||||
"weight_2": {
|
||||
"node_id": 7,
|
||||
"type": "float",
|
||||
"default": 0.5,
|
||||
"description": "Weight for second reference"
|
||||
}
|
||||
},
|
||||
"use_cases": [
|
||||
"Multi-source scene composition",
|
||||
"Blend multiple visual concepts",
|
||||
"Complex artistic compositions",
|
||||
"Style mixing"
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0.4
|
||||
}
|
||||
}
|
||||
@@ -2,17 +2,256 @@
|
||||
"last_node_id": 15,
|
||||
"last_link_id": 20,
|
||||
"nodes": [
|
||||
{"id": 1, "type": "CheckpointLoaderSimple", "pos": [50, 100], "size": {"0": 350, "1": 100}, "widgets_values": ["diffusers/stable-diffusion-xl-base-1.0"], "title": "SDXL Base Checkpoint Loader"},
|
||||
{"id": 2, "type": "LoadImage", "pos": [50, 300], "size": [315, 314], "widgets_values": ["face_reference.png", "image"], "title": "API Face Reference Input"},
|
||||
{"id": 3, "type": "IPAdapterUnifiedLoader", "pos": [450, 100], "size": {"0": 315, "1": 78}, "widgets_values": ["FACE"], "title": "IP-Adapter Face Loader"},
|
||||
{"id": 4, "type": "IPAdapterApplyFace", "pos": [800, 100], "size": {"0": 315, "1": 258}, "widgets_values": [0.85, 0.0, "original", 0.0, 1.0, true], "title": "Apply IP-Adapter Face"},
|
||||
{"id": 5, "type": "CLIPTextEncode", "pos": [450, 400], "size": {"0": 400, "1": 200}, "widgets_values": ["A professional portrait, studio lighting, detailed face"], "title": "API Positive Prompt"},
|
||||
{"id": 6, "type": "CLIPTextEncode", "pos": [450, 650], "size": {"0": 400, "1": 200}, "widgets_values": ["blurry, distorted face, low quality"], "title": "API Negative Prompt"},
|
||||
{"id": 7, "type": "EmptyLatentImage", "pos": [800, 450], "size": {"0": 315, "1": 106}, "widgets_values": [1024, 1024, 1], "title": "API Latent Image Config"},
|
||||
{"id": 8, "type": "KSampler", "pos": [1170, 100], "size": {"0": 315, "1": 474}, "widgets_values": [42, "fixed", 30, 6.5, "dpmpp_2m", "karras", 1], "title": "Sampler with Face"},
|
||||
{"id": 9, "type": "VAEDecode", "pos": [1540, 100], "size": {"0": 210, "1": 46}, "title": "VAE Decode"},
|
||||
{"id": 10, "type": "PreviewImage", "pos": [1800, 100], "size": {"0": 400, "1": 400}, "title": "Preview Output"},
|
||||
{"id": 11, "type": "SaveImage", "pos": [1800, 550], "size": {"0": 400, "1": 100}, "widgets_values": ["ipadapter_face_output"], "title": "API Image Output"}
|
||||
{
|
||||
"id": 1,
|
||||
"type": "CheckpointLoaderSimple",
|
||||
"pos": [
|
||||
50,
|
||||
100
|
||||
],
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
},
|
||||
"widgets_values": [
|
||||
"diffusers/stable-diffusion-xl-base-1.0"
|
||||
],
|
||||
"title": "SDXL Base Checkpoint Loader",
|
||||
"flags": {},
|
||||
"order": 0,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "CheckpointLoaderSimple"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"type": "LoadImage",
|
||||
"pos": [
|
||||
50,
|
||||
300
|
||||
],
|
||||
"size": [
|
||||
315,
|
||||
314
|
||||
],
|
||||
"widgets_values": [
|
||||
"face_reference.png",
|
||||
"image"
|
||||
],
|
||||
"title": "API Face Reference Input",
|
||||
"flags": {},
|
||||
"order": 1,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "LoadImage"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"type": "IPAdapterUnifiedLoader",
|
||||
"pos": [
|
||||
450,
|
||||
100
|
||||
],
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 78
|
||||
},
|
||||
"widgets_values": [
|
||||
"FACE"
|
||||
],
|
||||
"title": "IP-Adapter Face Loader",
|
||||
"flags": {},
|
||||
"order": 2,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "IPAdapterUnifiedLoader"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"type": "IPAdapterFaceID",
|
||||
"pos": [
|
||||
800,
|
||||
100
|
||||
],
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 258
|
||||
},
|
||||
"widgets_values": [
|
||||
0.85,
|
||||
0.0,
|
||||
"original",
|
||||
0.0,
|
||||
1.0,
|
||||
true
|
||||
],
|
||||
"title": "Apply IP-Adapter Face",
|
||||
"flags": {},
|
||||
"order": 3,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "IPAdapterFaceID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"type": "CLIPTextEncode",
|
||||
"pos": [
|
||||
450,
|
||||
400
|
||||
],
|
||||
"size": {
|
||||
"0": 400,
|
||||
"1": 200
|
||||
},
|
||||
"widgets_values": [
|
||||
"A professional portrait, studio lighting, detailed face"
|
||||
],
|
||||
"title": "API Positive Prompt",
|
||||
"flags": {},
|
||||
"order": 4,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "CLIPTextEncode"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"type": "CLIPTextEncode",
|
||||
"pos": [
|
||||
450,
|
||||
650
|
||||
],
|
||||
"size": {
|
||||
"0": 400,
|
||||
"1": 200
|
||||
},
|
||||
"widgets_values": [
|
||||
"blurry, distorted face, low quality"
|
||||
],
|
||||
"title": "API Negative Prompt",
|
||||
"flags": {},
|
||||
"order": 5,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "CLIPTextEncode"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"type": "EmptyLatentImage",
|
||||
"pos": [
|
||||
800,
|
||||
450
|
||||
],
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 106
|
||||
},
|
||||
"widgets_values": [
|
||||
1024,
|
||||
1024,
|
||||
1
|
||||
],
|
||||
"title": "API Latent Image Config",
|
||||
"flags": {},
|
||||
"order": 6,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "EmptyLatentImage"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"type": "KSampler",
|
||||
"pos": [
|
||||
1170,
|
||||
100
|
||||
],
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 474
|
||||
},
|
||||
"widgets_values": [
|
||||
42,
|
||||
"fixed",
|
||||
30,
|
||||
6.5,
|
||||
"dpmpp_2m",
|
||||
"karras",
|
||||
1
|
||||
],
|
||||
"title": "Sampler with Face",
|
||||
"flags": {},
|
||||
"order": 7,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "KSampler"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"type": "VAEDecode",
|
||||
"pos": [
|
||||
1540,
|
||||
100
|
||||
],
|
||||
"size": {
|
||||
"0": 210,
|
||||
"1": 46
|
||||
},
|
||||
"title": "VAE Decode",
|
||||
"flags": {},
|
||||
"order": 8,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "VAEDecode"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"type": "PreviewImage",
|
||||
"pos": [
|
||||
1800,
|
||||
100
|
||||
],
|
||||
"size": {
|
||||
"0": 400,
|
||||
"1": 400
|
||||
},
|
||||
"title": "Preview Output",
|
||||
"flags": {},
|
||||
"order": 9,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "PreviewImage"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"type": "SaveImage",
|
||||
"pos": [
|
||||
1800,
|
||||
550
|
||||
],
|
||||
"size": {
|
||||
"0": 400,
|
||||
"1": 100
|
||||
},
|
||||
"widgets_values": [
|
||||
"ipadapter_face_output"
|
||||
],
|
||||
"title": "API Image Output",
|
||||
"flags": {},
|
||||
"order": 10,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "SaveImage"
|
||||
}
|
||||
}
|
||||
],
|
||||
"links": [],
|
||||
"extra": {
|
||||
@@ -21,15 +260,50 @@
|
||||
"version": "1.0.0",
|
||||
"description": "Face-focused generation using IP-Adapter Face model. Transfer facial features from reference to generate new portraits or perform face swaps.",
|
||||
"category": "image-to-image",
|
||||
"tags": ["ipadapter", "face", "portrait", "i2i", "production"],
|
||||
"requirements": {"models": ["stable-diffusion-xl-base-1.0", "ip-adapter-face"], "custom_nodes": ["ComfyUI_IPAdapter_plus"], "vram_min": "16GB"},
|
||||
"parameters": {
|
||||
"face_image": {"node_id": 2, "type": "image", "required": true, "description": "Reference face image"},
|
||||
"prompt": {"node_id": 5, "type": "string", "default": "A professional portrait", "description": "Portrait description"},
|
||||
"face_weight": {"node_id": 4, "type": "float", "default": 0.85, "description": "Face similarity strength (0.85 recommended)"}
|
||||
"tags": [
|
||||
"ipadapter",
|
||||
"face",
|
||||
"portrait",
|
||||
"i2i",
|
||||
"production"
|
||||
],
|
||||
"requirements": {
|
||||
"models": [
|
||||
"stable-diffusion-xl-base-1.0",
|
||||
"ip-adapter-face"
|
||||
],
|
||||
"custom_nodes": [
|
||||
"ComfyUI_IPAdapter_plus"
|
||||
],
|
||||
"vram_min": "16GB"
|
||||
},
|
||||
"use_cases": ["Portrait generation with specific face", "Face swap in different contexts", "Consistent character portraits", "Professional headshots"]
|
||||
"parameters": {
|
||||
"face_image": {
|
||||
"node_id": 2,
|
||||
"type": "image",
|
||||
"required": true,
|
||||
"description": "Reference face image"
|
||||
},
|
||||
"prompt": {
|
||||
"node_id": 5,
|
||||
"type": "string",
|
||||
"default": "A professional portrait",
|
||||
"description": "Portrait description"
|
||||
},
|
||||
"face_weight": {
|
||||
"node_id": 4,
|
||||
"type": "float",
|
||||
"default": 0.85,
|
||||
"description": "Face similarity strength (0.85 recommended)"
|
||||
}
|
||||
},
|
||||
"use_cases": [
|
||||
"Portrait generation with specific face",
|
||||
"Face swap in different contexts",
|
||||
"Consistent character portraits",
|
||||
"Professional headshots"
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": 0.4
|
||||
}
|
||||
}
|
||||
@@ -5,8 +5,14 @@
|
||||
{
|
||||
"id": 1,
|
||||
"type": "CheckpointLoaderSimple",
|
||||
"pos": [50, 100],
|
||||
"size": {"0": 350, "1": 100},
|
||||
"pos": [
|
||||
50,
|
||||
100
|
||||
],
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
},
|
||||
"flags": {},
|
||||
"order": 0,
|
||||
"mode": 0,
|
||||
@@ -14,33 +20,48 @@
|
||||
{
|
||||
"name": "MODEL",
|
||||
"type": "MODEL",
|
||||
"links": [1],
|
||||
"links": [
|
||||
1
|
||||
],
|
||||
"slot_index": 0
|
||||
},
|
||||
{
|
||||
"name": "CLIP",
|
||||
"type": "CLIP",
|
||||
"links": [2, 3],
|
||||
"links": [
|
||||
2,
|
||||
3
|
||||
],
|
||||
"slot_index": 1
|
||||
},
|
||||
{
|
||||
"name": "VAE",
|
||||
"type": "VAE",
|
||||
"links": [4],
|
||||
"links": [
|
||||
4
|
||||
],
|
||||
"slot_index": 2
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "CheckpointLoaderSimple"
|
||||
},
|
||||
"widgets_values": ["diffusers/stable-diffusion-xl-base-1.0"],
|
||||
"widgets_values": [
|
||||
"diffusers/stable-diffusion-xl-base-1.0"
|
||||
],
|
||||
"title": "SDXL Base Checkpoint Loader"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"type": "LoadImage",
|
||||
"pos": [50, 300],
|
||||
"size": [315, 314],
|
||||
"pos": [
|
||||
50,
|
||||
300
|
||||
],
|
||||
"size": [
|
||||
315,
|
||||
314
|
||||
],
|
||||
"flags": {},
|
||||
"order": 1,
|
||||
"mode": 0,
|
||||
@@ -48,7 +69,9 @@
|
||||
{
|
||||
"name": "IMAGE",
|
||||
"type": "IMAGE",
|
||||
"links": [11],
|
||||
"links": [
|
||||
11
|
||||
],
|
||||
"shape": 3
|
||||
},
|
||||
{
|
||||
@@ -61,14 +84,23 @@
|
||||
"properties": {
|
||||
"Node name for S&R": "LoadImage"
|
||||
},
|
||||
"widgets_values": ["style_reference.png", "image"],
|
||||
"widgets_values": [
|
||||
"style_reference.png",
|
||||
"image"
|
||||
],
|
||||
"title": "API Style Reference Input"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"type": "IPAdapterUnifiedLoader",
|
||||
"pos": [450, 100],
|
||||
"size": {"0": 315, "1": 78},
|
||||
"pos": [
|
||||
450,
|
||||
100
|
||||
],
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 78
|
||||
},
|
||||
"flags": {},
|
||||
"order": 2,
|
||||
"mode": 0,
|
||||
@@ -88,14 +120,18 @@
|
||||
{
|
||||
"name": "model",
|
||||
"type": "MODEL",
|
||||
"links": [12],
|
||||
"links": [
|
||||
12
|
||||
],
|
||||
"shape": 3,
|
||||
"slot_index": 0
|
||||
},
|
||||
{
|
||||
"name": "ipadapter",
|
||||
"type": "IPADAPTER",
|
||||
"links": [13],
|
||||
"links": [
|
||||
13
|
||||
],
|
||||
"shape": 3,
|
||||
"slot_index": 1
|
||||
}
|
||||
@@ -103,14 +139,22 @@
|
||||
"properties": {
|
||||
"Node name for S&R": "IPAdapterUnifiedLoader"
|
||||
},
|
||||
"widgets_values": ["PLUS (high strength)"],
|
||||
"widgets_values": [
|
||||
"PLUS (high strength)"
|
||||
],
|
||||
"title": "IP-Adapter Loader"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"type": "IPAdapterApply",
|
||||
"pos": [800, 100],
|
||||
"size": {"0": 315, "1": 258},
|
||||
"type": "IPAdapter",
|
||||
"pos": [
|
||||
800,
|
||||
100
|
||||
],
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 258
|
||||
},
|
||||
"flags": {},
|
||||
"order": 3,
|
||||
"mode": 0,
|
||||
@@ -140,7 +184,9 @@
|
||||
{
|
||||
"name": "MODEL",
|
||||
"type": "MODEL",
|
||||
"links": [14],
|
||||
"links": [
|
||||
14
|
||||
],
|
||||
"shape": 3,
|
||||
"slot_index": 0
|
||||
}
|
||||
@@ -148,14 +194,27 @@
|
||||
"properties": {
|
||||
"Node name for S&R": "IPAdapterApply"
|
||||
},
|
||||
"widgets_values": [0.75, 0.0, "original", 0.0, 1.0, false],
|
||||
"widgets_values": [
|
||||
0.75,
|
||||
0.0,
|
||||
"original",
|
||||
0.0,
|
||||
1.0,
|
||||
false
|
||||
],
|
||||
"title": "Apply IP-Adapter Style"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"type": "CLIPTextEncode",
|
||||
"pos": [450, 400],
|
||||
"size": {"0": 400, "1": 200},
|
||||
"pos": [
|
||||
450,
|
||||
400
|
||||
],
|
||||
"size": {
|
||||
"0": 400,
|
||||
"1": 200
|
||||
},
|
||||
"flags": {},
|
||||
"order": 4,
|
||||
"mode": 0,
|
||||
@@ -170,21 +229,31 @@
|
||||
{
|
||||
"name": "CONDITIONING",
|
||||
"type": "CONDITIONING",
|
||||
"links": [5],
|
||||
"links": [
|
||||
5
|
||||
],
|
||||
"slot_index": 0
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "CLIPTextEncode"
|
||||
},
|
||||
"widgets_values": ["A portrait of a person, highly detailed, professional photography"],
|
||||
"widgets_values": [
|
||||
"A portrait of a person, highly detailed, professional photography"
|
||||
],
|
||||
"title": "API Positive Prompt"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"type": "CLIPTextEncode",
|
||||
"pos": [450, 650],
|
||||
"size": {"0": 400, "1": 200},
|
||||
"pos": [
|
||||
450,
|
||||
650
|
||||
],
|
||||
"size": {
|
||||
"0": 400,
|
||||
"1": 200
|
||||
},
|
||||
"flags": {},
|
||||
"order": 5,
|
||||
"mode": 0,
|
||||
@@ -199,21 +268,31 @@
|
||||
{
|
||||
"name": "CONDITIONING",
|
||||
"type": "CONDITIONING",
|
||||
"links": [6],
|
||||
"links": [
|
||||
6
|
||||
],
|
||||
"slot_index": 0
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "CLIPTextEncode"
|
||||
},
|
||||
"widgets_values": ["blurry, low quality, distorted, deformed"],
|
||||
"widgets_values": [
|
||||
"blurry, low quality, distorted, deformed"
|
||||
],
|
||||
"title": "API Negative Prompt"
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"type": "EmptyLatentImage",
|
||||
"pos": [800, 450],
|
||||
"size": {"0": 315, "1": 106},
|
||||
"pos": [
|
||||
800,
|
||||
450
|
||||
],
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 106
|
||||
},
|
||||
"flags": {},
|
||||
"order": 6,
|
||||
"mode": 0,
|
||||
@@ -221,21 +300,33 @@
|
||||
{
|
||||
"name": "LATENT",
|
||||
"type": "LATENT",
|
||||
"links": [7],
|
||||
"links": [
|
||||
7
|
||||
],
|
||||
"slot_index": 0
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "EmptyLatentImage"
|
||||
},
|
||||
"widgets_values": [1024, 1024, 1],
|
||||
"widgets_values": [
|
||||
1024,
|
||||
1024,
|
||||
1
|
||||
],
|
||||
"title": "API Latent Image Config"
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"type": "KSampler",
|
||||
"pos": [1170, 100],
|
||||
"size": {"0": 315, "1": 474},
|
||||
"pos": [
|
||||
1170,
|
||||
100
|
||||
],
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 474
|
||||
},
|
||||
"flags": {},
|
||||
"order": 7,
|
||||
"mode": 0,
|
||||
@@ -265,7 +356,9 @@
|
||||
{
|
||||
"name": "LATENT",
|
||||
"type": "LATENT",
|
||||
"links": [8],
|
||||
"links": [
|
||||
8
|
||||
],
|
||||
"slot_index": 0
|
||||
}
|
||||
],
|
||||
@@ -286,8 +379,14 @@
|
||||
{
|
||||
"id": 9,
|
||||
"type": "VAEDecode",
|
||||
"pos": [1540, 100],
|
||||
"size": {"0": 210, "1": 46},
|
||||
"pos": [
|
||||
1540,
|
||||
100
|
||||
],
|
||||
"size": {
|
||||
"0": 210,
|
||||
"1": 46
|
||||
},
|
||||
"flags": {},
|
||||
"order": 8,
|
||||
"mode": 0,
|
||||
@@ -307,7 +406,10 @@
|
||||
{
|
||||
"name": "IMAGE",
|
||||
"type": "IMAGE",
|
||||
"links": [9, 10],
|
||||
"links": [
|
||||
9,
|
||||
10
|
||||
],
|
||||
"slot_index": 0
|
||||
}
|
||||
],
|
||||
@@ -319,8 +421,14 @@
|
||||
{
|
||||
"id": 10,
|
||||
"type": "PreviewImage",
|
||||
"pos": [1800, 100],
|
||||
"size": {"0": 400, "1": 400},
|
||||
"pos": [
|
||||
1800,
|
||||
100
|
||||
],
|
||||
"size": {
|
||||
"0": 400,
|
||||
"1": 400
|
||||
},
|
||||
"flags": {},
|
||||
"order": 9,
|
||||
"mode": 0,
|
||||
@@ -339,8 +447,14 @@
|
||||
{
|
||||
"id": 11,
|
||||
"type": "SaveImage",
|
||||
"pos": [1800, 550],
|
||||
"size": {"0": 400, "1": 100},
|
||||
"pos": [
|
||||
1800,
|
||||
550
|
||||
],
|
||||
"size": {
|
||||
"0": 400,
|
||||
"1": 100
|
||||
},
|
||||
"flags": {},
|
||||
"order": 10,
|
||||
"mode": 0,
|
||||
@@ -354,25 +468,125 @@
|
||||
"properties": {
|
||||
"Node name for S&R": "SaveImage"
|
||||
},
|
||||
"widgets_values": ["ipadapter_style_output"],
|
||||
"widgets_values": [
|
||||
"ipadapter_style_output"
|
||||
],
|
||||
"title": "API Image Output"
|
||||
}
|
||||
],
|
||||
"links": [
|
||||
[1, 1, 0, 3, 0, "MODEL"],
|
||||
[2, 1, 1, 5, 0, "CLIP"],
|
||||
[3, 1, 1, 6, 0, "CLIP"],
|
||||
[4, 1, 2, 9, 1, "VAE"],
|
||||
[5, 5, 0, 8, 1, "CONDITIONING"],
|
||||
[6, 6, 0, 8, 2, "CONDITIONING"],
|
||||
[7, 7, 0, 8, 3, "LATENT"],
|
||||
[8, 8, 0, 9, 0, "LATENT"],
|
||||
[9, 9, 0, 10, 0, "IMAGE"],
|
||||
[10, 9, 0, 11, 0, "IMAGE"],
|
||||
[11, 2, 0, 4, 2, "IMAGE"],
|
||||
[12, 3, 0, 4, 3, "MODEL"],
|
||||
[13, 3, 1, 4, 0, "IPADAPTER"],
|
||||
[14, 4, 0, 8, 0, "MODEL"]
|
||||
[
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
3,
|
||||
0,
|
||||
"MODEL"
|
||||
],
|
||||
[
|
||||
2,
|
||||
1,
|
||||
1,
|
||||
5,
|
||||
0,
|
||||
"CLIP"
|
||||
],
|
||||
[
|
||||
3,
|
||||
1,
|
||||
1,
|
||||
6,
|
||||
0,
|
||||
"CLIP"
|
||||
],
|
||||
[
|
||||
4,
|
||||
1,
|
||||
2,
|
||||
9,
|
||||
1,
|
||||
"VAE"
|
||||
],
|
||||
[
|
||||
5,
|
||||
5,
|
||||
0,
|
||||
8,
|
||||
1,
|
||||
"CONDITIONING"
|
||||
],
|
||||
[
|
||||
6,
|
||||
6,
|
||||
0,
|
||||
8,
|
||||
2,
|
||||
"CONDITIONING"
|
||||
],
|
||||
[
|
||||
7,
|
||||
7,
|
||||
0,
|
||||
8,
|
||||
3,
|
||||
"LATENT"
|
||||
],
|
||||
[
|
||||
8,
|
||||
8,
|
||||
0,
|
||||
9,
|
||||
0,
|
||||
"LATENT"
|
||||
],
|
||||
[
|
||||
9,
|
||||
9,
|
||||
0,
|
||||
10,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
[
|
||||
10,
|
||||
9,
|
||||
0,
|
||||
11,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
[
|
||||
11,
|
||||
2,
|
||||
0,
|
||||
4,
|
||||
2,
|
||||
"IMAGE"
|
||||
],
|
||||
[
|
||||
12,
|
||||
3,
|
||||
0,
|
||||
4,
|
||||
3,
|
||||
"MODEL"
|
||||
],
|
||||
[
|
||||
13,
|
||||
3,
|
||||
1,
|
||||
4,
|
||||
0,
|
||||
"IPADAPTER"
|
||||
],
|
||||
[
|
||||
14,
|
||||
4,
|
||||
0,
|
||||
8,
|
||||
0,
|
||||
"MODEL"
|
||||
]
|
||||
],
|
||||
"groups": [],
|
||||
"config": {},
|
||||
@@ -383,10 +597,21 @@
|
||||
"author": "RunPod AI Model Orchestrator",
|
||||
"description": "Style transfer using IP-Adapter. Apply the visual style from a reference image to generate new images matching that aesthetic.",
|
||||
"category": "image-to-image",
|
||||
"tags": ["ipadapter", "style-transfer", "i2i", "production", "sdxl"],
|
||||
"tags": [
|
||||
"ipadapter",
|
||||
"style-transfer",
|
||||
"i2i",
|
||||
"production",
|
||||
"sdxl"
|
||||
],
|
||||
"requirements": {
|
||||
"models": ["stable-diffusion-xl-base-1.0", "ip-adapter-plus"],
|
||||
"custom_nodes": ["ComfyUI_IPAdapter_plus"],
|
||||
"models": [
|
||||
"stable-diffusion-xl-base-1.0",
|
||||
"ip-adapter-plus"
|
||||
],
|
||||
"custom_nodes": [
|
||||
"ComfyUI_IPAdapter_plus"
|
||||
],
|
||||
"vram_min": "16GB",
|
||||
"vram_recommended": "24GB"
|
||||
},
|
||||
@@ -497,4 +722,4 @@
|
||||
}
|
||||
},
|
||||
"version": 0.4
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user