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,13 +2,122 @@
|
||||
"last_node_id": 8,
|
||||
"last_link_id": 10,
|
||||
"nodes": [
|
||||
{"id": 1, "type": "LoadImage", "pos": [50, 100], "widgets_values": ["input_frame.png", "image"], "title": "API Input Image"},
|
||||
{"id": 2, "type": "DiffusersLoader", "pos": [50, 400], "widgets_values": ["diffusion_models/stable-video-diffusion-img2vid-xt"], "title": "SVD-XT Model Loader"},
|
||||
{"id": 3, "type": "SVDSampler", "pos": [450, 100], "widgets_values": [42, "fixed", 30, 25, 127, 0.02], "title": "SVD-XT Sampler (25 frames)"},
|
||||
{"id": 4, "type": "VAEDecode", "pos": [800, 100], "title": "VAE Decode Video"},
|
||||
{"id": 5, "type": "VHSVideoCombine", "pos": [1100, 100], "widgets_values": [6, 0, "svd_xt_output", "video/h264-mp4"], "title": "Combine Frames"},
|
||||
{"id": 6, "type": "PreviewVideo", "pos": [1400, 100], "title": "Preview Video"},
|
||||
{"id": 7, "type": "SaveVideo", "pos": [1400, 350], "widgets_values": ["svd_xt_output"], "title": "API Video Output"}
|
||||
{
|
||||
"id": 1,
|
||||
"type": "LoadImage",
|
||||
"pos": [
|
||||
50,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
"input_frame.png",
|
||||
"image"
|
||||
],
|
||||
"title": "API Input Image",
|
||||
"flags": {},
|
||||
"order": 0,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "LoadImage"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"type": "DiffusersLoader",
|
||||
"pos": [
|
||||
50,
|
||||
400
|
||||
],
|
||||
"widgets_values": [
|
||||
"diffusion_models/stable-video-diffusion-img2vid-xt"
|
||||
],
|
||||
"title": "SVD-XT Model Loader",
|
||||
"flags": {},
|
||||
"order": 1,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "DiffusersLoader"
|
||||
},
|
||||
"size": {
|
||||
"0": 350,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"type": "SVDSampler",
|
||||
"pos": [
|
||||
450,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
42,
|
||||
"fixed",
|
||||
30,
|
||||
25,
|
||||
127,
|
||||
0.02
|
||||
],
|
||||
"title": "SVD-XT Sampler (25 frames)",
|
||||
"flags": {},
|
||||
"order": 2,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "SVDSampler"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 474
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"type": "VAEDecode",
|
||||
"pos": [
|
||||
800,
|
||||
100
|
||||
],
|
||||
"title": "VAE Decode Video",
|
||||
"flags": {},
|
||||
"order": 3,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "VAEDecode"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"type": "VHS_VideoCombine",
|
||||
"pos": [
|
||||
1100,
|
||||
100
|
||||
],
|
||||
"widgets_values": [
|
||||
6,
|
||||
0,
|
||||
"svd_xt_output",
|
||||
"video/h264-mp4"
|
||||
],
|
||||
"title": "Combine Frames",
|
||||
"flags": {},
|
||||
"order": 4,
|
||||
"mode": 0,
|
||||
"properties": {
|
||||
"Node name for S&R": "VHS_VideoCombine"
|
||||
},
|
||||
"size": {
|
||||
"0": 315,
|
||||
"1": 100
|
||||
}
|
||||
}
|
||||
],
|
||||
"links": [],
|
||||
"extra": {
|
||||
@@ -17,16 +126,51 @@
|
||||
"version": "1.0.0",
|
||||
"description": "Extended animation using SVD-XT. Generate 25-frame video for longer animations with smooth motion.",
|
||||
"category": "image-to-video",
|
||||
"tags": ["svd-xt", "stable-video-diffusion", "i2v", "extended", "production"],
|
||||
"requirements": {"models": ["stable-video-diffusion-img2vid-xt"], "custom_nodes": ["ComfyUI-VideoHelperSuite"], "vram_min": "18GB"},
|
||||
"parameters": {
|
||||
"input_image": {"node_id": 1, "type": "image", "required": true},
|
||||
"steps": {"node_id": 3, "type": "integer", "default": 30},
|
||||
"frames": {"node_id": 3, "type": "integer", "default": 25, "description": "Number of output frames"},
|
||||
"motion_bucket": {"node_id": 3, "type": "integer", "default": 127}
|
||||
"tags": [
|
||||
"svd-xt",
|
||||
"stable-video-diffusion",
|
||||
"i2v",
|
||||
"extended",
|
||||
"production"
|
||||
],
|
||||
"requirements": {
|
||||
"models": [
|
||||
"stable-video-diffusion-img2vid-xt"
|
||||
],
|
||||
"custom_nodes": [
|
||||
"ComfyUI-VideoHelperSuite"
|
||||
],
|
||||
"vram_min": "18GB"
|
||||
},
|
||||
"performance": {"avg_generation_time": "40-55 seconds", "vram_usage": "~16-18GB", "output": "25 frames (~4.2s @ 6fps)"}
|
||||
"parameters": {
|
||||
"input_image": {
|
||||
"node_id": 1,
|
||||
"type": "image",
|
||||
"required": true
|
||||
},
|
||||
"steps": {
|
||||
"node_id": 3,
|
||||
"type": "integer",
|
||||
"default": 30
|
||||
},
|
||||
"frames": {
|
||||
"node_id": 3,
|
||||
"type": "integer",
|
||||
"default": 25,
|
||||
"description": "Number of output frames"
|
||||
},
|
||||
"motion_bucket": {
|
||||
"node_id": 3,
|
||||
"type": "integer",
|
||||
"default": 127
|
||||
}
|
||||
},
|
||||
"performance": {
|
||||
"avg_generation_time": "40-55 seconds",
|
||||
"vram_usage": "~16-18GB",
|
||||
"output": "25 frames (~4.2s @ 6fps)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"version": 0.4
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user