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": "LoadVideo",
"inputs": { "file": "input.mp4" },
"_meta": { "title": "Clip (video)" }
},
"2": {
"class_type": "GetVideoComponents",
"inputs": { "video": ["1", 0] },
"_meta": { "title": "Frames, sound, fps" }
},
"3": {
"class_type": "ImageFromBatch",
"inputs": { "image": ["2", 0], "batch_index": -1, "length": 1 },
"_meta": { "title": "Last frame" }
},
"4": {
"class_type": "ImageBatch",
"inputs": { "image1": ["2", 0], "image2": ["3", 0] },
"_meta": { "title": "Last frame held once more (the in-betweens after it keep the clip's length)" }
},
"5": {
"class_type": "FrameInterpolationModelLoader",
"inputs": { "model_name": "rife_v4.26.safetensors" },
"_meta": { "title": "Interpolation model (checkpoint: RIFE 4.26 or FILM)" }
},
"6": {
"class_type": "PrimitiveInt",
"inputs": { "value": 2 },
"_meta": { "title": "m: frames made per source frame (multiplier, 2-16)" }
},
"7": {
"class_type": "FrameInterpolate",
"inputs": { "interp_model": ["5", 0], "images": ["4", 0], "multiplier": ["6", 0] },
"_meta": { "title": "Interpolate by m" }
},
"8": {
"class_type": "PrimitiveInt",
"inputs": { "value": 1 },
"_meta": { "title": "n: keep every n-th frame (every)" }
},
"9": {
"class_type": "VHS_SelectEveryNthImage",
"inputs": { "images": ["7", 0], "select_every_nth": ["8", 0], "skip_first_images": 0 },
"_meta": { "title": "Keep every n-th frame (source fps x m / n = the target)" }
},
"10": {
"class_type": "PrimitiveFloat",
"inputs": { "value": 1 },
"_meta": { "title": "Slow motion factor (slowdown, 1 = same speed)" }
},
"11": {
"class_type": "ComfyMathExpression",
"inputs": { "expression": "a * b / (c * d)", "values.a": ["2", 2], "values.b": ["6", 0], "values.c": ["8", 0], "values.d": ["10", 0] },
"_meta": { "title": "Output fps = source fps x m / (n x slowdown)" }
},
"12": {
"class_type": "CreateVideo",
"inputs": { "images": ["9", 0], "fps": ["11", 0], "audio": ["2", 1], "bit_depth": "auto", "color_space": "sRGB", "codec": "none" },
"_meta": { "title": "Video at the target frame rate (sound dropped by the provider for slow motion)" }
},
"13": {
"class_type": "SaveVideo",
"inputs": { "video": ["12", 0], "filename_prefix": "fuobe/interpolate-rife-fps", "format": "auto", "format.codec": "auto", "codec": "auto" },
"_meta": { "title": "Save" }
}
}