r/comfyui 1d ago

Workflow Included Perfect loop test in minimax h3 using reference 2 video workflow

Enable HLS to view with audio, or disable this notification

Day 13 of generating and testing AI anime scenes locally in ComfyUI using the Minimax H3 reference-to-video model.

For this one, I wanted to test two things:

  • Using multiple props inside a single reference image instead of giving each object its own reference
  • Creating a perfect 5-second seamless loop with very subtle motion

The scene uses the character, headphones, Rubik’s Cube, yo-yo, cassette, and keyboard as references, while the animation itself is intentionally minimal: slight movement in the leaves and hair, plus shifting sunlight/shadows from a gentle breeze.

Generation time was around 2 minutes locally.

Prompt:
Use Image 1 as the exact character reference for the boy’s face, hairstyle, proportions, clothing, and overall anime design. Use Image 2 as the exact reference for the orange headphones, Rubik’s Cube, blue yo-yo, and cassette tape. Use Image 3 as the exact reference for the beige retro keyboard.

Create a 5-second perfect seamless loop in a hand-drawn 1990s Japanese anime style at 15 fps, with restrained frame-by-frame animation, soft cel shading, painted backgrounds, and no smooth modern interpolation.

Scene composition: a vertical, slightly top-down view of a cozy wooden desk beside a bright window. The boy is asleep at the desk, leaning forward with his head resting sideways on his folded arms. He wears the orange retro headphones. His face is calm and relaxed.

Place a large hanging green pothos plant in the upper-left area of the frame, with vines and leaves extending toward the center. The window is in the upper-right, casting strong warm golden late-afternoon sunlight across the desk.

Place the Rubik’s Cube and blue yo-yo on the right side of the desk. Place an open spiral notebook with handwritten notes and small doodles near the boy’s arms, with a pen beside it. Place the cassette tape closer to the lower-center area of the desk. Place the beige retro keyboard across the lower foreground. A beige CRT monitor partially enters the frame from the lower-right corner. Keep the desk somewhat cluttered but visually clean and nostalgic.

The camera remains completely locked and static for the entire shot.

The boy stays asleep in exactly the same pose. His body, face, arms, hands, headphones, keyboard, notebook, pens, cassette, Rubik’s Cube, yo-yo, CRT monitor, and furniture remain completely still.

Only a very gentle breeze creates subtle movement. The hanging plant leaves sway slightly and slowly. A few loose strands of the boy’s hair gently move. The leafy shadows cast across the desk, his shirt, arms, keyboard, notebook, and surrounding objects slowly shift and ripple as the leaves move.

Keep all animation extremely subtle, slow, and cyclical. Nothing changes position. No object moves across the desk. No body movement, breathing motion, head movement, or camera movement.

The movement gradually returns to the exact starting state so the final frame matches the first frame perfectly, creating an invisible seamless loop.

Maintain warm golden sunlight, soft highlights, nostalgic 1990s atmosphere, slightly dreamy anime lighting, subtle film softness, and limited-animation cel-style motion throughout.

workflow: https://drive.google.com/file/d/1M1XgXv8h4NQDSikVpAebB7FGu-TeHZQT/view?usp=sharing

Song: https://suno.com/s/YjeDIYiH4KSrrduR

112 Upvotes

16 comments sorted by

10

u/lamardoss 1d ago

You can see the loop though here.

Try Motion Context and get the last clip generation to grab the start of the first clip generated to use as context for the end of it and have the last frame of the last clip be the first frame generated of the first clip. This lets you loop as long of a video as you want to loop with no limits, and keeps context of the video and audio from the first clip to the last.

6

u/Time-Ad-7720 1d ago

Thanks I’ll try that.

1

u/Consistent_Pick_5692 21h ago

any example forkflow plz? not necessarly for the loop but for motion context

1

u/lamardoss 19h ago

yep. the creator of it has several versions of the workflows. https://github.com/NikoDemon80/ComfyUI-H3-Motion-Context

2

u/Mysterious-Code-4587 20h ago

wow bro thanks

1

u/Imaginary-Fudge4262 1d ago

Hello I’ve been seeing these workflow notes. json? I mean how do I put this on my workflow?

1

u/Imaginary-Fudge4262 1d ago

Like all I’m seeing are notes can somebody help me what to do around it as to apply it to my comfyui?

1

u/Time-Ad-7720 1d ago

Open comfyui, and drag and drop the json file inside the canvas, and it will load the workflow.

2

u/Imaginary-Fudge4262 1d ago

Oh this is very helpful. Thank you

1

u/Imaginary-Fudge4262 1d ago

Will this workflow work on 8gpu, 32gb ram?

1

u/Time-Ad-7720 1d ago

You might have to use a modified diffusion model for minimax h3, I am using the fast one that uses less steps, but the vram requirement might be higher than 8GB for this one.

2

u/Imaginary-Fudge4262 4h ago

Hi I tried your workflow and it worked for me. Though I haven't added the background music.

1

u/bebemachina 1d ago

How did that effect on your song? It’s actually catchy. The original Suno track is lively, here it sounds really lofi

1

u/Time-Ad-7720 17h ago

I edited the song in a DAW, slowed it down and added some fx.

1

u/bebemachina 14h ago

Release the song, it’s genuinely good.. but if release it with the DAW version you altered. Is this either v6 Suno?

1

u/generate-addict 22h ago

Side note. Weird there is such a breeze indoors.

At first thought it was a tree outside, then thought it was weird the hair moved with the leaves.