Infinite Movie
Beta - feedback welcome. Turn a few still images into one seamless, looping film with video models (MiniMax H3, LTX 2.5, Wan 2.2): auto prompts from the images, A/B shot review, motion-evened assembly, upscale, model download with size check.
Infinite Movie (ComfyUI) — beta
<p align="center"><img src="assets/a4_nosun.gif" width="320" alt="Four seasons in one film: summer, autumn, winter, spring"></p> <p align="center"><sub>Four stills, one LTX 2.5 render pass (737 frames, 24 fps), shown at 2x speed.</sub></p>Beta. Things still change from day to day. Please tell me what works, what breaks and what you miss: open an issue — every bit of feedback helps.
Turn a few still images into one smooth, looping film. For each pair of images a video model renders the transition (start image → end image); the pack joins all shots into one film and saves it. A local vision model writes the prompts for you if you like. Built for a single GPU (also one shared with a local LLM). Tested on 24 GB VRAM and 64 GB RAM; with less, set up a lighter engine (see Engines).
<sub>Example workflow (four seasons): images + prompts → Director → Cut → Film.</sub>
Quick start
- Install. Clone this repository into
ComfyUI/custom_nodes/and restart ComfyUI. Also needed: VideoHelperSuite (brings ffmpeg). Optional: ComfyUI-Frame-Interpolation for RIFE. - Open the workflow
Infinite Movie(Workflow menu › Browse Templates › comfyui-infinite-movie, or dragexample_workflows/Infinite Movie.jsononto ComfyUI). - Get the models. ComfyUI lists missing model files with a download button, or press 📦 Check models on the Settings node (sizes, total, free disk space; downloads after you confirm). ⚠ The default engine needs about 42 GB, the prompt writer 9 GB more.
- Load your images in the Director: click an empty field, 📂 Load images… or 🗂 Storyboard folder… (up to 24). Drag to reorder. One image works too, see One image.
- Write the prompts. Type your own per transition, or press ↻ Regenerate prompt / ✎ Write all prompts.
- Run. The shots render and stop at Cut. Keep or redo shots, then press RENDER VIDEO ▶ – the film plays in the Video Preview node and lands in your output folder.
The workflow at a glance
Engine on top, below it one row from left to right; every group has a help note.
- 0 · Engine — the video model (MiniMax H3); normally nothing to change.
- 1 · Settings — prompt model, picture size, output folder, film name, sound, 📦 Check models; below it Prompt Style and the optional LLM + Story Prompts.
- 2 · Director — the storyboard: images, one prompt per transition,
seconds,loop,variants, 🔗 AUTO LAYOUT. - 3 · Cut — check the shots, pick A/B, RENDER VIDEO ▶ writes the film (with sound).
- 4 · Even Motion + Film — the finished film; optional Even Motion for smooth camera moves.
- 5 · Upscale — optional (muted): sharper, larger film; select the group, Ctrl+M.
- 6 · Movie to GIF — optional (muted): GIF / WebP / MP4 loop; select the node, Ctrl+M.
Settings travel one chain: Settings → Prompt Style → Director, then over the sync link to Cut → Even Motion.
Storyboard (Writer · Artist)
In development, off by default. Set IM_DEV=1 before ComfyUI starts to load these nodes. Turns a story into an
LLM plan, renders stills with FLUX.2 Klein and exports them for the Director. Details: Storyboard.
Models
You only need one engine; files go under ComfyUI/models/. The default MiniMax H3 (with sound) is 5 files,
42.0 GB; the optional prompt writer qwen3vl_4b_bf16 is 8.9 GB. All engines, files and download links:
Models.
Nodes
| Node | What it does |
|---|---|
| Settings | Shared settings: prompt model, size, output folder, film name, raw, audio, 📦 Check models. |
| Prompt Style | What the prompt model is told, plus max_words and camera. |
| LLM Infinite + Story Prompts | Optional: a bigger vision LLM on a server plans the film and writes all prompts. |
| LLM Load/Unload | Loads or unloads a model on a local LLM server. |
| Director | The storyboard: images, prompts, seconds, loop, variants; renders all shots. |
| Auto Prompt | Writes the prompt for one transition (standalone use). |
| Engine Start / Engine Result | Edges of an engine group (see Engines). |
| Cut | One tile per shot: pick A/B, keep or redo, RENDER VIDEO ▶ builds the film. |
| Even Motion | Evens out camera motion and writes <name>_even.mp4. |
| Video Preview | Plays a film and passes it on. |
| Movie Analysis | Shows Cut's shot analysis (particles, heatmap, frames, sheet). |
| Last Frame | Last frame of a film. |
| Movie to GIF | Any film → GIF / WebP / MP4 loop with a live preview (see Movie to GIF). |
| H3 Loop / H3 Loop Decode | Seamless loops in one MiniMax H3 pass. |
| RelayVSR Upscale / LTX Refine | Upscale the film (see Upscale). |
| Storyboard Writer / Artist | In development (IM_DEV=1), see Storyboard. |
Full reference: Nodes.
Requirements and troubleshooting
- ComfyUI with the V3 node API, a recent frontend, an NVIDIA GPU (tested on 24 GB, up to 1088×1344).
- ffmpeg: comes with VideoHelperSuite; otherwise install it (Windows builds, ffmpeg.org) and put it on PATH.
- Run does not start and names another program: it holds too much GPU memory; close it and press Run again.
- Silent film in VHS Load Video fails:
python tools/patch_vhs_silent_audio.pypatches VideoHelperSuite to return silence (re-run after VHS updates,--checkto test). - Missing model after download: check the folder and press R in ComfyUI to refresh the lists.
Documentation
- Storyboard — Writer · Artist (in development,
IM_DEV=1). - Models — every engine, file, size and download link.
- Engines — engine groups, own engine, one image, cloud engines, sound.
- Nodes — full node reference.
- Movie to GIF — GIF / WebP export controls.
- Upscale — RelayVSR and LTX Refine.
- Render time — measured times per size and length.