Views
No views yet
ComfyUI/custom_nodes/ComfyUI-H3NegativeLab/
__init__.py
h3_negative_lab_v1_0_2.py
README.mdvideo_scale and audio_scale control how hard the output is pushed away from the negative. Scale 1 = off for that stream. If audio_scale > 1 and no separate audio_negative is connected, the main negative is reused for audio.tau caps the guided norm relative to the positive (prevents overcooking). alpha blends between the positive-only and guided result. start_percent / end_percent limits guidance to a window of the denoise schedule.video_negative input. Optionally connect a separate audio_negative.video_negative. The patch preserves all packed REF2VA reference rows and replaces the user-prompt text in the shadow branch best-effort.MiniMax H3 Reference to Video node with the same refs, same sizing, same reference order, but put your negative description in its prompt. Connect that CONDITIONING to video_negative. The patch detects matching reference metadata and builds a full alternate packed layout with correct text/vision tags and RoPE coordinates for the shadow branch.(phrase:weight) syntax for H3 text conditioning. Operates in embedding space — weights above 1 emphasize, below 1 de-emphasize. The (syntax:1.5) is stripped before Qwen encoding.H3 CLIP Text Encode ("blurry, static, grainy")
|
v
H3 Shadow Negative <-- MODEL (after sigma shift if used)
|
v
BasicGuider <-- positive CONDITIONING
|
v
KSampler| Parameter | Basic | Advanced |
|---|---|---|
| video_scale | 3.0 | 3.0 |
| audio_scale | 1.0 | 1.0 |
| tau | 2.5 | 2.5 |
| alpha | 0.35 | 0.35 |
| start_percent | 0.0 | 0.0 |
| end_percent | 0.60 | 0.60 |
set_model_patch_replace. Block-level cache nodes (Sage+Spectrum, T8mars, etc.) that replace the same blocks will conflict — use one or the other per run.