Skip to content

Releases

v0.2.0 — VideoPrompt Mod With References (MiniMax H3 Ref2VA)

Choose a tag to compare

@benjiyaya benjiyaya released this 24 Nov 11:31

New node: VideoPrompt Mod With References

Rewrites a ReaVideoBreakdown breakdown_json into an official MiniMax H3 full-reference (Ref2VA) prompt — using the same native VLM text encoder, plus reference images and a plain-English instruction.

  • ComfyUI V3 node (io.Schema) with dynamic image_1…image_9 reference inputs (io.Autogrow), matching the native MiniMaxH3ReferenceToVideo node
  • Emits the six H3 sections: subject_definitions, summary, retention_analysis, detailed_description, overall_soundscape, non_diegetic_music — with <Subject N> / <Picture N> labels, (Sx) speaker IDs, <d>[Language] …</d> dialogue
  • Preserves source shot order / cuts / measured camera unless the instruction overrides; fits target_seconds
  • Outputs: prompt (wire into MiniMaxH3ReferenceToVideo.prompt), prompt_json, label_map
  • v1 scope: reference audio is not managed here — wire it straight into the native node's ref_audio_*; its audio latent conditions the model regardless of prompt tags

Other

  • README: two-node intro, Node 2 reference section, wiring contract, tutorial video link
  • Classic node unchanged and still loads in environments without comfy_api (guarded import)
  • Offline test suite still green (Node 1 coverage; Node 2 needs a real ComfyUI)

Requirements: recent ComfyUI that ships the native MiniMax H3 nodes + comfy_api.

v0.1.0 — Rea Video Breakdown

Choose a tag to compare

@benjiyaya benjiyaya released this 22 Nov 11:25

First public release.

What it does

Shot-by-shot video reverse engineering (the rea-video idea) as a single ComfyUI custom node:

  • Shot detection (OpenCV, CPU): cut / fade / dissolve / flash boundaries with adaptive thresholds
  • Measured camera motion: Lucas–Kanade optical flow + RANSAC similarity fit → static / smooth_move / handheld, pan px/s, zoom %/s
  • Per-shot vision understanding via the native ComfyUI VLM text encoder (CLIPLoader: qwen_image, joyimage, ovis, gemma/ltxv, qwen3vl, minimax…) — the same tokenize(videos=…) → generate → decode path as the core "Generate Text" node. No clip_vision tower, no external API.
  • Outputs: video_md (VIDEO.md-style report), breakdown_json, delimited prompts (one ready-to-use text-to-video prompt per shot), summary, keyframes, shot_count
  • language: en / zh reports and prompts
  • Graceful failure: loading a non-VLM CLIP warns in the outputs instead of crashing the graph

Install

cd ComfyUI/custom_nodes
git clone https://github.com/benjiyaya/ComfyUI-ReaVideoBreakdown.git
pip install -r requirements.txt

See the README for the full wiring guide and the bundled example workflow.

Notes

  • pyproject.toml is included for the ComfyUI Registry; PublisherId still needs filling after registering at registry.comfy.org.
  • CI runs the offline test suite (tests/test_offline.py) on Python 3.10–3.13 for every push — no GPU required.