Files
runpod/models/comfyui/workflows/image-to-image/ipadapter-composition-i2i-production-v1.json
Sebastian Krüger 2213ed3c85 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>
2025-11-22 15:30:08 +01:00

381 lines
7.2 KiB
JSON

{
"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",
"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": {
"workflow_info": {
"name": "IP-Adapter Multi-Composition Image-to-Image Production",
"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"
}
},
"use_cases": [
"Multi-source scene composition",
"Blend multiple visual concepts",
"Complex artistic compositions",
"Style mixing"
]
}
},
"version": 0.4
}