The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
{
"1": {
"class_type": "VHS_LoadVideoFFmpeg",
"inputs": {
"video": "input.mp4",
"force_rate": 24,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 1,
"start_time": 0,
"format": "None"
},
"_meta": {
"title": "1 · Source video — first selected frame"
}
},
"2": {
"class_type": "ImageFromBatch",
"inputs": {
"image": [
"1",
0
],
"batch_index": 0,
"length": 1
},
"_meta": {
"title": "Raw first frame"
}
},
"3": {
"class_type": "ImageScale",
"inputs": {
"image": [
"2",
0
],
"upscale_method": "lanczos",
"width": 768,
"height": 1376,
"crop": "center"
},
"_meta": {
"title": "Image 2 · First frame / pose and body cut"
}
},
"4": {
"class_type": "LoadImage",
"inputs": {
"image": "example.png"
},
"_meta": {
"title": "2 · Image 1 / character and background"
}
},
"5": {
"class_type": "ImageScale",
"inputs": {
"image": [
"4",
0
],
"upscale_method": "lanczos",
"width": 768,
"height": 1376,
"crop": "center"
},
"_meta": {
"title": "Image 1 · Character / editor canvas"
}
},
"6": {
"class_type": "PrimitiveStringMultiline",
"inputs": {
"value": "Show the character from <image 1> in exactly the pose, head angle and body cut of the person in <image 2>, in the same setting, background and light as <image 1>."
},
"_meta": {
"title": "Edit request · image 1 character / image 2 raw frame"
}
},
"7": {
"class_type": "ImageBatch",
"inputs": {
"image1": [
"5",
0
],
"image2": [
"3",
0
]
},
"_meta": {
"title": "Character first, raw frame second"
}
},
"8": {
"class_type": "ImageScaleToMaxDimension",
"inputs": {
"image": [
"7",
0
],
"largest_size": 768,
"upscale_method": "area"
},
"_meta": {
"title": "Images for the prompt upsampler"
}
},
"9": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen3.5_9b_flux3_prompt_upsampler_int8_convrot.safetensors",
"type": "flux3",
"device": "default"
},
"_meta": {
"title": "FLUX 3 image-edit prompt upsampler"
}
},
"10": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "flux3-image-klein-int8-convrot.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "FLUX 3 Image Klein SD"
}
},
"11": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen3vl_4b_int8_convrot.safetensors",
"type": "flux3",
"device": "default"
},
"_meta": {
"title": "FLUX 3 text encoder"
}
},
"12": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "flux2-vae.safetensors"
},
"_meta": {
"title": "FLUX VAE"
}
},
"13": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"11",
0
],
"text": [
"23",
0
]
},
"_meta": {
"title": "Expanded FLUX editing instruction"
}
},
"14": {
"class_type": "ConditioningZeroOut",
"inputs": {
"conditioning": [
"13",
0
]
},
"_meta": {
"title": "Empty negative"
}
},
"15": {
"class_type": "ReferenceMultiLatent",
"inputs": {
"positive": [
"13",
0
],
"negative": [
"14",
0
],
"vae": [
"12",
0
],
"resolution": "keep resolution",
"images.image0": [
"5",
0
],
"images.image1": [
"3",
0
]
},
"_meta": {
"title": "Both raw image references reach FLUX"
}
},
"19": {
"class_type": "KSampler",
"inputs": {
"model": [
"10",
0
],
"seed": 0,
"steps": 16,
"cfg": 1,
"sampler_name": "euler",
"scheduler": "simple",
"denoise": 1,
"positive": [
"15",
0
],
"negative": [
"15",
1
],
"latent_image": [
"15",
2
]
},
"_meta": {
"title": "Prepare pose · FLUX 3"
}
},
"20": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"19",
0
],
"vae": [
"12",
0
]
},
"_meta": {
"title": "Prepared first frame"
}
},
"21": {
"class_type": "SaveImage",
"inputs": {
"images": [
"20",
0
],
"filename_prefix": "openjutsu_picture/flux3/prepared_frame"
},
"_meta": {
"title": "3 · Save prepared first frame"
}
},
"22": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"3",
0
]
},
"_meta": {
"title": "Raw first frame — compare composition"
}
},
"23": {
"class_type": "TextGenerate",
"inputs": {
"clip": [
"9",
0
],
"image": [
"8",
0
],
"prompt": [
"6",
0
],
"system_prompt": [
"25",
0
],
"max_length": 700,
"sampling_mode": "off",
"thinking": false,
"use_default_template": true,
"mtp": "off"
},
"_meta": {
"title": "Describe the raw frame's pose for the edit"
}
},
"24": {
"class_type": "PreviewAny",
"inputs": {
"source": [
"23",
0
]
},
"_meta": {
"title": "Expanded editing instruction"
}
},
"25": {
"class_type": "PrimitiveStringMultiline",
"inputs": {
"value": "You are an image-editing prompt upsampler. The attached images are ordered: image 1 is the character image and image 2 is the raw first frame from a video. Expand the user's request into one precise editing instruction. Keep every requested constraint. Use gender-neutral wording such as 'the character'; do not add a fixed gender.\n\nImage 1 supplies the identity, hairstyle, complete outfit, background and lighting. Image 2 supplies only the starting body pose, head orientation, arm positions, hand positions, leg positions, camera perspective, relative character size, position within the frame and body cut. Describe those pose and framing changes concretely from image 2. Replace the original pose of image 1 instead of retaining it. Keep the character and the background of image 1; do not copy the identity, hairstyle, clothes, props, setting or colors of image 2, and do not add extra objects. Describe the intended still image, not later video movements. Output only one English editing instruction, without Markdown or explanation."
},
"_meta": {
"title": "Image-edit prompt expansion rules"
}
}
}