Repository navigation
Releases
Releases · benjiyaya/ComfyUI-ReaVideoBreakdown
v0.2.0 — VideoPrompt Mod With References (MiniMax H3 Ref2VA)
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 dynamicimage_1…image_9reference inputs (io.Autogrow), matching the nativeMiniMaxH3ReferenceToVideonode - 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 intoMiniMaxH3ReferenceToVideo.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
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 sametokenize(videos=…) → generate → decodepath as the core "Generate Text" node. No clip_vision tower, no external API. - Outputs:
video_md(VIDEO.md-style report),breakdown_json, delimitedprompts(one ready-to-use text-to-video prompt per shot),summary,keyframes,shot_count language: en / zhreports 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.txtSee the README for the full wiring guide and the bundled example workflow.
Notes
pyproject.tomlis included for the ComfyUI Registry;PublisherIdstill 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.