- Change CogVideoXSampler -> CogVideoSampler - Change DiffusersLoader -> DownloadAndLoadCogVideoModel - Change CLIPTextEncode -> CogVideoTextEncode - Change VAEDecode -> CogVideoDecode - Update model path to THUDM/CogVideoX-5b-I2V - Fix sampler parameters: [seed, scheduler, num_frames, steps, cfg] - Add CogVideoDecode tiling parameters Note: Workflow still needs proper node connections (links array is empty)
207 lines
4.1 KiB
JSON
207 lines
4.1 KiB
JSON
{
|
|
"last_node_id": 10,
|
|
"last_link_id": 12,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
50,
|
|
100
|
|
],
|
|
"size": [
|
|
315,
|
|
314
|
|
],
|
|
"widgets_values": [
|
|
"input_frame.png",
|
|
"image"
|
|
],
|
|
"title": "API Input Image",
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "DownloadAndLoadCogVideoModel",
|
|
"pos": [
|
|
50,
|
|
500
|
|
],
|
|
"widgets_values": [
|
|
"THUDM/CogVideoX-5b-I2V"
|
|
],
|
|
"title": "CogVideoX-5b Loader",
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"properties": {
|
|
"Node name for S&R": "DownloadAndLoadCogVideoModel"
|
|
},
|
|
"size": {
|
|
"0": 350,
|
|
"1": 100
|
|
}
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "CogVideoTextEncode",
|
|
"pos": [
|
|
450,
|
|
100
|
|
],
|
|
"widgets_values": [
|
|
"Camera movement description, action, scene details"
|
|
],
|
|
"title": "API Video Prompt",
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"properties": {
|
|
"Node name for S&R": "CogVideoTextEncode"
|
|
},
|
|
"size": {
|
|
"0": 400,
|
|
"1": 200
|
|
}
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "CogVideoSampler",
|
|
"pos": [
|
|
800,
|
|
100
|
|
],
|
|
"widgets_values": [
|
|
42,
|
|
"CogVideoXDDIM",
|
|
49,
|
|
50,
|
|
6.0
|
|
],
|
|
"title": "CogVideoX Sampler (6s @ 8fps)",
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"properties": {
|
|
"Node name for S&R": "CogVideoSampler"
|
|
},
|
|
"size": {
|
|
"0": 315,
|
|
"1": 474
|
|
}
|
|
},
|
|
{
|
|
"id": 5,
|
|
"type": "CogVideoDecode",
|
|
"pos": [
|
|
1150,
|
|
100
|
|
],
|
|
"title": "VAE Decode Video",
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"properties": {
|
|
"Node name for S&R": "CogVideoDecode"
|
|
},
|
|
"widgets_values": [
|
|
true,
|
|
240,
|
|
360,
|
|
0.25,
|
|
0.25
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 100
|
|
}
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": "VHS_VideoCombine",
|
|
"pos": [
|
|
1450,
|
|
100
|
|
],
|
|
"widgets_values": [
|
|
8,
|
|
0,
|
|
"cogvideox_output",
|
|
"video/h264-mp4"
|
|
],
|
|
"title": "Combine Video Frames",
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"properties": {
|
|
"Node name for S&R": "VHS_VideoCombine"
|
|
},
|
|
"size": {
|
|
"0": 315,
|
|
"1": 100
|
|
}
|
|
}
|
|
],
|
|
"links": [],
|
|
"extra": {
|
|
"workflow_info": {
|
|
"name": "CogVideoX Image-to-Video Production",
|
|
"version": "1.0.0",
|
|
"description": "AI-driven image-to-video using CogVideoX-5b. Generate 6-second videos (48 frames @ 8fps) from input images with camera movement and action.",
|
|
"category": "image-to-video",
|
|
"tags": [
|
|
"cogvideox",
|
|
"i2v",
|
|
"video-generation",
|
|
"production"
|
|
],
|
|
"requirements": {
|
|
"models": [
|
|
"CogVideoX-5b"
|
|
],
|
|
"custom_nodes": [
|
|
"ComfyUI-VideoHelperSuite",
|
|
"ComfyUI-CogVideoXWrapper"
|
|
],
|
|
"vram_min": "20GB"
|
|
},
|
|
"parameters": {
|
|
"input_image": {
|
|
"node_id": 1,
|
|
"type": "image",
|
|
"required": true,
|
|
"description": "Starting frame for video"
|
|
},
|
|
"video_prompt": {
|
|
"node_id": 3,
|
|
"type": "string",
|
|
"required": true,
|
|
"description": "Describe camera movement and action"
|
|
},
|
|
"steps": {
|
|
"node_id": 4,
|
|
"type": "integer",
|
|
"default": 50,
|
|
"description": "Sampling steps (50 recommended)"
|
|
},
|
|
"fps": {
|
|
"node_id": 6,
|
|
"type": "integer",
|
|
"default": 8,
|
|
"description": "Output framerate"
|
|
}
|
|
},
|
|
"performance": {
|
|
"avg_generation_time": "120-180 seconds",
|
|
"vram_usage": "~20-22GB",
|
|
"output": "6 seconds @ 8fps (48 frames)"
|
|
}
|
|
}
|
|
},
|
|
"version": 0.4
|
|
} |