Instructions to use MATLOWAI/MiniMax-H3-Motion-Adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use MATLOWAI/MiniMax-H3-Motion-Adapter with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("MiniMaxAI/MiniMax-H3", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("MATLOWAI/MiniMax-H3-Motion-Adapter") prompt = "A man with short gray hair plays a red electric guitar." input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png") output = pipe(image=input_image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Download examples/fight_quad/adapter.canvas.json from MATLOWAI/MiniMax-H3-Motion-Adapter: direct link, hf CLI and curl.
- Browser
- Download file 32.2 kB
-
https://huggingface.co/MATLOWAI/MiniMax-H3-Motion-Adapter/resolve/main/examples/fight_quad/adapter.canvas.json
- Command line
-
hf download hf://MATLOWAI/MiniMax-H3-Motion-Adapter/examples/fight_quad/adapter.canvas.json
-
curl -L -o adapter.canvas.json https://huggingface.co/MATLOWAI/MiniMax-H3-Motion-Adapter/resolve/main/examples/fight_quad/adapter.canvas.json
32.2 kB
| { | |
| "id": "bbad0469-132f-42e3-b73f-b6ee10344526", | |
| "revision": 0, | |
| "last_node_id": 701, | |
| "last_link_id": 39, | |
| "nodes": [ | |
| { | |
| "id": 119, | |
| "type": "VAELoader", | |
| "pos": [ | |
| 60, | |
| 540 | |
| ], | |
| "size": [ | |
| 340, | |
| 98 | |
| ], | |
| "flags": {}, | |
| "order": 0, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "VAE", | |
| "type": "VAE", | |
| "links": [ | |
| 3, | |
| 15, | |
| 18, | |
| 31 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "VAE / H3 video decoder", | |
| "properties": { | |
| "Node name for S&R": "VAELoader" | |
| }, | |
| "widgets_values": [ | |
| "minimax_h3/minimax_h3_video_vae_fp16.safetensors" | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 127, | |
| "type": "UNETLoader", | |
| "pos": [ | |
| 60, | |
| 678 | |
| ], | |
| "size": [ | |
| 340, | |
| 126 | |
| ], | |
| "flags": {}, | |
| "order": 1, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "MODEL", | |
| "type": "MODEL", | |
| "links": [ | |
| 4 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "H3 BASE / INT8 diffusion model", | |
| "properties": { | |
| "Node name for S&R": "UNETLoader" | |
| }, | |
| "widgets_values": [ | |
| "minimax_h3/minimax_h3_fl2va_pruned_int8_convrot.safetensors", | |
| "default" | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 128, | |
| "type": "CLIPLoader", | |
| "pos": [ | |
| 60, | |
| 844 | |
| ], | |
| "size": [ | |
| 340, | |
| 154 | |
| ], | |
| "flags": {}, | |
| "order": 2, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "CLIP", | |
| "type": "CLIP", | |
| "links": [ | |
| 2 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "TEXT ENCODER / Qwen3-VL", | |
| "properties": { | |
| "Node name for S&R": "CLIPLoader" | |
| }, | |
| "widgets_values": [ | |
| "minimax_h3/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors", | |
| "minimax", | |
| "default" | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 135, | |
| "type": "KSamplerSelect", | |
| "pos": [ | |
| 60, | |
| 1038 | |
| ], | |
| "size": [ | |
| 340, | |
| 98 | |
| ], | |
| "flags": {}, | |
| "order": 3, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "SAMPLER", | |
| "type": "SAMPLER", | |
| "links": [ | |
| 27 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "KSamplerSelect", | |
| "properties": { | |
| "Node name for S&R": "KSamplerSelect" | |
| }, | |
| "widgets_values": [ | |
| "gradient_estimation" | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 400, | |
| "type": "LoadVideo", | |
| "pos": [ | |
| 60, | |
| 1176 | |
| ], | |
| "size": [ | |
| 340, | |
| 98 | |
| ], | |
| "flags": {}, | |
| "order": 4, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "VIDEO", | |
| "type": "VIDEO", | |
| "links": [ | |
| 1 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "SOURCE / original fight plate", | |
| "properties": { | |
| "Node name for S&R": "LoadVideo" | |
| }, | |
| "widgets_values": [ | |
| "seedhunt_20260963_00001_.mp4" | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 523, | |
| "type": "RandomNoise", | |
| "pos": [ | |
| 60, | |
| 1314 | |
| ], | |
| "size": [ | |
| 340, | |
| 126 | |
| ], | |
| "flags": {}, | |
| "order": 5, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "NOISE", | |
| "type": "NOISE", | |
| "links": [ | |
| 25 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "SEED / fixed for comparison", | |
| "properties": { | |
| "Node name for S&R": "RandomNoise" | |
| }, | |
| "widgets_values": [ | |
| 20260817, | |
| "fixed" | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 700, | |
| "type": "PrimitiveStringMultiline", | |
| "pos": [ | |
| 60, | |
| 1480 | |
| ], | |
| "size": [ | |
| 340, | |
| 98 | |
| ], | |
| "flags": {}, | |
| "order": 6, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "STRING", | |
| "type": "STRING", | |
| "links": [ | |
| 21 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "HISTORICAL HOLD MAP / keep unchanged", | |
| "properties": { | |
| "Node name for S&R": "PrimitiveStringMultiline" | |
| }, | |
| "widgets_values": [ | |
| "{\"holds\": [1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], \"world_len\": 56}" | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 401, | |
| "type": "GetVideoComponents", | |
| "pos": [ | |
| 450, | |
| 540 | |
| ], | |
| "size": [ | |
| 340, | |
| 94 | |
| ], | |
| "flags": {}, | |
| "order": 7, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "video", | |
| "type": "VIDEO", | |
| "link": 1 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "images", | |
| "type": "IMAGE", | |
| "links": [ | |
| 6 | |
| ], | |
| "slot_index": 0 | |
| }, | |
| { | |
| "name": "audio", | |
| "type": "AUDIO", | |
| "links": [ | |
| 8 | |
| ], | |
| "slot_index": 1 | |
| }, | |
| { | |
| "name": "fps", | |
| "type": "FLOAT", | |
| "links": [ | |
| 7 | |
| ], | |
| "slot_index": 2 | |
| }, | |
| { | |
| "name": "bit_depth", | |
| "type": "COMBO", | |
| "links": null, | |
| "slot_index": 3 | |
| }, | |
| { | |
| "name": "color_space", | |
| "type": "COMBO", | |
| "links": null, | |
| "slot_index": 4 | |
| } | |
| ], | |
| "title": "GetVideoComponents", | |
| "properties": { | |
| "Node name for S&R": "GetVideoComponents" | |
| }, | |
| "widgets_values": [], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 524, | |
| "type": "MiniMaxH3ImageToVideo", | |
| "pos": [ | |
| 450, | |
| 674 | |
| ], | |
| "size": [ | |
| 340, | |
| 500 | |
| ], | |
| "flags": {}, | |
| "order": 8, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "clip", | |
| "type": "CLIP", | |
| "link": 2 | |
| }, | |
| { | |
| "name": "vae", | |
| "type": "VAE", | |
| "link": 3 | |
| }, | |
| { | |
| "name": "first_frame", | |
| "type": "IMAGE", | |
| "link": null | |
| }, | |
| { | |
| "name": "last_frame", | |
| "type": "IMAGE", | |
| "link": null | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "positive", | |
| "type": "CONDITIONING", | |
| "links": [ | |
| 16 | |
| ], | |
| "slot_index": 0 | |
| }, | |
| { | |
| "name": "LATENT", | |
| "type": "LATENT", | |
| "links": [ | |
| 17 | |
| ], | |
| "slot_index": 1 | |
| } | |
| ], | |
| "title": "MiniMaxH3ImageToVideo", | |
| "properties": { | |
| "Node name for S&R": "MiniMaxH3ImageToVideo" | |
| }, | |
| "widgets_values": [ | |
| "a 15-second hyper-realistic cinematic underground martial arts fight. A skilled Asian female fighter wearing an elegant dark blue and gold dragon cheongsam battles a massive muscular bodyguard dressed entirely in black inside a dark abandoned industrial basement. Start with a tense slow cinematic dolly-in, flickering warm yellow lights, wet reflective floor, hanging cables, smoke and dust in the air. The bodyguard suddenly charges and throws a powerful punch. She narrowly ducks, and his fist smashes into a concrete pillar, producing debris and dust. She counters with a fast spinning kick to his ribs, creating a powerful air shockwave and water splash. He catches her leg and throws her, but she performs an acrobatic mid-air flip and lands gracefully with one hand. She then rushes forward with a rapid three-hit martial arts combination. A subtle golden dragon-shaped energy trail surrounds her final palm strike. The impact creates a massive cinematic shockwave, sparks, flying dust, flickering lights and realistic camera shake. The bodyguard is thrown backward. End with a dramatic close-up of the female fighter as the lights flicker and the screen cuts to black. Realistic human movement, consistent faces and clothing, intense choreography, cinematic lighting, speed ramping, dynamic camera movement, realistic motion blur, no slow or floating movement, no cartoon style", | |
| 1152, | |
| 640, | |
| 107 | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 600, | |
| "type": "LoraLoaderModelOnly", | |
| "pos": [ | |
| 450, | |
| 1112 | |
| ], | |
| "size": [ | |
| 340, | |
| 150 | |
| ], | |
| "flags": {}, | |
| "order": 9, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "model", | |
| "type": "MODEL", | |
| "link": 4 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "MODEL", | |
| "type": "MODEL", | |
| "links": [ | |
| 5 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "ADAPTER STRENGTH / historical winner 0.75", | |
| "properties": { | |
| "Node name for S&R": "LoraLoaderModelOnly" | |
| }, | |
| "widgets_values": [ | |
| "minimax_h3/minimax_h3_motion_adapter_pilot_r16.safetensors", | |
| 0.75 | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 300, | |
| "type": "PathchSageAttentionKJ", | |
| "pos": [ | |
| 840, | |
| 540 | |
| ], | |
| "size": [ | |
| 340, | |
| 150 | |
| ], | |
| "flags": {}, | |
| "order": 10, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "model", | |
| "type": "MODEL", | |
| "link": 5 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "MODEL", | |
| "type": "MODEL", | |
| "links": [ | |
| 9 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "PathchSageAttentionKJ", | |
| "properties": { | |
| "Node name for S&R": "PathchSageAttentionKJ" | |
| }, | |
| "widgets_values": [ | |
| "auto", | |
| false | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 402, | |
| "type": "H3VideoFit", | |
| "pos": [ | |
| 840, | |
| 730 | |
| ], | |
| "size": [ | |
| 340, | |
| 226 | |
| ], | |
| "flags": {}, | |
| "order": 11, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "images", | |
| "type": "IMAGE", | |
| "link": 6 | |
| }, | |
| { | |
| "name": "fps", | |
| "type": "FLOAT", | |
| "link": 7, | |
| "widget": { | |
| "name": "fps" | |
| } | |
| }, | |
| { | |
| "name": "audio", | |
| "type": "AUDIO", | |
| "link": 8 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "images", | |
| "type": "IMAGE", | |
| "links": [ | |
| 10, | |
| 11, | |
| 12 | |
| ], | |
| "slot_index": 0 | |
| }, | |
| { | |
| "name": "length", | |
| "type": "INT", | |
| "links": null, | |
| "slot_index": 1 | |
| }, | |
| { | |
| "name": "audio", | |
| "type": "AUDIO", | |
| "links": [ | |
| 38 | |
| ], | |
| "slot_index": 2 | |
| }, | |
| { | |
| "name": "report", | |
| "type": "STRING", | |
| "links": null, | |
| "slot_index": 3 | |
| } | |
| ], | |
| "title": "H3VideoFit", | |
| "properties": { | |
| "Node name for S&R": "H3VideoFit" | |
| }, | |
| "widgets_values": [ | |
| "trim tail (default)", | |
| 0, | |
| 24.0 | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 301, | |
| "type": "MiniMaxH3MemoryEfficientSageAttentionPatch", | |
| "pos": [ | |
| 1230, | |
| 540 | |
| ], | |
| "size": [ | |
| 340, | |
| 94 | |
| ], | |
| "flags": {}, | |
| "order": 12, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "model", | |
| "type": "MODEL", | |
| "link": 9 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "model", | |
| "type": "MODEL", | |
| "links": [ | |
| 13 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "MiniMaxH3MemoryEfficientSageAttentionPatch", | |
| "properties": { | |
| "Node name for S&R": "MiniMaxH3MemoryEfficientSageAttentionPatch" | |
| }, | |
| "widgets_values": [], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 405, | |
| "type": "ImageFromBatch", | |
| "pos": [ | |
| 1230, | |
| 674 | |
| ], | |
| "size": [ | |
| 340, | |
| 150 | |
| ], | |
| "flags": {}, | |
| "order": 13, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "image", | |
| "type": "IMAGE", | |
| "link": 10 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "links": [ | |
| 19 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "ImageFromBatch", | |
| "properties": { | |
| "Node name for S&R": "ImageFromBatch" | |
| }, | |
| "widgets_values": [ | |
| 123, | |
| 1 | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 410, | |
| "type": "ImageFromBatch", | |
| "pos": [ | |
| 1230, | |
| 864 | |
| ], | |
| "size": [ | |
| 340, | |
| 150 | |
| ], | |
| "flags": {}, | |
| "order": 14, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "image", | |
| "type": "IMAGE", | |
| "link": 11 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "links": [ | |
| 14 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "ImageFromBatch", | |
| "properties": { | |
| "Node name for S&R": "ImageFromBatch" | |
| }, | |
| "widgets_values": [ | |
| 68, | |
| 56 | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 411, | |
| "type": "ImageFromBatch", | |
| "pos": [ | |
| 1230, | |
| 1054 | |
| ], | |
| "size": [ | |
| 340, | |
| 150 | |
| ], | |
| "flags": {}, | |
| "order": 15, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "image", | |
| "type": "IMAGE", | |
| "link": 12 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "links": [ | |
| 35 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "ImageFromBatch", | |
| "properties": { | |
| "Node name for S&R": "ImageFromBatch" | |
| }, | |
| "widgets_values": [ | |
| 0, | |
| 68 | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 302, | |
| "type": "MiniMaxChunkFeedForward", | |
| "pos": [ | |
| 1620, | |
| 540 | |
| ], | |
| "size": [ | |
| 340, | |
| 150 | |
| ], | |
| "flags": {}, | |
| "order": 16, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "model", | |
| "type": "MODEL", | |
| "link": 13 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "model", | |
| "type": "MODEL", | |
| "links": [ | |
| 22, | |
| 23 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "MiniMaxChunkFeedForward", | |
| "properties": { | |
| "Node name for S&R": "MiniMaxChunkFeedForward" | |
| }, | |
| "widgets_values": [ | |
| 2, | |
| 65536 | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 403, | |
| "type": "VAEEncode", | |
| "pos": [ | |
| 1620, | |
| 730 | |
| ], | |
| "size": [ | |
| 340, | |
| 118 | |
| ], | |
| "flags": {}, | |
| "order": 17, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "pixels", | |
| "type": "IMAGE", | |
| "link": 14 | |
| }, | |
| { | |
| "name": "vae", | |
| "type": "VAE", | |
| "link": 15 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "LATENT", | |
| "type": "LATENT", | |
| "links": [ | |
| 20 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "VAEEncode", | |
| "properties": { | |
| "Node name for S&R": "VAEEncode" | |
| }, | |
| "widgets_values": [], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 406, | |
| "type": "MiniMaxH3AddGuide", | |
| "pos": [ | |
| 1620, | |
| 888 | |
| ], | |
| "size": [ | |
| 340, | |
| 242 | |
| ], | |
| "flags": {}, | |
| "order": 18, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "positive", | |
| "type": "CONDITIONING", | |
| "link": 16 | |
| }, | |
| { | |
| "name": "latent", | |
| "type": "LATENT", | |
| "link": 17 | |
| }, | |
| { | |
| "name": "vae", | |
| "type": "VAE", | |
| "link": 18 | |
| }, | |
| { | |
| "name": "audio_vae", | |
| "type": "VAE", | |
| "link": null | |
| }, | |
| { | |
| "name": "image", | |
| "type": "IMAGE", | |
| "link": 19 | |
| }, | |
| { | |
| "name": "audio", | |
| "type": "AUDIO", | |
| "link": null | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "positive", | |
| "type": "CONDITIONING", | |
| "links": [ | |
| 24 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "MiniMaxH3AddGuide", | |
| "properties": { | |
| "Node name for S&R": "MiniMaxH3AddGuide" | |
| }, | |
| "widgets_values": [ | |
| 105 | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 404, | |
| "type": "H3TemporalInsert", | |
| "pos": [ | |
| 2010, | |
| 540 | |
| ], | |
| "size": [ | |
| 340, | |
| 286 | |
| ], | |
| "flags": {}, | |
| "order": 19, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "samples", | |
| "type": "LATENT", | |
| "link": 20 | |
| }, | |
| { | |
| "name": "hold_map", | |
| "type": "STRING", | |
| "link": 21, | |
| "widget": { | |
| "name": "hold_map" | |
| } | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "samples", | |
| "type": "LATENT", | |
| "links": [ | |
| 29 | |
| ], | |
| "slot_index": 0 | |
| }, | |
| { | |
| "name": "noise_mask", | |
| "type": "LATENT", | |
| "links": null, | |
| "slot_index": 1 | |
| }, | |
| { | |
| "name": "hold_map", | |
| "type": "STRING", | |
| "links": [ | |
| 33 | |
| ], | |
| "slot_index": 2 | |
| }, | |
| { | |
| "name": "report", | |
| "type": "STRING", | |
| "links": null, | |
| "slot_index": 3 | |
| } | |
| ], | |
| "title": "H3TemporalInsert", | |
| "properties": { | |
| "Node name for S&R": "H3TemporalInsert" | |
| }, | |
| "widgets_values": [ | |
| "", | |
| "lerp", | |
| false, | |
| 0, | |
| 0, | |
| 0.0 | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 522, | |
| "type": "H3InjectSchedule", | |
| "pos": [ | |
| 2010, | |
| 866 | |
| ], | |
| "size": [ | |
| 340, | |
| 206 | |
| ], | |
| "flags": {}, | |
| "order": 20, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "model", | |
| "type": "MODEL", | |
| "link": 22 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "SIGMAS", | |
| "type": "SIGMAS", | |
| "links": [ | |
| 28 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "INJECT / regeneration strength", | |
| "properties": { | |
| "Node name for S&R": "H3InjectSchedule" | |
| }, | |
| "widgets_values": [ | |
| "beta", | |
| 25, | |
| 0.3, | |
| "custom" | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 525, | |
| "type": "BasicGuider", | |
| "pos": [ | |
| 2010, | |
| 1112 | |
| ], | |
| "size": [ | |
| 340, | |
| 118 | |
| ], | |
| "flags": {}, | |
| "order": 21, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "model", | |
| "type": "MODEL", | |
| "link": 23 | |
| }, | |
| { | |
| "name": "conditioning", | |
| "type": "CONDITIONING", | |
| "link": 24 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "GUIDER", | |
| "type": "GUIDER", | |
| "links": [ | |
| 26 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "BasicGuider", | |
| "properties": { | |
| "Node name for S&R": "BasicGuider" | |
| }, | |
| "widgets_values": [], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 526, | |
| "type": "SamplerCustomAdvanced", | |
| "pos": [ | |
| 2400, | |
| 540 | |
| ], | |
| "size": [ | |
| 340, | |
| 190 | |
| ], | |
| "flags": {}, | |
| "order": 22, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "noise", | |
| "type": "NOISE", | |
| "link": 25 | |
| }, | |
| { | |
| "name": "guider", | |
| "type": "GUIDER", | |
| "link": 26 | |
| }, | |
| { | |
| "name": "sampler", | |
| "type": "SAMPLER", | |
| "link": 27 | |
| }, | |
| { | |
| "name": "sigmas", | |
| "type": "SIGMAS", | |
| "link": 28 | |
| }, | |
| { | |
| "name": "latent_image", | |
| "type": "LATENT", | |
| "link": 29 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "output", | |
| "type": "LATENT", | |
| "links": [ | |
| 30 | |
| ], | |
| "slot_index": 0 | |
| }, | |
| { | |
| "name": "denoised_output", | |
| "type": "LATENT", | |
| "links": null, | |
| "slot_index": 1 | |
| } | |
| ], | |
| "title": "REGENERATE / H3 sampling", | |
| "properties": { | |
| "Node name for S&R": "SamplerCustomAdvanced" | |
| }, | |
| "widgets_values": [], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 530, | |
| "type": "VAEDecode", | |
| "pos": [ | |
| 2790, | |
| 540 | |
| ], | |
| "size": [ | |
| 340, | |
| 118 | |
| ], | |
| "flags": {}, | |
| "order": 23, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "samples", | |
| "type": "LATENT", | |
| "link": 30 | |
| }, | |
| { | |
| "name": "vae", | |
| "type": "VAE", | |
| "link": 31 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "links": [ | |
| 32 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "VAEDecode", | |
| "properties": { | |
| "Node name for S&R": "VAEDecode" | |
| }, | |
| "widgets_values": [], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 531, | |
| "type": "H3ExactRecover", | |
| "pos": [ | |
| 3180, | |
| 540 | |
| ], | |
| "size": [ | |
| 340, | |
| 146 | |
| ], | |
| "flags": {}, | |
| "order": 24, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "images", | |
| "type": "IMAGE", | |
| "link": 32 | |
| }, | |
| { | |
| "name": "hold_map", | |
| "type": "STRING", | |
| "link": 33, | |
| "widget": { | |
| "name": "hold_map" | |
| } | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "links": [ | |
| 34 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "RECOVER / return to real time", | |
| "properties": { | |
| "Node name for S&R": "H3ExactRecover" | |
| }, | |
| "widgets_values": [ | |
| "" | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 413, | |
| "type": "H3TimeSmear", | |
| "pos": [ | |
| 3570, | |
| 540 | |
| ], | |
| "size": [ | |
| 340, | |
| 290 | |
| ], | |
| "flags": {}, | |
| "order": 25, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "images", | |
| "type": "IMAGE", | |
| "link": 34 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "images", | |
| "type": "IMAGE", | |
| "links": [ | |
| 36 | |
| ], | |
| "slot_index": 0 | |
| }, | |
| { | |
| "name": "hold_map_used", | |
| "type": "STRING", | |
| "links": null, | |
| "slot_index": 1 | |
| }, | |
| { | |
| "name": "length", | |
| "type": "INT", | |
| "links": null, | |
| "slot_index": 2 | |
| }, | |
| { | |
| "name": "report", | |
| "type": "STRING", | |
| "links": null, | |
| "slot_index": 3 | |
| } | |
| ], | |
| "title": "H3TimeSmear", | |
| "properties": { | |
| "Node name for S&R": "H3TimeSmear" | |
| }, | |
| "widgets_values": [ | |
| 1, | |
| "", | |
| false, | |
| 24, | |
| 0.0, | |
| 18, | |
| 6.7 | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 412, | |
| "type": "ImageBatch", | |
| "pos": [ | |
| 3960, | |
| 540 | |
| ], | |
| "size": [ | |
| 340, | |
| 118 | |
| ], | |
| "flags": {}, | |
| "order": 26, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "image1", | |
| "type": "IMAGE", | |
| "link": 35 | |
| }, | |
| { | |
| "name": "image2", | |
| "type": "IMAGE", | |
| "link": 36 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "links": [ | |
| 37 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "SPLICE / original head + regenerated window", | |
| "properties": { | |
| "Node name for S&R": "ImageBatch" | |
| }, | |
| "widgets_values": [], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 540, | |
| "type": "CreateVideo", | |
| "pos": [ | |
| 4350, | |
| 540 | |
| ], | |
| "size": [ | |
| 340, | |
| 230 | |
| ], | |
| "flags": {}, | |
| "order": 27, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "images", | |
| "type": "IMAGE", | |
| "link": 37 | |
| }, | |
| { | |
| "name": "audio", | |
| "type": "AUDIO", | |
| "link": 38 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "VIDEO", | |
| "type": "VIDEO", | |
| "links": [ | |
| 39 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "CreateVideo", | |
| "properties": { | |
| "Node name for S&R": "CreateVideo" | |
| }, | |
| "widgets_values": [ | |
| 24, | |
| 8, | |
| "sRGB", | |
| "none" | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 541, | |
| "type": "SaveVideo", | |
| "pos": [ | |
| 4740, | |
| 540 | |
| ], | |
| "size": [ | |
| 340, | |
| 178 | |
| ], | |
| "flags": {}, | |
| "order": 28, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "video", | |
| "type": "VIDEO", | |
| "link": 39 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "video", | |
| "type": "VIDEO", | |
| "links": null, | |
| "slot_index": 0 | |
| } | |
| ], | |
| "title": "SaveVideo", | |
| "properties": { | |
| "Node name for S&R": "SaveVideo" | |
| }, | |
| "widgets_values": [ | |
| "video/fight_quad_adapter", | |
| "auto", | |
| "auto" | |
| ], | |
| "color": "#203d36", | |
| "bgcolor": "#356856" | |
| }, | |
| { | |
| "id": 701, | |
| "type": "Note", | |
| "pos": [ | |
| 60, | |
| 30 | |
| ], | |
| "size": [ | |
| 900, | |
| 320 | |
| ], | |
| "flags": {}, | |
| "order": 29, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [], | |
| "title": "START HERE / Fight motion adapter", | |
| "properties": {}, | |
| "widgets_values": [ | |
| "1. Put the supplied source MP4 in ComfyUI/input.\n2. Select your H3 model, text encoder and VAE in the loaders.\n3. Select the published motion adapter in the green LoRA loader.\n4. Click Run. The Save Video node at the right saves the result.\n\nHistorical winner: adapter 0.75 / inject 0.30 / seed 20260817.\n25 total steps, beta, gradient_estimation.\nUse fight_quad.canvas.json for the full four-tile comparison." | |
| ], | |
| "color": "#233647", | |
| "bgcolor": "#30495d" | |
| } | |
| ], | |
| "links": [ | |
| [ | |
| 1, | |
| 400, | |
| 0, | |
| 401, | |
| 0, | |
| "VIDEO" | |
| ], | |
| [ | |
| 2, | |
| 128, | |
| 0, | |
| 524, | |
| 0, | |
| "CLIP" | |
| ], | |
| [ | |
| 3, | |
| 119, | |
| 0, | |
| 524, | |
| 1, | |
| "VAE" | |
| ], | |
| [ | |
| 4, | |
| 127, | |
| 0, | |
| 600, | |
| 0, | |
| "MODEL" | |
| ], | |
| [ | |
| 5, | |
| 600, | |
| 0, | |
| 300, | |
| 0, | |
| "MODEL" | |
| ], | |
| [ | |
| 6, | |
| 401, | |
| 0, | |
| 402, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 7, | |
| 401, | |
| 2, | |
| 402, | |
| 1, | |
| "FLOAT" | |
| ], | |
| [ | |
| 8, | |
| 401, | |
| 1, | |
| 402, | |
| 2, | |
| "AUDIO" | |
| ], | |
| [ | |
| 9, | |
| 300, | |
| 0, | |
| 301, | |
| 0, | |
| "MODEL" | |
| ], | |
| [ | |
| 10, | |
| 402, | |
| 0, | |
| 405, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 11, | |
| 402, | |
| 0, | |
| 410, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 12, | |
| 402, | |
| 0, | |
| 411, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 13, | |
| 301, | |
| 0, | |
| 302, | |
| 0, | |
| "MODEL" | |
| ], | |
| [ | |
| 14, | |
| 410, | |
| 0, | |
| 403, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 15, | |
| 119, | |
| 0, | |
| 403, | |
| 1, | |
| "VAE" | |
| ], | |
| [ | |
| 16, | |
| 524, | |
| 0, | |
| 406, | |
| 0, | |
| "CONDITIONING" | |
| ], | |
| [ | |
| 17, | |
| 524, | |
| 1, | |
| 406, | |
| 1, | |
| "LATENT" | |
| ], | |
| [ | |
| 18, | |
| 119, | |
| 0, | |
| 406, | |
| 2, | |
| "VAE" | |
| ], | |
| [ | |
| 19, | |
| 405, | |
| 0, | |
| 406, | |
| 4, | |
| "IMAGE" | |
| ], | |
| [ | |
| 20, | |
| 403, | |
| 0, | |
| 404, | |
| 0, | |
| "LATENT" | |
| ], | |
| [ | |
| 21, | |
| 700, | |
| 0, | |
| 404, | |
| 1, | |
| "STRING" | |
| ], | |
| [ | |
| 22, | |
| 302, | |
| 0, | |
| 522, | |
| 0, | |
| "MODEL" | |
| ], | |
| [ | |
| 23, | |
| 302, | |
| 0, | |
| 525, | |
| 0, | |
| "MODEL" | |
| ], | |
| [ | |
| 24, | |
| 406, | |
| 0, | |
| 525, | |
| 1, | |
| "CONDITIONING" | |
| ], | |
| [ | |
| 25, | |
| 523, | |
| 0, | |
| 526, | |
| 0, | |
| "NOISE" | |
| ], | |
| [ | |
| 26, | |
| 525, | |
| 0, | |
| 526, | |
| 1, | |
| "GUIDER" | |
| ], | |
| [ | |
| 27, | |
| 135, | |
| 0, | |
| 526, | |
| 2, | |
| "SAMPLER" | |
| ], | |
| [ | |
| 28, | |
| 522, | |
| 0, | |
| 526, | |
| 3, | |
| "SIGMAS" | |
| ], | |
| [ | |
| 29, | |
| 404, | |
| 0, | |
| 526, | |
| 4, | |
| "LATENT" | |
| ], | |
| [ | |
| 30, | |
| 526, | |
| 0, | |
| 530, | |
| 0, | |
| "LATENT" | |
| ], | |
| [ | |
| 31, | |
| 119, | |
| 0, | |
| 530, | |
| 1, | |
| "VAE" | |
| ], | |
| [ | |
| 32, | |
| 530, | |
| 0, | |
| 531, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 33, | |
| 404, | |
| 2, | |
| 531, | |
| 1, | |
| "STRING" | |
| ], | |
| [ | |
| 34, | |
| 531, | |
| 0, | |
| 413, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 35, | |
| 411, | |
| 0, | |
| 412, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 36, | |
| 413, | |
| 0, | |
| 412, | |
| 1, | |
| "IMAGE" | |
| ], | |
| [ | |
| 37, | |
| 412, | |
| 0, | |
| 540, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 38, | |
| 402, | |
| 2, | |
| 540, | |
| 1, | |
| "AUDIO" | |
| ], | |
| [ | |
| 39, | |
| 540, | |
| 0, | |
| 541, | |
| 0, | |
| "VIDEO" | |
| ] | |
| ], | |
| "groups": [ | |
| { | |
| "title": "01 / LOAD SOURCE + MODELS", | |
| "bounding": [ | |
| 40, | |
| 470, | |
| 770, | |
| 1138 | |
| ], | |
| "color": "#426781", | |
| "font_size": 26, | |
| "flags": {} | |
| }, | |
| { | |
| "title": "02 / PREPARE THE MOTION WINDOW", | |
| "bounding": [ | |
| 820, | |
| 470, | |
| 1160, | |
| 764 | |
| ], | |
| "color": "#6d5030", | |
| "font_size": 26, | |
| "flags": {} | |
| }, | |
| { | |
| "title": "03 / REGENERATE WITH THE ADAPTER", | |
| "bounding": [ | |
| 1990, | |
| 470, | |
| 1550, | |
| 790 | |
| ], | |
| "color": "#356856", | |
| "font_size": 26, | |
| "flags": {} | |
| }, | |
| { | |
| "title": "04 / RECOVER, SPLICE + SAVE", | |
| "bounding": [ | |
| 3550, | |
| 470, | |
| 1550, | |
| 390 | |
| ], | |
| "color": "#51517b", | |
| "font_size": 26, | |
| "flags": {} | |
| } | |
| ], | |
| "config": {}, | |
| "extra": { | |
| "ds": { | |
| "scale": 0.6, | |
| "offset": [ | |
| 120, | |
| 180 | |
| ] | |
| } | |
| }, | |
| "version": 0.4 | |
| } | |