Leo91fr commited on
Commit
3e18457
·
verified ·
1 Parent(s): b9eb10e

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,10 +1,34 @@
1
  ---
2
- title: Minimax H3 Workflows
3
- emoji: 📉
4
- colorFrom: pink
5
- colorTo: green
6
  sdk: static
 
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: MiniMax-H3 Workflows
3
+ emoji: 🧩
4
+ colorFrom: indigo
5
+ colorTo: blue
6
  sdk: static
7
+ app_file: index.html
8
  pinned: false
9
+ license: mit
10
+ short_description: Interactive showcase of javawock7618's ComfyUI workflows
11
  ---
12
 
13
+ # MiniMax-H3 Workflows — Showcase
14
+
15
+ An interactive reference for [`javawock7618/comfy-MiniMax-H3-workflows`](https://huggingface.co/javawock7618/comfy-MiniMax-H3-workflows).
16
+
17
+ Covers all seven ComfyUI workflow files:
18
+
19
+ | Workflow | File |
20
+ | --- | --- |
21
+ | Image-to-Video (FLF) | `workflows/MiniMax_int8_I2V-javano2609.1.2.json` |
22
+ | Reference-to-Video (R2V) | `workflows/MiniMax_int8_R2V-javano2609.2.2.json` |
23
+ | Bridge | `workflows/MiniMax_int8_Bridge-javano2609.1.1.json` |
24
+ | Face Refine | `workflows/MiniMax_int8_FR-javano2609.1.1.json` |
25
+ | TTS / Video-to-Audio | `workflows/MiniMax_int8_TTS-javano2609.1.json` |
26
+ | Music 3 (extra) | `extra/MiniMax-Music3-javano2608.1.json` |
27
+ | Ref2Image (extra) | `extra/MiniMax_int8-Ref2Image-javano2608.2.json` |
28
+
29
+ Each tab shows the workflow description, feature chips, node inventory (including nested
30
+ sub-graph nodes), referenced model files, embedded notes, plus **Preview JSON** and
31
+ **Download** actions. The **LLM prompts** tab exposes the two system prompts
32
+ (`llm-prompts/…txt`) used for caption writing.
33
+
34
+ All workflow files in this Space are verbatim copies from the source repo.
data.js ADDED
@@ -0,0 +1,1770 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ window.WORKFLOW_DATA = {
2
+ "prompts": {
3
+ "fl2va": "You are an expert prompt writer for MiniMax-H3 FL2VA / First-and-Last-Frame-to-Video generation.\n\nConvert the user's input directly into a precise, generation-oriented FL2VA prompt.\n\nOutput ONLY:\n\nFL2VA:\n\nsubject_definitions:\n...\n\nsummary:\n...\n\nretention_analysis:\n...\n\ndetailed_description:\n...\n\noverall_soundscape:\n...\n\nnon_diegetic_music:\n...\n\nWrite structural prose in English.\n\n## CORE RULES\n\nDescribe ONLY the target video.\n\nUse only:\n\n1. Explicit user instructions.\n2. Relevant visual information from assigned First/Last Frame references.\n3. Explicit motion/camera/timing from assigned Video references.\n4. Explicit sound/music from assigned Audio references.\n\nFirst/Last Frame references define the required visual state and appearance at the beginning and end of the video. They do NOT define intermediate actions, motion, camera movement, timing, dialogue, sound, or music unless explicitly assigned as such.\n\nNever invent events, reactions, gestures, sounds, camera movements, dialogue, transitions, or endings.\n\nThe user's timeline is authoritative for WHAT happens.\n\n## FIRST / LAST FRAME RULE\n\nPreserve the visual identity and relevant appearance of the assigned frames.\n\nThe first frame represents the starting visual state.\n\nThe last frame represents the ending visual state.\n\nDo not describe the first or last frame as an action unless the user explicitly specifies that action.\n\nDo not invent intermediate motion solely to explain how the first frame becomes the last frame.\n\nUse only the user's explicit timeline for intermediate actions and motion.\n\n## TIMELINE\n\nPreserve every explicit timestamp exactly.\n\nPreserve every explicit:\n\n* action\n* motion\n* camera instruction\n* speech\n* narration\n* voiceover\n* lyric\n* visible text\n* sound\n\nUse `[Shot 1]` unless multiple shots are explicitly specified.\n\nKeep each interval concise. Do not merge away explicit events.\n\n## SPEECH — CRITICAL\n\nA speech event exists ONLY when:\n\n1. The surrounding text explicitly indicates speech, narration, voiceover, or singing.\n2. The actual words are enclosed in quotation marks.\n\nAccepted quotation marks:\n\n「...」\n“...”\n\"...\"\n‘...’\n'...'\n\nEvery valid quoted speech event is LOCKED CONTENT.\n\nFor every valid speech event:\n\n* preserve exact wording\n* preserve exact punctuation\n* preserve original language\n* preserve speaker\n* preserve exact timestamp\n* output it exactly once\n* place it in the corresponding timeline interval\n* wrap the actual spoken words in `<d>...</d>`\n\nExample:\n\n`[10-15s] She says in Japanese 「Example phrase.」`\n\n→\n\n`[10-15s] She says in Japanese: <d>Example phrase.</d>`\n\nThe example is generic and must never be inserted unless supplied by the user.\n\nNEVER:\n\n* translate\n* romanize\n* paraphrase\n* summarize\n* shorten\n* expand\n* correct\n* replace\n* omit\n* duplicate\n\nDo NOT generate dialogue from statements such as:\n\n* She speaks Japanese.\n* She talks to the camera.\n* She says something.\n* Japanese dialogue occurs.\n\nWithout quoted words, there is NO dialogue.\n\nIf an interval has no valid speech, write exactly:\n\n`No dialogue or narration.`\n\nIf an interval contains valid speech, do NOT write that phrase.\n\n## VISIBLE TEXT\n\nQuoted text is NOT automatically speech.\n\nIf the user identifies it as a subtitle, sign, label, title, poster, screen text, written message, or other visible text, preserve it exactly in the original language and do not speak it.\n\n## REFERENCE RULES\n\n### subject_definitions\n\nUse only user-provided subject information and relevant visual information from the assigned First/Last Frame references.\n\n### summary\n\nBriefly summarize the target video. Do not replace or omit explicit dialogue.\n\n### retention_analysis\n\nMention only relevant visual information retained from the assigned First/Last Frame references. Do not add unsupported actions, motion, camera behavior, sound, or dialogue.\n\n### detailed_description\n\nThis is the authoritative timeline.\n\nEvery explicit user event MUST appear here.\n\nEvery valid speech event MUST appear here exactly once with its original wording and timestamp.\n\nDescribe intermediate motion only when explicitly provided by the user or an assigned Video reference.\n\n### overall_soundscape\n\nUse only explicitly specified or explicitly referenced sound.\n\nIf none:\n\n`N/A`\n\n### non_diegetic_music\n\nUse only explicitly specified or explicitly referenced music.\n\nIf none:\n\n`N/A`\n\n## CAMERA / MOTION / TIMING / SOUND\n\nCamera behavior:\nONLY from user instructions or assigned Video references.\n\nActions and motion:\nONLY from user instructions or assigned Video references.\n\nTiming:\nONLY from user timestamps or assigned Video references.\n\nSound:\nONLY from user instructions or assigned Audio references.\n\nMusic:\nONLY from user instructions or assigned Audio references.\n\nDo not invent camera movement or motion to connect the First and Last Frames.\n\n## ENDING\n\nThe last frame defines the required final visual state when a Last Frame reference is provided.\n\nDo not invent any additional ending action, transition, fade, freeze, final hold, credits, or reaction beyond the user's instructions.\n\n## FINAL CHECK\n\nSilently verify:\n\n* Every explicit timeline interval is present.\n* Every explicit action/motion/camera instruction is present.\n* The First Frame visual state is preserved.\n* The Last Frame visual state is preserved.\n* No unsupported intermediate motion was invented from the frames.\n* Every valid quoted speech event is present.\n* Every speech event appears exactly once.\n* Every speech event retains exact wording, punctuation, language, speaker, and timestamp.\n* `<d>` contains only the actual spoken words.\n* No unquoted text became dialogue.\n* No dialogue was invented.\n* No unsupported sound, music, camera behavior, motion, reaction, or transition was invented.\n* Output contains ONLY the required FL2VA structure.\n\nNever output reasoning, analysis, warnings, explanations, or commentary.\nNever output text before `FL2VA:` or after the completed prompt.\n",
4
+ "ref2va": "You are an expert prompt writer for MiniMax-H3 Ref2VA / Full-Reference video generation.\n\nConvert the user's input directly into a precise generation-oriented Ref2VA prompt.\n\nOutput ONLY:\n\nRef2VA:\n\nsubject_definitions:\n...\n\nsummary:\n...\n\nretention_analysis:\n...\n\ndetailed_description:\n...\n\noverall_soundscape:\n...\n\nnon_diegetic_music:\n...\n\nWrite structural prose in English.\n\n## CORE RULES\n\nDescribe ONLY the target video.\n\nUse only:\n\n1. Explicit user instructions.\n2. Relevant visual information from assigned Picture references.\n3. Explicit motion/camera/timing from assigned Video references.\n4. Explicit sound/music from assigned Audio references.\n\nPictures provide visual information only. Never derive actions, motion, camera behavior, timing, dialogue, sound, or music from Pictures.\n\nNever invent events, reactions, gestures, sounds, camera movements, dialogue, transitions, or endings.\n\nThe user's timeline is authoritative for WHAT happens.\n\n## TIMELINE\n\nPreserve every explicit timestamp exactly.\n\nPreserve every explicit:\n\n* action\n* motion\n* camera instruction\n* speech\n* narration\n* voiceover\n* lyric\n* visible text\n* sound\n\nUse `[Shot 1]` unless multiple shots are explicitly specified.\n\nKeep each interval concise. Do not merge away explicit events.\n\n## SPEECH — CRITICAL\n\nA speech event exists ONLY when:\n\n1. The surrounding text explicitly indicates speech, narration, voiceover, or singing.\n2. The actual words are enclosed in quotation marks.\n\nAccepted quotation marks:\n\n「...」\n“...”\n\"...\"\n‘...’\n'...'\n\nEvery valid quoted speech event is LOCKED CONTENT.\n\nFor every valid speech event:\n\n* preserve exact wording\n* preserve exact punctuation\n* preserve original language\n* preserve speaker\n* preserve exact timestamp\n* output it exactly once\n* place it in the corresponding timeline interval\n* wrap the actual spoken words in `<d>...</d>`\n\nExample:\n\n`[10-15s] She says in Japanese 「Example phrase.」`\n\n→\n\n`[10-15s] She says in Japanese: <d>Example phrase.</d>`\n\nThe example is generic and must never be inserted unless supplied by the user.\n\nNEVER:\n\n* translate\n* romanize\n* paraphrase\n* summarize\n* shorten\n* expand\n* correct\n* replace\n* omit\n* duplicate\n\nDo NOT generate dialogue from statements such as:\n\n* She speaks Japanese.\n* She talks to the camera.\n* She says something.\n* Japanese dialogue occurs.\n\nWithout quoted words, there is NO dialogue.\n\nIf an interval has no valid speech, write exactly:\n\n`No dialogue or narration.`\n\nIf an interval contains valid speech, do NOT write that phrase.\n\n## VISIBLE TEXT\n\nQuoted text is NOT automatically speech.\n\nIf the user identifies it as a subtitle, sign, label, title, poster, screen text, written message, or other visible text, preserve it exactly in the original language and do not speak it.\n\n## REFERENCE RULES\n\n### subject_definitions\n\nUse only user-provided subject information and relevant visual information from Pictures.\n\n### summary\n\nBriefly summarize the target video. Do not replace or omit explicit dialogue.\n\n### retention_analysis\n\nMention only relevant visual information retained from Pictures. Do not add actions, motion, camera behavior, sound, or dialogue.\n\n### detailed_description\n\nThis is the authoritative timeline.\n\nEvery explicit user event MUST appear here.\n\nEvery valid speech event MUST appear here exactly once with its original wording and timestamp.\n\n### overall_soundscape\n\nUse only explicitly specified or explicitly referenced sound.\n\nIf none:\n\n`N/A`\n\n### non_diegetic_music\n\nUse only explicitly specified or explicitly referenced music.\n\nIf none:\n\n`N/A`\n\n## CAMERA / MOTION / TIMING / SOUND\n\nCamera behavior:\nONLY from user instructions or assigned Video references.\n\nActions and motion:\nONLY from user instructions or assigned Video references.\n\nTiming:\nONLY from user timestamps or assigned Video references.\n\nSound:\nONLY from user instructions or assigned Audio references.\n\nMusic:\nONLY from user instructions or assigned Audio references.\n\n## ENDING\n\nDo not invent an ending, transition, fade, freeze, final hold, credits, or additional reaction unless explicitly specified.\n\n## FINAL CHECK\n\nSilently verify:\n\n* Every explicit timeline interval is present.\n* Every explicit action/motion/camera instruction is present.\n* Every valid quoted speech event is present.\n* Every speech event appears exactly once.\n* Every speech event retains exact wording, punctuation, language, speaker, and timestamp.\n* `<d>` contains only the actual spoken words.\n* No unquoted text became dialogue.\n* No dialogue was invented.\n* No Picture reference created an event.\n* No unsupported sound, music, camera behavior, motion, reaction, or ending was invented.\n* Output contains ONLY the required Ref2VA structure.\n\nNever output reasoning, analysis, warnings, explanations, or commentary.\nNever output text before `Ref2VA:` or after the completed prompt.\n"
5
+ },
6
+ "workflows": [
7
+ {
8
+ "file": "workflows/MiniMax_int8_I2V-javano2609.1.2.json",
9
+ "title": "Image-to-Video (FLF)",
10
+ "subtitle": "First-Last-Frame generation with Extend, ControlNet-Union V2V and Latent Upscaler",
11
+ "description": "Condition the video on the first AND last frames. Built on the INT8 FL2VA model with native Block Sparse Attention, Spectrum sampling, Lightx2v/Turbo LoRAs, native Extend, Fun ControlNet Union (OpenPose/Canny/Depth) and low-res -> latent upscale -> high-res decode.",
12
+ "features": [
13
+ "First + Last Frame",
14
+ "INT8",
15
+ "Block Sparse Attention",
16
+ "Fun ControlNet Union",
17
+ "Native Extend",
18
+ "Latent Upscaler",
19
+ "Spectrum",
20
+ "Lightx2v LoRA",
21
+ "Group Bypass"
22
+ ],
23
+ "topLevelNodes": 68,
24
+ "totalNodes": 274,
25
+ "inventory": [
26
+ {
27
+ "type": "GetNode",
28
+ "count": 35
29
+ },
30
+ {
31
+ "type": "ComfySwitchNode",
32
+ "count": 29
33
+ },
34
+ {
35
+ "type": "SetNode",
36
+ "count": 19
37
+ },
38
+ {
39
+ "type": "ComfyMathExpression",
40
+ "count": 13
41
+ },
42
+ {
43
+ "type": "ImpactIfNone",
44
+ "count": 8
45
+ },
46
+ {
47
+ "type": "PrimitiveStringMultiline",
48
+ "count": 6
49
+ },
50
+ {
51
+ "type": "easy int",
52
+ "count": 6
53
+ },
54
+ {
55
+ "type": "Reroute",
56
+ "count": 6
57
+ },
58
+ {
59
+ "type": "LoraLoaderModelOnly",
60
+ "count": 6
61
+ },
62
+ {
63
+ "type": "Note",
64
+ "count": 5
65
+ },
66
+ {
67
+ "type": "VHS_VideoCombine",
68
+ "count": 5
69
+ },
70
+ {
71
+ "type": "LoadImage",
72
+ "count": 5
73
+ },
74
+ {
75
+ "type": "easy anythingIndexSwitch",
76
+ "count": 5
77
+ },
78
+ {
79
+ "type": "GetImageRangeFromBatch",
80
+ "count": 5
81
+ },
82
+ {
83
+ "type": "PrimitiveBoolean",
84
+ "count": 4
85
+ },
86
+ {
87
+ "type": "RandomNoise",
88
+ "count": 4
89
+ },
90
+ {
91
+ "type": "BasicScheduler",
92
+ "count": 4
93
+ },
94
+ {
95
+ "type": "LTXVConcatAVLatent",
96
+ "count": 4
97
+ },
98
+ {
99
+ "type": "LTXVSeparateAVLatent",
100
+ "count": 4
101
+ },
102
+ {
103
+ "type": "MiniMaxH3ImageToVideo",
104
+ "count": 4
105
+ },
106
+ {
107
+ "type": "MMH3SplitUpscale",
108
+ "count": 4
109
+ },
110
+ {
111
+ "type": "MiniMaxH3FunControlNetApply",
112
+ "count": 4
113
+ },
114
+ {
115
+ "type": "TrimAudioDuration",
116
+ "count": 4
117
+ },
118
+ {
119
+ "type": "Group Controller",
120
+ "count": 3
121
+ },
122
+ {
123
+ "type": "ImageResizeKJv2",
124
+ "count": 3
125
+ },
126
+ {
127
+ "type": "PreviewAny",
128
+ "count": 2
129
+ },
130
+ {
131
+ "type": "KSamplerSelect",
132
+ "count": 2
133
+ },
134
+ {
135
+ "type": "AudioEnhancementNode",
136
+ "count": 2
137
+ },
138
+ {
139
+ "type": "BasicGuider",
140
+ "count": 2
141
+ },
142
+ {
143
+ "type": "VAEDecodeAudio",
144
+ "count": 2
145
+ },
146
+ {
147
+ "type": "RTXVideoSuperResolution",
148
+ "count": 2
149
+ },
150
+ {
151
+ "type": "MinimaxH3LatentUpscaler3D",
152
+ "count": 2
153
+ },
154
+ {
155
+ "type": "VAEDecode",
156
+ "count": 2
157
+ },
158
+ {
159
+ "type": "SamplerCustomAdvanced",
160
+ "count": 2
161
+ },
162
+ {
163
+ "type": "MMH3TemporalSplitParamsV10",
164
+ "count": 2
165
+ },
166
+ {
167
+ "type": "MMH3SpatialSplitParamsV10",
168
+ "count": 2
169
+ },
170
+ {
171
+ "type": "ManualSigmas",
172
+ "count": 2
173
+ },
174
+ {
175
+ "type": "LTXVAudioVAEEncode",
176
+ "count": 2
177
+ },
178
+ {
179
+ "type": "SolidMask",
180
+ "count": 2
181
+ },
182
+ {
183
+ "type": "SetLatentNoiseMask",
184
+ "count": 2
185
+ },
186
+ {
187
+ "type": "MiniMaxH3AddGuide",
188
+ "count": 2
189
+ },
190
+ {
191
+ "type": "GetImageSizeAndCount",
192
+ "count": 2
193
+ },
194
+ {
195
+ "type": "OllamaGenerateV2",
196
+ "count": 2
197
+ },
198
+ {
199
+ "type": "ImpactConditionalBranchSelMode",
200
+ "count": 2
201
+ },
202
+ {
203
+ "type": "VAELoader",
204
+ "count": 2
205
+ },
206
+ {
207
+ "type": "MarkdownNote",
208
+ "count": 1
209
+ },
210
+ {
211
+ "type": "35348f87-ce77-463d-914a-9b04b1a6e09b",
212
+ "count": 1
213
+ },
214
+ {
215
+ "type": "2f377a81-7be4-4d8b-bba5-464d1e5329b1",
216
+ "count": 1
217
+ },
218
+ {
219
+ "type": "50874503-87e5-4f15-a304-7c702a3cb78d",
220
+ "count": 1
221
+ },
222
+ {
223
+ "type": "a6811221-294a-4519-a645-6e0b07df229e",
224
+ "count": 1
225
+ },
226
+ {
227
+ "type": "cc4f3c17-635a-45cc-bf44-6d1c3af27c3b",
228
+ "count": 1
229
+ },
230
+ {
231
+ "type": "ResolutionSelector",
232
+ "count": 1
233
+ },
234
+ {
235
+ "type": "LoadVideoUI",
236
+ "count": 1
237
+ },
238
+ {
239
+ "type": "ModelPreviewOverrideKJ",
240
+ "count": 1
241
+ },
242
+ {
243
+ "type": "850d0cb6-8c18-4748-a2ff-97da873fffb0",
244
+ "count": 1
245
+ },
246
+ {
247
+ "type": "e69c9dec-17d5-4d89-8bf3-1a480552d301",
248
+ "count": 1
249
+ },
250
+ {
251
+ "type": "7918e590-34c0-4440-b5a3-2cd2b4e767fa",
252
+ "count": 1
253
+ },
254
+ {
255
+ "type": "4439dde7-fcea-4941-8996-01e96a0e87a1",
256
+ "count": 1
257
+ },
258
+ {
259
+ "type": "VHS_LoadVideo",
260
+ "count": 1
261
+ },
262
+ {
263
+ "type": "fdcfce6d-b7d6-45cb-a01c-59db5101e70a",
264
+ "count": 1
265
+ },
266
+ {
267
+ "type": "easy forLoopEnd",
268
+ "count": 1
269
+ },
270
+ {
271
+ "type": "AudioConcat",
272
+ "count": 1
273
+ },
274
+ {
275
+ "type": "easy forLoopStart",
276
+ "count": 1
277
+ },
278
+ {
279
+ "type": "ImageBatchExtendWithOverlap",
280
+ "count": 1
281
+ },
282
+ {
283
+ "type": "easy boolean",
284
+ "count": 1
285
+ },
286
+ {
287
+ "type": "OllamaConnectivityV2",
288
+ "count": 1
289
+ },
290
+ {
291
+ "type": "OllamaOptionsV2",
292
+ "count": 1
293
+ },
294
+ {
295
+ "type": "easy convertAnything",
296
+ "count": 1
297
+ },
298
+ {
299
+ "type": "CustomCombo",
300
+ "count": 1
301
+ },
302
+ {
303
+ "type": "CLIPLoader",
304
+ "count": 1
305
+ },
306
+ {
307
+ "type": "MiniMaxH3MemoryEfficientSageAttentionPatch",
308
+ "count": 1
309
+ },
310
+ {
311
+ "type": "MiniMaxH3SigmaShift",
312
+ "count": 1
313
+ },
314
+ {
315
+ "type": "SpectrumApplyMiniMaxH3",
316
+ "count": 1
317
+ },
318
+ {
319
+ "type": "UNETLoader",
320
+ "count": 1
321
+ },
322
+ {
323
+ "type": "PathchSageAttentionKJ",
324
+ "count": 1
325
+ },
326
+ {
327
+ "type": "ModelPatchTorchSettings",
328
+ "count": 1
329
+ },
330
+ {
331
+ "type": "ModelAttentionBackend",
332
+ "count": 1
333
+ },
334
+ {
335
+ "type": "ModelPatchLoader",
336
+ "count": 1
337
+ },
338
+ {
339
+ "type": "BlockSparseAttention",
340
+ "count": 1
341
+ },
342
+ {
343
+ "type": "RMBG",
344
+ "count": 1
345
+ },
346
+ {
347
+ "type": "DWPreprocessor",
348
+ "count": 1
349
+ },
350
+ {
351
+ "type": "ResizeImageMaskNode",
352
+ "count": 1
353
+ },
354
+ {
355
+ "type": "CannyEdgePreprocessor",
356
+ "count": 1
357
+ },
358
+ {
359
+ "type": "DepthAnythingPreprocessor",
360
+ "count": 1
361
+ }
362
+ ],
363
+ "models": [
364
+ "H3\\minimax_h3_fl2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors",
365
+ "minimax_h3_audio_vae_fp32.safetensors",
366
+ "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
367
+ "minimax_h3_fun_controlnet_union_pruned_int8_convrot.safetensors",
368
+ "minimax_h3_latent_upscaler_3d_fp16.safetensors",
369
+ "minimax_h3_video_vae_int8_convrot.safetensors",
370
+ "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
371
+ "taeh3.safetensors"
372
+ ],
373
+ "notes": [
374
+ "| megapixels | Aspect | Output (multiple=32) | |---|---|---| | 0.2 | 16:9 | 608 x 352 | | 0.3 | 16:9 | 736 x 416 | | 0.4 | 16:9 | 864 x 480 | | 0.5 | 16:9 | 960 x 544 | | 0.6 | 16:9 | 1056 x 608 | | 0.7 | 16:9 | 1152 x 640 | | 0.8 | 16:9 | 1216 x 672 | | 0.9 | 16:9 | 1280 x 736 | | 0.98 | 16:9 | 1344 x 768 | | 1.0 | 16:9 | 1376 x 768 | | 1.2 | 16:9 | 1504 x 832 | | 1.5 | 16:9 | 1664 x 928 | | 1.8 | 16:9 | 1824 x 1024 | | 2.0 | 16:9 | 1920 x 1088 |",
375
+ "Lightx2v Turbo-LoRA 8 step ver : shift_video 12.0 8 step 768p ver : shift_video 6.0 4 step ver : shift_video 6.0",
376
+ "Comfyui_Minimax_h3_latent_Upscaler https://github.com/LBH-123-AI/Comfyui_Minimax_h3_latent_Upscaler Controlnet Union https://huggingface.co/Kijai/MiniMax-H3-experimental/tree/main/controlnet Lightx2v Turbo-LoRA https://huggingface.co/lightx2v/Minimax-h3-Turbo Turbo-LoRA https://huggingface.co/drbaph/MiniMax-H3-Turbo-Lora-ComfyUI PDD ACC LoRA https://huggingface.co/Kijai/MiniMax-H3-experimental/tree/main/loras Spectrum https://github.com/xmarre/ComfyUI-Spectrum-MiniMax-H3.git",
377
+ "FL2VA does not support audio reference, so the audio from the Control Video will be ignored. Due to \"Start index is out of range\" error, only when using Controlnet for V2V during Extend, the generated video must be 22 frames (the offset) shorter than the Control Video.",
378
+ "0: Depth 1: Canny 2: Openpose"
379
+ ]
380
+ },
381
+ {
382
+ "file": "workflows/MiniMax_int8_R2V-javano2609.2.2.json",
383
+ "title": "Reference-to-Video (R2V)",
384
+ "subtitle": "Reference-guided generation with Ref LoRA, ControlNet-Union V2V, Extend and Upscaler",
385
+ "description": "Animate from one or more reference images using the R2V Reference LoRA, with Fun ControlNet Union video control, native Extend, audio-VAE aware outputs and the Latent Upscaler. The most complete workflow in the collection.",
386
+ "features": [
387
+ "Reference LoRA",
388
+ "INT8",
389
+ "Block Sparse Attention",
390
+ "Fun ControlNet Union",
391
+ "Native Extend",
392
+ "Latent Upscaler",
393
+ "Spectrum",
394
+ "Lightx2v LoRA",
395
+ "Group Bypass"
396
+ ],
397
+ "topLevelNodes": 86,
398
+ "totalNodes": 370,
399
+ "inventory": [
400
+ {
401
+ "type": "GetNode",
402
+ "count": 53
403
+ },
404
+ {
405
+ "type": "ComfySwitchNode",
406
+ "count": 40
407
+ },
408
+ {
409
+ "type": "SetNode",
410
+ "count": 28
411
+ },
412
+ {
413
+ "type": "ComfyMathExpression",
414
+ "count": 18
415
+ },
416
+ {
417
+ "type": "GetImageRangeFromBatch",
418
+ "count": 13
419
+ },
420
+ {
421
+ "type": "Reroute",
422
+ "count": 9
423
+ },
424
+ {
425
+ "type": "ImpactIfNone",
426
+ "count": 8
427
+ },
428
+ {
429
+ "type": "LoraLoaderModelOnly",
430
+ "count": 7
431
+ },
432
+ {
433
+ "type": "ResizeImageMaskNode",
434
+ "count": 7
435
+ },
436
+ {
437
+ "type": "LoadImage",
438
+ "count": 6
439
+ },
440
+ {
441
+ "type": "VHS_VideoCombine",
442
+ "count": 6
443
+ },
444
+ {
445
+ "type": "PrimitiveStringMultiline",
446
+ "count": 6
447
+ },
448
+ {
449
+ "type": "LTXVSeparateAVLatent",
450
+ "count": 6
451
+ },
452
+ {
453
+ "type": "SetLatentNoiseMask",
454
+ "count": 6
455
+ },
456
+ {
457
+ "type": "MiniMaxH3ReferenceToVideo",
458
+ "count": 6
459
+ },
460
+ {
461
+ "type": "TrimAudioDuration",
462
+ "count": 6
463
+ },
464
+ {
465
+ "type": "Note",
466
+ "count": 5
467
+ },
468
+ {
469
+ "type": "easy int",
470
+ "count": 5
471
+ },
472
+ {
473
+ "type": "PrimitiveBoolean",
474
+ "count": 5
475
+ },
476
+ {
477
+ "type": "easy anythingIndexSwitch",
478
+ "count": 4
479
+ },
480
+ {
481
+ "type": "RandomNoise",
482
+ "count": 4
483
+ },
484
+ {
485
+ "type": "BasicScheduler",
486
+ "count": 4
487
+ },
488
+ {
489
+ "type": "VAEDecode",
490
+ "count": 4
491
+ },
492
+ {
493
+ "type": "LTXVConcatAVLatent",
494
+ "count": 4
495
+ },
496
+ {
497
+ "type": "MMH3SplitUpscale",
498
+ "count": 4
499
+ },
500
+ {
501
+ "type": "MiniMaxH3FunControlNetApply",
502
+ "count": 4
503
+ },
504
+ {
505
+ "type": "Group Controller",
506
+ "count": 3
507
+ },
508
+ {
509
+ "type": "ImageResizeKJv2",
510
+ "count": 3
511
+ },
512
+ {
513
+ "type": "CustomCombo",
514
+ "count": 3
515
+ },
516
+ {
517
+ "type": "PreviewAny",
518
+ "count": 2
519
+ },
520
+ {
521
+ "type": "LoadVideoUI",
522
+ "count": 2
523
+ },
524
+ {
525
+ "type": "ImageFromBatch",
526
+ "count": 2
527
+ },
528
+ {
529
+ "type": "OllamaGenerateV2",
530
+ "count": 2
531
+ },
532
+ {
533
+ "type": "ImpactConditionalBranchSelMode",
534
+ "count": 2
535
+ },
536
+ {
537
+ "type": "VAELoader",
538
+ "count": 2
539
+ },
540
+ {
541
+ "type": "SolidMask",
542
+ "count": 2
543
+ },
544
+ {
545
+ "type": "VAEDecodeAudio",
546
+ "count": 2
547
+ },
548
+ {
549
+ "type": "AudioEnhancementNode",
550
+ "count": 2
551
+ },
552
+ {
553
+ "type": "KSamplerSelect",
554
+ "count": 2
555
+ },
556
+ {
557
+ "type": "LTXVAudioVAEEncode",
558
+ "count": 2
559
+ },
560
+ {
561
+ "type": "BasicGuider",
562
+ "count": 2
563
+ },
564
+ {
565
+ "type": "RTXVideoSuperResolution",
566
+ "count": 2
567
+ },
568
+ {
569
+ "type": "SamplerCustomAdvanced",
570
+ "count": 2
571
+ },
572
+ {
573
+ "type": "MinimaxH3LatentUpscaler3D",
574
+ "count": 2
575
+ },
576
+ {
577
+ "type": "MMH3TemporalSplitParamsV10",
578
+ "count": 2
579
+ },
580
+ {
581
+ "type": "MMH3SpatialSplitParamsV10",
582
+ "count": 2
583
+ },
584
+ {
585
+ "type": "ManualSigmas",
586
+ "count": 2
587
+ },
588
+ {
589
+ "type": "VAEEncode",
590
+ "count": 2
591
+ },
592
+ {
593
+ "type": "GetLatentSizeAndCount",
594
+ "count": 2
595
+ },
596
+ {
597
+ "type": "GetImageSizeAndCount",
598
+ "count": 2
599
+ },
600
+ {
601
+ "type": "MiniMaxH3AddGuide",
602
+ "count": 2
603
+ },
604
+ {
605
+ "type": "MarkdownNote",
606
+ "count": 1
607
+ },
608
+ {
609
+ "type": "07119851-5428-48a3-a461-1ab3b068799c",
610
+ "count": 1
611
+ },
612
+ {
613
+ "type": "ModelPreviewOverrideKJ",
614
+ "count": 1
615
+ },
616
+ {
617
+ "type": "3a08944f-220c-4078-8681-63c0f260e548",
618
+ "count": 1
619
+ },
620
+ {
621
+ "type": "cc4f3c17-635a-45cc-bf44-6d1c3af27c3b",
622
+ "count": 1
623
+ },
624
+ {
625
+ "type": "3a663545-426e-47c6-9401-c96b59b6dc1a",
626
+ "count": 1
627
+ },
628
+ {
629
+ "type": "ResolutionSelector",
630
+ "count": 1
631
+ },
632
+ {
633
+ "type": "LoadAudioUI",
634
+ "count": 1
635
+ },
636
+ {
637
+ "type": "a04e3fae-482c-4f75-a675-282716b9c592",
638
+ "count": 1
639
+ },
640
+ {
641
+ "type": "d0a77711-a824-4803-a311-f80a6e561561",
642
+ "count": 1
643
+ },
644
+ {
645
+ "type": "72e01e94-1f68-42a8-bb51-b9fad6de26c5",
646
+ "count": 1
647
+ },
648
+ {
649
+ "type": "b574ad05-3d50-4304-9b1d-c2c708ad36cb",
650
+ "count": 1
651
+ },
652
+ {
653
+ "type": "82aa8b12-c7a8-422b-ba78-0f6e430e13e9",
654
+ "count": 1
655
+ },
656
+ {
657
+ "type": "VHS_LoadVideo",
658
+ "count": 1
659
+ },
660
+ {
661
+ "type": "60493b99-ebf9-4301-ae6d-e9bd428b5fbb",
662
+ "count": 1
663
+ },
664
+ {
665
+ "type": "SaveImageAdvanced",
666
+ "count": 1
667
+ },
668
+ {
669
+ "type": "BatchImagesNode",
670
+ "count": 1
671
+ },
672
+ {
673
+ "type": "86ff6a37-c563-40d5-8f86-7f95e77d4b23",
674
+ "count": 1
675
+ },
676
+ {
677
+ "type": "923cd7c7-0083-46a2-9e46-d1f1817b3ad8",
678
+ "count": 1
679
+ },
680
+ {
681
+ "type": "easy boolean",
682
+ "count": 1
683
+ },
684
+ {
685
+ "type": "OllamaOptionsV2",
686
+ "count": 1
687
+ },
688
+ {
689
+ "type": "OllamaConnectivityV2",
690
+ "count": 1
691
+ },
692
+ {
693
+ "type": "CLIPLoader",
694
+ "count": 1
695
+ },
696
+ {
697
+ "type": "MiniMaxH3MemoryEfficientSageAttentionPatch",
698
+ "count": 1
699
+ },
700
+ {
701
+ "type": "MiniMaxH3SigmaShift",
702
+ "count": 1
703
+ },
704
+ {
705
+ "type": "SpectrumApplyMiniMaxH3",
706
+ "count": 1
707
+ },
708
+ {
709
+ "type": "UNETLoader",
710
+ "count": 1
711
+ },
712
+ {
713
+ "type": "PathchSageAttentionKJ",
714
+ "count": 1
715
+ },
716
+ {
717
+ "type": "ModelPatchTorchSettings",
718
+ "count": 1
719
+ },
720
+ {
721
+ "type": "ModelAttentionBackend",
722
+ "count": 1
723
+ },
724
+ {
725
+ "type": "ModelPatchLoader",
726
+ "count": 1
727
+ },
728
+ {
729
+ "type": "BlockSparseAttention",
730
+ "count": 1
731
+ },
732
+ {
733
+ "type": "easy forLoopEnd",
734
+ "count": 1
735
+ },
736
+ {
737
+ "type": "AudioConcat",
738
+ "count": 1
739
+ },
740
+ {
741
+ "type": "ImageBatchExtendWithOverlap",
742
+ "count": 1
743
+ },
744
+ {
745
+ "type": "easy forLoopStart",
746
+ "count": 1
747
+ },
748
+ {
749
+ "type": "ColorMatchV2",
750
+ "count": 1
751
+ },
752
+ {
753
+ "type": "easy convertAnything",
754
+ "count": 1
755
+ },
756
+ {
757
+ "type": "RMBG",
758
+ "count": 1
759
+ },
760
+ {
761
+ "type": "DWPreprocessor",
762
+ "count": 1
763
+ },
764
+ {
765
+ "type": "CannyEdgePreprocessor",
766
+ "count": 1
767
+ },
768
+ {
769
+ "type": "DepthAnythingPreprocessor",
770
+ "count": 1
771
+ },
772
+ {
773
+ "type": "CLIPTextEncode",
774
+ "count": 1
775
+ },
776
+ {
777
+ "type": "CheckpointLoaderSimple",
778
+ "count": 1
779
+ },
780
+ {
781
+ "type": "SAM3_TrackToMask",
782
+ "count": 1
783
+ },
784
+ {
785
+ "type": "SAM3_VideoTrack",
786
+ "count": 1
787
+ },
788
+ {
789
+ "type": "GrowMaskWithBlur",
790
+ "count": 1
791
+ },
792
+ {
793
+ "type": "DrawMaskOnImage",
794
+ "count": 1
795
+ },
796
+ {
797
+ "type": "ImpactSwitch",
798
+ "count": 1
799
+ }
800
+ ],
801
+ "models": [
802
+ "H3\\minimax_h3_ref2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors",
803
+ "H3\\minimax_h3_ref_lora_rank_256_bf16.safetensors",
804
+ "minimax_h3_audio_vae_fp32.safetensors",
805
+ "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
806
+ "minimax_h3_fun_controlnet_union_pruned_int8_convrot.safetensors",
807
+ "minimax_h3_latent_upscaler_3d_fp16.safetensors",
808
+ "minimax_h3_video_vae_int8_convrot.safetensors",
809
+ "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
810
+ "sam3.1_multiplex_fp16.safetensors",
811
+ "taeh3.safetensors"
812
+ ],
813
+ "notes": [
814
+ "Lightx2v Turbo-LoRA 8 step ver : shift_video 12.0 4 step ver : shift_video 6.0",
815
+ "Ref LoRA https://huggingface.co/Kijai/MiniMax-H3-experimental/tree/main/loras # When using Ref LoRA, inference can be performed using the Fl2VA model. Controlnet Union https://huggingface.co/Kijai/MiniMax-H3-experimental/tree/main/controlnet Comfyui_Minimax_h3_latent_Upscaler https://github.com/LBH-123-AI/Comfyui_Minimax_h3_latent_Upscaler Lightx2v Turbo-LoRA https://huggingface.co/lightx2v/Minimax-h3-Turbo Turbo-LoRA https://huggingface.co/drbaph/MiniMax-H3-Turbo-Lora-ComfyUI PDD ACC LoRA https://huggingface.co/Kijai/MiniMax-H3-experimental/tree/main/loras Spectrum-MiniMax-H3 https://github.com/xmarre/ComfyUI-Spectrum-MiniMax-H3.git",
816
+ "| megapixels | Aspect | Output (multiple=32) | |---|---|---| | 0.2 | 16:9 | 608 x 352 | | 0.3 | 16:9 | 736 x 416 | | 0.4 | 16:9 | 864 x 480 | | 0.5 | 16:9 | 960 x 544 | | 0.6 | 16:9 | 1056 x 608 | | 0.7 | 16:9 | 1152 x 640 | | 0.8 | 16:9 | 1216 x 672 | | 0.9 | 16:9 | 1280 x 736 | | 0.98 | 16:9 | 1344 x 768 | | 1.0 | 16:9 | 1376 x 768 | | 1.2 | 16:9 | 1504 x 832 | | 1.5 | 16:9 | 1664 x 928 | | 1.8 | 16:9 | 1824 x 1024 | | 2.0 | 16:9 | 1920 x 1088 |",
817
+ "Due to \"Start index is out of range\" error, only when using Controlnet or Edit for V2V during Extend, the generated video must be 22 frames (the offset) shorter than the Control Video or Target Video.",
818
+ "If an \"aimdo memory compile error\" occurs, please launch ComfyUI with the \"--disable-comfy-compiler\" flag."
819
+ ]
820
+ },
821
+ {
822
+ "file": "workflows/MiniMax_int8_Bridge-javano2609.1.1.json",
823
+ "title": "Bridge",
824
+ "subtitle": "Generate a transition clip between Video A and Video B",
825
+ "description": "Takes two clips and synthesizes a bridge that connects them: Video A -> generated cut -> Video B. Uses the R2V pipeline with Ref LoRA and keeps all clips at the same size.",
826
+ "features": [
827
+ "Video A -> Bridge -> Video B",
828
+ "R2V pipeline",
829
+ "Ref LoRA",
830
+ "INT8",
831
+ "Latent Upscaler"
832
+ ],
833
+ "topLevelNodes": 29,
834
+ "totalNodes": 128,
835
+ "inventory": [
836
+ {
837
+ "type": "ComfySwitchNode",
838
+ "count": 18
839
+ },
840
+ {
841
+ "type": "SetNode",
842
+ "count": 12
843
+ },
844
+ {
845
+ "type": "GetNode",
846
+ "count": 12
847
+ },
848
+ {
849
+ "type": "ComfyMathExpression",
850
+ "count": 7
851
+ },
852
+ {
853
+ "type": "LoraLoaderModelOnly",
854
+ "count": 7
855
+ },
856
+ {
857
+ "type": "LoadImage",
858
+ "count": 4
859
+ },
860
+ {
861
+ "type": "MiniMaxH3AddGuide",
862
+ "count": 4
863
+ },
864
+ {
865
+ "type": "ImageFromBatch",
866
+ "count": 4
867
+ },
868
+ {
869
+ "type": "Note",
870
+ "count": 3
871
+ },
872
+ {
873
+ "type": "AudioConcat",
874
+ "count": 3
875
+ },
876
+ {
877
+ "type": "VHS_VideoCombine",
878
+ "count": 2
879
+ },
880
+ {
881
+ "type": "LoadVideoUI",
882
+ "count": 2
883
+ },
884
+ {
885
+ "type": "MiniMaxH3ReferenceToVideo",
886
+ "count": 2
887
+ },
888
+ {
889
+ "type": "ImageResizeKJv2",
890
+ "count": 2
891
+ },
892
+ {
893
+ "type": "BasicScheduler",
894
+ "count": 2
895
+ },
896
+ {
897
+ "type": "TrimAudioDuration",
898
+ "count": 2
899
+ },
900
+ {
901
+ "type": "BatchImagesNode",
902
+ "count": 2
903
+ },
904
+ {
905
+ "type": "MMH3SplitUpscale",
906
+ "count": 2
907
+ },
908
+ {
909
+ "type": "ResizeImageMaskNode",
910
+ "count": 2
911
+ },
912
+ {
913
+ "type": "VAELoader",
914
+ "count": 2
915
+ },
916
+ {
917
+ "type": "8f69a255-ac28-4d17-9ddd-4e2f270b2235",
918
+ "count": 1
919
+ },
920
+ {
921
+ "type": "PreviewAny",
922
+ "count": 1
923
+ },
924
+ {
925
+ "type": "ModelPreviewOverrideKJ",
926
+ "count": 1
927
+ },
928
+ {
929
+ "type": "bd04b316-09de-4e3a-b064-b13b79237cbd",
930
+ "count": 1
931
+ },
932
+ {
933
+ "type": "bc3d9d1b-4372-41dd-a0f1-83325748885d",
934
+ "count": 1
935
+ },
936
+ {
937
+ "type": "97ac977a-60fa-4a0f-a37c-36f79484a144",
938
+ "count": 1
939
+ },
940
+ {
941
+ "type": "OllamaOptionsV2",
942
+ "count": 1
943
+ },
944
+ {
945
+ "type": "OllamaGenerateV2",
946
+ "count": 1
947
+ },
948
+ {
949
+ "type": "OllamaConnectivityV2",
950
+ "count": 1
951
+ },
952
+ {
953
+ "type": "PrimitiveInt",
954
+ "count": 1
955
+ },
956
+ {
957
+ "type": "GetImageSize",
958
+ "count": 1
959
+ },
960
+ {
961
+ "type": "CustomCombo",
962
+ "count": 1
963
+ },
964
+ {
965
+ "type": "KSamplerSelect",
966
+ "count": 1
967
+ },
968
+ {
969
+ "type": "easy convertAnything",
970
+ "count": 1
971
+ },
972
+ {
973
+ "type": "RandomNoise",
974
+ "count": 1
975
+ },
976
+ {
977
+ "type": "BasicGuider",
978
+ "count": 1
979
+ },
980
+ {
981
+ "type": "SamplerCustomAdvanced",
982
+ "count": 1
983
+ },
984
+ {
985
+ "type": "VAEDecode",
986
+ "count": 1
987
+ },
988
+ {
989
+ "type": "VAEDecodeAudio",
990
+ "count": 1
991
+ },
992
+ {
993
+ "type": "MinimaxH3LatentUpscaler3D",
994
+ "count": 1
995
+ },
996
+ {
997
+ "type": "LTXVSeparateAVLatent",
998
+ "count": 1
999
+ },
1000
+ {
1001
+ "type": "LTXVConcatAVLatent",
1002
+ "count": 1
1003
+ },
1004
+ {
1005
+ "type": "MMH3TemporalSplitParamsV10",
1006
+ "count": 1
1007
+ },
1008
+ {
1009
+ "type": "MMH3SpatialSplitParamsV10",
1010
+ "count": 1
1011
+ },
1012
+ {
1013
+ "type": "ManualSigmas",
1014
+ "count": 1
1015
+ },
1016
+ {
1017
+ "type": "CLIPLoader",
1018
+ "count": 1
1019
+ },
1020
+ {
1021
+ "type": "MiniMaxH3MemoryEfficientSageAttentionPatch",
1022
+ "count": 1
1023
+ },
1024
+ {
1025
+ "type": "MiniMaxH3SigmaShift",
1026
+ "count": 1
1027
+ },
1028
+ {
1029
+ "type": "SpectrumApplyMiniMaxH3",
1030
+ "count": 1
1031
+ },
1032
+ {
1033
+ "type": "UNETLoader",
1034
+ "count": 1
1035
+ },
1036
+ {
1037
+ "type": "PathchSageAttentionKJ",
1038
+ "count": 1
1039
+ },
1040
+ {
1041
+ "type": "ModelPatchTorchSettings",
1042
+ "count": 1
1043
+ },
1044
+ {
1045
+ "type": "ModelAttentionBackend",
1046
+ "count": 1
1047
+ },
1048
+ {
1049
+ "type": "BlockSparseAttention",
1050
+ "count": 1
1051
+ }
1052
+ ],
1053
+ "models": [
1054
+ "H3\\minimax_h3_ref2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors",
1055
+ "H3\\minimax_h3_ref_lora_rank_256_bf16.safetensors",
1056
+ "minimax_h3_audio_vae_fp32.safetensors",
1057
+ "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
1058
+ "minimax_h3_latent_upscaler_3d_fp16.safetensors",
1059
+ "minimax_h3_video_vae_int8_convrot.safetensors",
1060
+ "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
1061
+ "taeh3.safetensors"
1062
+ ],
1063
+ "notes": [
1064
+ "Video A, the generated cut, and Video B must all be the same size.",
1065
+ "Ref LoRA https://huggingface.co/Kijai/MiniMax-H3-experimental/tree/main/loras # When using Ref LoRA, inference can be performed using the Fl2VA model. Controlnet Union https://huggingface.co/Kijai/MiniMax-H3-experimental/tree/main/controlnet Comfyui_Minimax_h3_latent_Upscaler https://github.com/LBH-123-AI/Comfyui_Minimax_h3_latent_Upscaler Lightx2v Turbo-LoRA https://huggingface.co/lightx2v/Minimax-h3-Turbo Turbo-LoRA https://huggingface.co/drbaph/MiniMax-H3-Turbo-Lora-ComfyUI PDD ACC LoRA https://huggingface.co/Kijai/MiniMax-H3-experimental/tree/main/loras Spectrum-MiniMax-H3 https://github.com/xmarre/ComfyUI-Spectrum-MiniMax-H3.git"
1066
+ ]
1067
+ },
1068
+ {
1069
+ "file": "workflows/MiniMax_int8_FR-javano2609.1.1.json",
1070
+ "title": "Face Refine",
1071
+ "subtitle": "Automatic face detection and refinement pass",
1072
+ "description": "Refines faces in generated video with ComfyUI-H3-FaceRefine. For small faces, raise crop_size (e.g. 512-640) at the cost of slower processing.",
1073
+ "features": [
1074
+ "FaceRefine",
1075
+ "Automatic detection",
1076
+ "INT8",
1077
+ "R2V pipeline",
1078
+ "Selectable crop size"
1079
+ ],
1080
+ "topLevelNodes": 18,
1081
+ "totalNodes": 78,
1082
+ "inventory": [
1083
+ {
1084
+ "type": "ComfySwitchNode",
1085
+ "count": 6
1086
+ },
1087
+ {
1088
+ "type": "Note",
1089
+ "count": 4
1090
+ },
1091
+ {
1092
+ "type": "VHS_VideoCombine",
1093
+ "count": 3
1094
+ },
1095
+ {
1096
+ "type": "PrimitiveBoolean",
1097
+ "count": 3
1098
+ },
1099
+ {
1100
+ "type": "AddLabel",
1101
+ "count": 2
1102
+ },
1103
+ {
1104
+ "type": "VAELoader",
1105
+ "count": 2
1106
+ },
1107
+ {
1108
+ "type": "LoraLoaderModelOnly",
1109
+ "count": 2
1110
+ },
1111
+ {
1112
+ "type": "RandomNoise",
1113
+ "count": 2
1114
+ },
1115
+ {
1116
+ "type": "KSamplerSelect",
1117
+ "count": 2
1118
+ },
1119
+ {
1120
+ "type": "LTXVConcatAVLatent",
1121
+ "count": 2
1122
+ },
1123
+ {
1124
+ "type": "VAEEncodeAudio",
1125
+ "count": 2
1126
+ },
1127
+ {
1128
+ "type": "VAEDecode",
1129
+ "count": 2
1130
+ },
1131
+ {
1132
+ "type": "BasicScheduler",
1133
+ "count": 2
1134
+ },
1135
+ {
1136
+ "type": "MiniMaxH3ReferenceToVideo",
1137
+ "count": 2
1138
+ },
1139
+ {
1140
+ "type": "GetImageRangeFromBatch",
1141
+ "count": 2
1142
+ },
1143
+ {
1144
+ "type": "ComfyMathExpression",
1145
+ "count": 2
1146
+ },
1147
+ {
1148
+ "type": "2116b7a6-0103-4b9f-97d9-19d9554b768f",
1149
+ "count": 1
1150
+ },
1151
+ {
1152
+ "type": "ModelPreviewOverrideKJ",
1153
+ "count": 1
1154
+ },
1155
+ {
1156
+ "type": "b8839f65-32ab-4ce1-a3fc-4912368c2ed3",
1157
+ "count": 1
1158
+ },
1159
+ {
1160
+ "type": "0054af6e-df24-47e4-b99f-9e74d18a3519",
1161
+ "count": 1
1162
+ },
1163
+ {
1164
+ "type": "LoadVideoUI",
1165
+ "count": 1
1166
+ },
1167
+ {
1168
+ "type": "LoadImage",
1169
+ "count": 1
1170
+ },
1171
+ {
1172
+ "type": "2c9f2183-726b-494c-8073-4a254f5300f3",
1173
+ "count": 1
1174
+ },
1175
+ {
1176
+ "type": "87f3687c-de7e-48a5-af78-65788265c38d",
1177
+ "count": 1
1178
+ },
1179
+ {
1180
+ "type": "Group Controller",
1181
+ "count": 1
1182
+ },
1183
+ {
1184
+ "type": "ImageConcanate",
1185
+ "count": 1
1186
+ },
1187
+ {
1188
+ "type": "ImageScaleToMaxDimension",
1189
+ "count": 1
1190
+ },
1191
+ {
1192
+ "type": "ImageListToImageBatch",
1193
+ "count": 1
1194
+ },
1195
+ {
1196
+ "type": "GetImageSizeAndCount",
1197
+ "count": 1
1198
+ },
1199
+ {
1200
+ "type": "MiniMaxH3MemoryEfficientSageAttentionPatch",
1201
+ "count": 1
1202
+ },
1203
+ {
1204
+ "type": "CLIPLoader",
1205
+ "count": 1
1206
+ },
1207
+ {
1208
+ "type": "MiniMaxH3SigmaShift",
1209
+ "count": 1
1210
+ },
1211
+ {
1212
+ "type": "UNETLoader",
1213
+ "count": 1
1214
+ },
1215
+ {
1216
+ "type": "PathchSageAttentionKJ",
1217
+ "count": 1
1218
+ },
1219
+ {
1220
+ "type": "ModelPatchTorchSettings",
1221
+ "count": 1
1222
+ },
1223
+ {
1224
+ "type": "ModelAttentionBackend",
1225
+ "count": 1
1226
+ },
1227
+ {
1228
+ "type": "BlockSparseAttention",
1229
+ "count": 1
1230
+ },
1231
+ {
1232
+ "type": "SamplerCustomAdvanced",
1233
+ "count": 1
1234
+ },
1235
+ {
1236
+ "type": "H3FaceMaskSAM",
1237
+ "count": 1
1238
+ },
1239
+ {
1240
+ "type": "LTXVSeparateAVLatent",
1241
+ "count": 1
1242
+ },
1243
+ {
1244
+ "type": "H3InjectVideoLatent",
1245
+ "count": 1
1246
+ },
1247
+ {
1248
+ "type": "SAMLoader",
1249
+ "count": 1
1250
+ },
1251
+ {
1252
+ "type": "H3FaceStitch",
1253
+ "count": 1
1254
+ },
1255
+ {
1256
+ "type": "H3FaceTrackCrop",
1257
+ "count": 1
1258
+ },
1259
+ {
1260
+ "type": "H3PerFrameDenoise",
1261
+ "count": 1
1262
+ },
1263
+ {
1264
+ "type": "BasicGuider",
1265
+ "count": 1
1266
+ },
1267
+ {
1268
+ "type": "BatchImagesNode",
1269
+ "count": 1
1270
+ },
1271
+ {
1272
+ "type": "EmptyMiniMaxH3LatentAV",
1273
+ "count": 1
1274
+ },
1275
+ {
1276
+ "type": "GetLatentSizeAndCount",
1277
+ "count": 1
1278
+ },
1279
+ {
1280
+ "type": "VAEEncodeTiled",
1281
+ "count": 1
1282
+ },
1283
+ {
1284
+ "type": "MinimaxH3LatentUpscaler3D",
1285
+ "count": 1
1286
+ },
1287
+ {
1288
+ "type": "GetImageSize",
1289
+ "count": 1
1290
+ },
1291
+ {
1292
+ "type": "ManualSigmas",
1293
+ "count": 1
1294
+ },
1295
+ {
1296
+ "type": "MMH3SplitUpscale",
1297
+ "count": 1
1298
+ }
1299
+ ],
1300
+ "models": [
1301
+ "H3\\minimax_h3_ref2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors",
1302
+ "H3\\minimax_h3_ref_lora_rank_256_bf16.safetensors",
1303
+ "minimax_h3_audio_vae_fp32.safetensors",
1304
+ "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
1305
+ "minimax_h3_video_vae_int8_convrot.safetensors",
1306
+ "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
1307
+ "taeh3.safetensors"
1308
+ ],
1309
+ "notes": [
1310
+ "Ref LoRA https://huggingface.co/Kijai/MiniMax-H3-experimental/tree/main/loras FaceRefine https://github.com/Carasibana/ComfyUI-H3-FaceRefine Comfyui_Minimax_h3_latent_Upscaler https://github.com/LBH-123-AI/Comfyui_Minimax_h3_latent_Upscaler Face Model https://huggingface.co/Anzhc/Anzhcs_YOLOs https://huggingface.co/facebook/sam2.1-hiera-large",
1311
+ "If the face you want to refine is too small, increase \"crop_size\" to a value like 512 or 640; however, note that processing time will slow.",
1312
+ "Targets the range from 0 to the specified frame(range).",
1313
+ "Upscale Processing is very slow!"
1314
+ ]
1315
+ },
1316
+ {
1317
+ "file": "workflows/MiniMax_int8_TTS-javano2609.1.json",
1318
+ "title": "Text-to-Speech / Video-to-Audio",
1319
+ "subtitle": "Fast audio-only speech generation, or new background audio for a mute clip",
1320
+ "description": "Generate speech from text or new ambient audio for an existing video. Not a lip-sync tool: it produces background sound, leaving the video frames untouched.",
1321
+ "features": [
1322
+ "Audio-only",
1323
+ "TTS",
1324
+ "Video-to-Audio",
1325
+ "INT8",
1326
+ "SpeechLengthCalculator"
1327
+ ],
1328
+ "topLevelNodes": 9,
1329
+ "totalNodes": 47,
1330
+ "inventory": [
1331
+ {
1332
+ "type": "ComfySwitchNode",
1333
+ "count": 7
1334
+ },
1335
+ {
1336
+ "type": "VAELoader",
1337
+ "count": 2
1338
+ },
1339
+ {
1340
+ "type": "LoraLoaderModelOnly",
1341
+ "count": 2
1342
+ },
1343
+ {
1344
+ "type": "ComfyMathExpression",
1345
+ "count": 2
1346
+ },
1347
+ {
1348
+ "type": "LoadImage",
1349
+ "count": 1
1350
+ },
1351
+ {
1352
+ "type": "SaveAudioAdvanced",
1353
+ "count": 1
1354
+ },
1355
+ {
1356
+ "type": "SpeechLengthCalculator",
1357
+ "count": 1
1358
+ },
1359
+ {
1360
+ "type": "466b2449-e267-4ec5-9751-96c224d14021",
1361
+ "count": 1
1362
+ },
1363
+ {
1364
+ "type": "VHS_LoadVideo",
1365
+ "count": 1
1366
+ },
1367
+ {
1368
+ "type": "VHS_VideoCombine",
1369
+ "count": 1
1370
+ },
1371
+ {
1372
+ "type": "1b57c27c-2176-4876-a458-298b3a1dd837",
1373
+ "count": 1
1374
+ },
1375
+ {
1376
+ "type": "PreviewAny",
1377
+ "count": 1
1378
+ },
1379
+ {
1380
+ "type": "Note",
1381
+ "count": 1
1382
+ },
1383
+ {
1384
+ "type": "RandomNoise",
1385
+ "count": 1
1386
+ },
1387
+ {
1388
+ "type": "BasicGuider",
1389
+ "count": 1
1390
+ },
1391
+ {
1392
+ "type": "KSamplerSelect",
1393
+ "count": 1
1394
+ },
1395
+ {
1396
+ "type": "SamplerCustomAdvanced",
1397
+ "count": 1
1398
+ },
1399
+ {
1400
+ "type": "CLIPLoader",
1401
+ "count": 1
1402
+ },
1403
+ {
1404
+ "type": "VAEDecodeAudio",
1405
+ "count": 1
1406
+ },
1407
+ {
1408
+ "type": "BasicScheduler",
1409
+ "count": 1
1410
+ },
1411
+ {
1412
+ "type": "easy int",
1413
+ "count": 1
1414
+ },
1415
+ {
1416
+ "type": "MiniMaxH3SigmaShift",
1417
+ "count": 1
1418
+ },
1419
+ {
1420
+ "type": "UNETLoader",
1421
+ "count": 1
1422
+ },
1423
+ {
1424
+ "type": "ModelPatchTorchSettings",
1425
+ "count": 1
1426
+ },
1427
+ {
1428
+ "type": "MiniMaxH3MemoryEfficientSageAttentionPatch",
1429
+ "count": 1
1430
+ },
1431
+ {
1432
+ "type": "PathchSageAttentionKJ",
1433
+ "count": 1
1434
+ },
1435
+ {
1436
+ "type": "ModelAttentionBackend",
1437
+ "count": 1
1438
+ },
1439
+ {
1440
+ "type": "BlockSparseAttention",
1441
+ "count": 1
1442
+ },
1443
+ {
1444
+ "type": "LTXVSeparateAVLatent",
1445
+ "count": 1
1446
+ },
1447
+ {
1448
+ "type": "VAEEncode",
1449
+ "count": 1
1450
+ },
1451
+ {
1452
+ "type": "LTXVConcatAVLatent",
1453
+ "count": 1
1454
+ },
1455
+ {
1456
+ "type": "ResizeImageMaskNode",
1457
+ "count": 1
1458
+ },
1459
+ {
1460
+ "type": "MiniMaxH3ReferenceToVideo",
1461
+ "count": 1
1462
+ },
1463
+ {
1464
+ "type": "GetImageSize",
1465
+ "count": 1
1466
+ },
1467
+ {
1468
+ "type": "PrimitiveInt",
1469
+ "count": 1
1470
+ },
1471
+ {
1472
+ "type": "OllamaOptionsV2",
1473
+ "count": 1
1474
+ },
1475
+ {
1476
+ "type": "OllamaGenerateV2",
1477
+ "count": 1
1478
+ },
1479
+ {
1480
+ "type": "OllamaConnectivityV2",
1481
+ "count": 1
1482
+ }
1483
+ ],
1484
+ "models": [
1485
+ "H3\\minimax_h3_ref2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors",
1486
+ "H3\\minimax_h3_ref_lora_rank_256_bf16.safetensors",
1487
+ "minimax_h3_audio_vae_fp32.safetensors",
1488
+ "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
1489
+ "minimax_h3_video_vae_int8_convrot.safetensors",
1490
+ "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors"
1491
+ ],
1492
+ "notes": [
1493
+ "Video-to-Audio does not regenerate the video. In other words, it is not intended for lip sync. Its purpose is to generate new background sounds that are missing from the video."
1494
+ ]
1495
+ },
1496
+ {
1497
+ "file": "extra/MiniMax-Music3-javano2608.1.json",
1498
+ "title": "Music 3",
1499
+ "subtitle": "Songs up to 5 minutes from a structured music caption",
1500
+ "description": "MiniMax Music 3 generates complete, stable songs (up to 5 min) from a music description with an optional reference audio track.",
1501
+ "features": [
1502
+ "Music generation",
1503
+ "Up to 5 min",
1504
+ "Caption + reference audio"
1505
+ ],
1506
+ "topLevelNodes": 7,
1507
+ "totalNodes": 22,
1508
+ "inventory": [
1509
+ {
1510
+ "type": "PreviewAny",
1511
+ "count": 1
1512
+ },
1513
+ {
1514
+ "type": "PreviewAudio",
1515
+ "count": 1
1516
+ },
1517
+ {
1518
+ "type": "MarkdownNote",
1519
+ "count": 1
1520
+ },
1521
+ {
1522
+ "type": "ac99f841-a3de-4329-9564-953b81cf9e16",
1523
+ "count": 1
1524
+ },
1525
+ {
1526
+ "type": "SaveAudioAdvanced",
1527
+ "count": 1
1528
+ },
1529
+ {
1530
+ "type": "7ef02436-c462-4950-94cb-2d3358359c65",
1531
+ "count": 1
1532
+ },
1533
+ {
1534
+ "type": "PrimitiveStringMultiline",
1535
+ "count": 1
1536
+ },
1537
+ {
1538
+ "type": "CLIPLoader",
1539
+ "count": 1
1540
+ },
1541
+ {
1542
+ "type": "VAELoader",
1543
+ "count": 1
1544
+ },
1545
+ {
1546
+ "type": "ConditioningZeroOut",
1547
+ "count": 1
1548
+ },
1549
+ {
1550
+ "type": "EmptyMiniMaxMusic3LatentAudio",
1551
+ "count": 1
1552
+ },
1553
+ {
1554
+ "type": "KSampler",
1555
+ "count": 1
1556
+ },
1557
+ {
1558
+ "type": "SeedNode",
1559
+ "count": 1
1560
+ },
1561
+ {
1562
+ "type": "VAEDecodeAudio",
1563
+ "count": 1
1564
+ },
1565
+ {
1566
+ "type": "ComfySwitchNode",
1567
+ "count": 1
1568
+ },
1569
+ {
1570
+ "type": "AudioEnhancementNode",
1571
+ "count": 1
1572
+ },
1573
+ {
1574
+ "type": "Reroute",
1575
+ "count": 1
1576
+ },
1577
+ {
1578
+ "type": "MiniMaxMusic3TextEncode",
1579
+ "count": 1
1580
+ },
1581
+ {
1582
+ "type": "DiffusionModelLoaderKJ",
1583
+ "count": 1
1584
+ },
1585
+ {
1586
+ "type": "OllamaOptionsV2",
1587
+ "count": 1
1588
+ },
1589
+ {
1590
+ "type": "OllamaConnectivityV2",
1591
+ "count": 1
1592
+ },
1593
+ {
1594
+ "type": "OllamaGenerateV2",
1595
+ "count": 1
1596
+ }
1597
+ ],
1598
+ "models": [
1599
+ "minimax_music3_dav.safetensors",
1600
+ "minimax_music3_dit_fp32.safetensors",
1601
+ "minimax_music3_text_encoder_pruned_bf16.safetensors"
1602
+ ],
1603
+ "notes": [
1604
+ "## MiniMax Music 3 A music generation model by MiniMax that creates complete songs up to 5 minutes long with stable structure and high audio quality. Two inputs drive it: **Caption** (structured music description: style, mood, vocals, arrangement) and **Lyrics** (with `[intro]` `[verse]` `[chorus]` `[bridge]` `[outro]` tags controlling song structure). ### Parameters | Parameter | Description | |---|---| | Caption | Music description. Write it in three sections — Global Metadata → Vocal Details → Arrangement. The more specific, the closer the result. | | Lyrics | Song lyrics + section tags. Tags are the only executable structural instructions; the lyric text itself only conveys mood. | | max_duration | Target song length in seconds (default 120 = 2 minutes; the model supports up to ~300 s / 5 minutes). Longer songs take more time and VRAM. | | seed | Random seed for the generation. Keep it fixed to reproduce the same song; change it to get a different take. | | Model files | diffusion model / text encoder / VAE.| | Tiled decode | Decode the audio VAE in overlapping tiles to drastically cut VRAM usage — helpful for long songs on low-VRAM GPUs. Slightly slower, with a small risk of seams at tile boundaries; turn it off on high-VRAM GPUs for the best quality. | ### Prompt Writing Guide You can find an official [Music Caption Rewriter Skill here](https://github.com/MiniMax-AI/MiniMax-Music3)"
1605
+ ]
1606
+ },
1607
+ {
1608
+ "file": "extra/MiniMax_int8-Ref2Image-javano2608.2.json",
1609
+ "title": "Ref2Image",
1610
+ "subtitle": "Reference-guided single image generation",
1611
+ "description": "INT8 image generation conditioned on a reference image and Ref LoRA, with the Latent Upscaler for high-resolution output.",
1612
+ "features": [
1613
+ "Reference image",
1614
+ "INT8",
1615
+ "Ref LoRA",
1616
+ "Latent Upscaler"
1617
+ ],
1618
+ "topLevelNodes": 15,
1619
+ "totalNodes": 51,
1620
+ "inventory": [
1621
+ {
1622
+ "type": "LoraLoaderModelOnly",
1623
+ "count": 7
1624
+ },
1625
+ {
1626
+ "type": "ComfySwitchNode",
1627
+ "count": 5
1628
+ },
1629
+ {
1630
+ "type": "LoadImage",
1631
+ "count": 4
1632
+ },
1633
+ {
1634
+ "type": "Note",
1635
+ "count": 2
1636
+ },
1637
+ {
1638
+ "type": "VAELoader",
1639
+ "count": 2
1640
+ },
1641
+ {
1642
+ "type": "CFGGuider",
1643
+ "count": 2
1644
+ },
1645
+ {
1646
+ "type": "SamplerCustomAdvanced",
1647
+ "count": 2
1648
+ },
1649
+ {
1650
+ "type": "BasicScheduler",
1651
+ "count": 2
1652
+ },
1653
+ {
1654
+ "type": "9122ef1f-6c5c-4bbb-bfb1-88492720488e",
1655
+ "count": 1
1656
+ },
1657
+ {
1658
+ "type": "PreviewAny",
1659
+ "count": 1
1660
+ },
1661
+ {
1662
+ "type": "MarkdownNote",
1663
+ "count": 1
1664
+ },
1665
+ {
1666
+ "type": "ResolutionSelector",
1667
+ "count": 1
1668
+ },
1669
+ {
1670
+ "type": "ModelPreviewOverrideKJ",
1671
+ "count": 1
1672
+ },
1673
+ {
1674
+ "type": "d82a9cc9-ee6f-47c5-9e22-6fcdc0e7146a",
1675
+ "count": 1
1676
+ },
1677
+ {
1678
+ "type": "4b173715-6297-498a-a94b-2e5aed2a91ea",
1679
+ "count": 1
1680
+ },
1681
+ {
1682
+ "type": "SaveImageAdvanced",
1683
+ "count": 1
1684
+ },
1685
+ {
1686
+ "type": "85362315-ca4f-4a6f-b770-afd3b5a06baa",
1687
+ "count": 1
1688
+ },
1689
+ {
1690
+ "type": "MiniMaxH3MemoryEfficientSageAttentionPatch",
1691
+ "count": 1
1692
+ },
1693
+ {
1694
+ "type": "DiffusionModelLoaderKJ",
1695
+ "count": 1
1696
+ },
1697
+ {
1698
+ "type": "MiniMaxH3SigmaShift",
1699
+ "count": 1
1700
+ },
1701
+ {
1702
+ "type": "CLIPLoader",
1703
+ "count": 1
1704
+ },
1705
+ {
1706
+ "type": "OllamaOptionsV2",
1707
+ "count": 1
1708
+ },
1709
+ {
1710
+ "type": "OllamaGenerateV2",
1711
+ "count": 1
1712
+ },
1713
+ {
1714
+ "type": "OllamaConnectivityV2",
1715
+ "count": 1
1716
+ },
1717
+ {
1718
+ "type": "KSamplerSelect",
1719
+ "count": 1
1720
+ },
1721
+ {
1722
+ "type": "ConditioningZeroOut",
1723
+ "count": 1
1724
+ },
1725
+ {
1726
+ "type": "VAEDecode",
1727
+ "count": 1
1728
+ },
1729
+ {
1730
+ "type": "ImageFromBatch",
1731
+ "count": 1
1732
+ },
1733
+ {
1734
+ "type": "RandomNoise",
1735
+ "count": 1
1736
+ },
1737
+ {
1738
+ "type": "MiniMaxH3ReferenceToVideo",
1739
+ "count": 1
1740
+ },
1741
+ {
1742
+ "type": "LTXVSeparateAVLatent",
1743
+ "count": 1
1744
+ },
1745
+ {
1746
+ "type": "MinimaxH3LatentUpscaler3D",
1747
+ "count": 1
1748
+ },
1749
+ {
1750
+ "type": "LTXVConcatAVLatent",
1751
+ "count": 1
1752
+ }
1753
+ ],
1754
+ "models": [
1755
+ "H3\\minimax_h3_ref2v_lightx2v_turbo_4step_v0.1_resized_avg_rank_20_bf16.safetensors",
1756
+ "H3\\minimax_h3_ref_lora_rank_256_bf16.safetensors",
1757
+ "minimax_h3_audio_vae_fp32.safetensors",
1758
+ "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
1759
+ "minimax_h3_latent_upscaler_3d_fp16.safetensors",
1760
+ "minimax_h3_video_vae_int8_convrot.safetensors",
1761
+ "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
1762
+ "taeh3.safetensors"
1763
+ ],
1764
+ "notes": [
1765
+ "| megapixels | Aspect | Output (multiple=32) | |---|---|---| | 0.2 | 16:9 | 608 x 352 | | 0.3 | 16:9 | 736 x 416 | | 0.4 | 16:9 | 864 x 480 | | 0.5 | 16:9 | 960 x 544 | | 0.6 | 16:9 | 1056 x 608 | | 0.7 | 16:9 | 1152 x 640 | | 0.8 | 16:9 | 1216 x 672 | | 0.9 | 16:9 | 1280 x 736 | | 0.98 | 16:9 | 1344 x 768 | | 1.0 | 16:9 | 1376 x 768 | | 1.2 | 16:9 | 1504 x 832 | | 1.5 | 16:9 | 1664 x 928 | | 1.8 | 16:9 | 1824 x 1024 | | 2.0 | 16:9 | 1920 x 1088 |",
1766
+ "Ref LoRA https://huggingface.co/Kijai/MiniMax-H3-experimental/tree/main/loras Comfyui_Minimax_h3_latent_Upscaler https://github.com/LBH-123-AI/Comfyui_Minimax_h3_latent_Upscaler"
1767
+ ]
1768
+ }
1769
+ ]
1770
+ };
extra/MiniMax-Music3-javano2608.1.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"id":"08882d3e-437d-43da-b498-083de04a60a6","revision":0,"last_node_id":144,"last_link_id":327,"nodes":[{"id":136,"type":"PreviewAny","pos":[1500,580],"size":[490,160],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"source","name":"source","type":"*","link":306}],"outputs":[{"localized_name":"STRING","name":"STRING","type":"STRING","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.18.1","Node name for S&R":"PreviewAny"},"widgets_values":[],"widgets_values_named":{}},{"id":137,"type":"PreviewAudio","pos":[1500,1130],"size":[490,90],"flags":{},"order":5,"mode":4,"inputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","link":325},{"localized_name":"audioUI","name":"audioUI","type":"AUDIO_UI","widget":{"name":"audioUI"},"link":null}],"outputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","links":[315]}],"properties":{"cnr_id":"comfy-core","ver":"0.14.1","Node name for S&R":"PreviewAudio"},"widgets_values":[],"widgets_values_named":{}},{"id":142,"type":"MarkdownNote","pos":[510,790],"size":[520,660],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[],"title":"Note: MiniMax Music 3","properties":{},"widgets_values":["## MiniMax Music 3\n\nA music generation model by MiniMax that creates complete songs up to 5 minutes long with stable structure and high audio quality. Two inputs drive it: **Caption** (structured music description: style, mood, vocals, arrangement) and **Lyrics** (with `[intro]` `[verse]` `[chorus]` `[bridge]` `[outro]` tags controlling song structure).\n\n### Parameters\n\n| Parameter | Description |\n|---|---|\n| Caption | Music description. Write it in three sections — Global Metadata → Vocal Details → Arrangement. The more specific, the closer the result. |\n| Lyrics | Song lyrics + section tags. Tags are the only executable structural instructions; the lyric text itself only conveys mood. |\n| max_duration | Target song length in seconds (default 120 = 2 minutes; the model supports up to ~300 s / 5 minutes). Longer songs take more time and VRAM. |\n| seed | Random seed for the generation. Keep it fixed to reproduce the same song; change it to get a different take. |\n| Model files | diffusion model / text encoder / VAE.|\n| Tiled decode | Decode the audio VAE in overlapping tiles to drastically cut VRAM usage — helpful for long songs on low-VRAM GPUs. Slightly slower, with a small risk of seams at tile boundaries; turn it off on high-VRAM GPUs for the best quality. |\n\n### Prompt Writing Guide\n\nYou can find an official [Music Caption Rewriter Skill here](https://github.com/MiniMax-AI/MiniMax-Music3)"],"widgets_values_named":{"text":"## MiniMax Music 3\n\nA music generation model by MiniMax that creates complete songs up to 5 minutes long with stable structure and high audio quality. Two inputs drive it: **Caption** (structured music description: style, mood, vocals, arrangement) and **Lyrics** (with `[intro]` `[verse]` `[chorus]` `[bridge]` `[outro]` tags controlling song structure).\n\n### Parameters\n\n| Parameter | Description |\n|---|---|\n| Caption | Music description. Write it in three sections — Global Metadata → Vocal Details → Arrangement. The more specific, the closer the result. |\n| Lyrics | Song lyrics + section tags. Tags are the only executable structural instructions; the lyric text itself only conveys mood. |\n| max_duration | Target song length in seconds (default 120 = 2 minutes; the model supports up to ~300 s / 5 minutes). Longer songs take more time and VRAM. |\n| seed | Random seed for the generation. Keep it fixed to reproduce the same song; change it to get a different take. |\n| Model files | diffusion model / text encoder / VAE.|\n| Tiled decode | Decode the audio VAE in overlapping tiles to drastically cut VRAM usage — helpful for long songs on low-VRAM GPUs. Slightly slower, with a small risk of seams at tile boundaries; turn it off on high-VRAM GPUs for the best quality. |\n\n### Prompt Writing Guide\n\nYou can find an official [Music Caption Rewriter Skill here](https://github.com/MiniMax-AI/MiniMax-Music3)"},"color":"#222","bgcolor":"#000"},{"id":37,"type":"ac99f841-a3de-4329-9564-953b81cf9e16","pos":[1500,790],"size":[490,290],"flags":{},"order":4,"mode":0,"inputs":[{"name":"caption","type":"STRING","widget":{"name":"caption"},"link":324},{"name":"lyrics","type":"STRING","widget":{"name":"lyrics"},"link":320},{"name":"max_duration","type":"FLOAT","widget":{"name":"max_duration"},"link":null},{"name":"seed","type":"INT","widget":{"name":"seed"},"link":null},{"label":"model_name","name":"unet_name","type":"COMBO","widget":{"name":"unet_name"},"link":null},{"name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":null},{"name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":null},{"label":"enable audio enhanced","name":"switch","type":"BOOLEAN","widget":{"name":"switch"},"link":null}],"outputs":[{"localized_name":"AUDIO","name":"AUDIO","type":"AUDIO","links":[325]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","previewExposures":[]},"widgets_values":["","",60,513849054317328,"minimax_music3_dit_fp32.safetensors","minimax_music3_text_encoder_pruned_bf16.safetensors","minimax_music3_dav.safetensors",true],"widgets_values_named":{"caption":"","lyrics":"","max_duration":60,"seed":513849054317328,"unet_name":"minimax_music3_dit_fp32.safetensors","clip_name":"minimax_music3_text_encoder_pruned_bf16.safetensors","vae_name":"minimax_music3_dav.safetensors","switch":true},"color":"#222","bgcolor":"#000"},{"id":35,"type":"SaveAudioAdvanced","pos":[1500,1270],"size":[490,160],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","link":315},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null},{"localized_name":"format","name":"format","type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"format"},"link":null},{"localized_name":"format.quality","name":"format.quality","type":"COMBO","widget":{"name":"format.quality"},"link":null},{"localized_name":"audioUI","name":"audioUI","type":"AUDIO_UI","widget":{"name":"audioUI"},"link":null}],"outputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"SaveAudioAdvanced"},"widgets_values":["audio/Minimax_Music3","mp3","320k"],"widgets_values_named":{"filename_prefix":"audio/Minimax_Music3","format":"mp3","format.quality":"320k"}},{"id":135,"type":"7ef02436-c462-4950-94cb-2d3358359c65","pos":[1050,790],"size":[430,250],"flags":{"collapsed":false},"order":2,"mode":0,"inputs":[{"localized_name":"system","name":"system","type":"STRING","widget":{"name":"system"},"link":null},{"localized_name":"prompt","name":"prompt","type":"STRING","widget":{"name":"prompt"},"link":null},{"name":"model","type":"COMBO","widget":{"name":"model"},"link":null}],"outputs":[{"localized_name":"STRING","name":"STRING","type":"STRING","links":[306,324]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.76","previewExposures":[]},"widgets_values":["You are an expert music prompt engineer specialized in MiniMax Music 3.\n\nYour task is to transform the user's musical description into a concise, high-information Music Description optimized for MiniMax Music 3.\n\nLyrics are provided separately.\nNEVER generate, rewrite, summarize, or modify lyrics.\n\nOutput only these three sections:\n\nGlobal Metadata:\nVocal Details:\nArrangement:\n\n==================================================\nCORE PRINCIPLE\n==================================================\n\nBe concise and musically specific.\n\nDo not maximize the amount of text.\n\nThe goal is to communicate the essential musical identity, vocal character, instrumentation, groove, and arrangement clearly while leaving reasonable creative freedom to MiniMax Music 3.\n\nPreserve the user's explicit information.\n\nDo not invent unnecessary details.\n\nDo not explain your reasoning.\n\n==================================================\nPRESERVE USER INPUT\n==================================================\n\nExplicit user parameters must be preserved exactly.\n\nThis includes:\n\n- duration\n- BPM\n- key\n- scale\n- genre\n- vocal type\n- musical style\n- mood\n- requested instruments\n- requested performance style\n\nNever reinterpret or replace explicit values.\n\nExample:\n\nUser:\n\"150 BPM, D minor\"\n\nCorrect:\n\"150 BPM, D minor.\"\n\nIncorrect:\n\"150 BPM, A major, inferred as more suitable.\"\n\nNever change the user's key or BPM.\n\n==================================================\nDURATION\n==================================================\n\nTreat duration only as a constraint on overall arrangement density and complexity.\n\nDo NOT calculate or describe exact timestamps.\n\nDo NOT invent:\n\n- exact seconds\n- exact bar counts\n- exact transition times\n- exact section durations\n- \"second 58\"\n- \"final 2 seconds\"\n- \"after 4 bars\"\n\nunless the user explicitly provides those timings.\n\nFor short tracks, use a compact arrangement and reach the main musical idea quickly.\n\nDo not explain how the duration affects the arrangement.\n\n==================================================\nGLOBAL METADATA\n==================================================\n\nWrite approximately 1–3 concise sentences.\n\nDescribe:\n\n- genre / subgenre\n- BPM\n- key / scale\n- overall mood\n- broad rhythmic character\n- broad sonic / production character\n\nUse natural musical language.\n\nDo not add:\n\n- hypothetical listening scenarios\n- commercial purposes\n- audience assumptions\n- narrative concepts\n- unrelated stylistic references\n\nunless explicitly requested.\n\nExample:\n\nGlobal Metadata:\nHigh-energy drum'n'bass with Detroit rap and underground street-dance influences, 150 BPM, D minor. Fast, gritty, aggressive, and rhythmically driven, combining rapid breakbeats, heavy sub-bass, and raw electronic textures.\n\n==================================================\nVOCAL DETAILS\n==================================================\n\nWrite approximately 1–2 concise sentences.\n\nDescribe only the important vocal characteristics:\n\n- vocal type\n- timbre\n- delivery\n- phrasing\n- energy\n- vocal relationship with the instrumental\n- backing vocals or harmonies when relevant\n\nIf the user specifies rapid rap, describe rapid rap.\n\nDo not invent unnecessary techniques.\n\nDo not automatically add:\n\n- octave doubling\n- detuning\n- complex vocal processing\n- spoken word\n- scatting\n- ad-libs\n- call-and-response\n\nunless requested or clearly appropriate.\n\n==================================================\nARRANGEMENT\n==================================================\n\nWrite approximately 80–150 words.\n\nDescribe the essential musical elements:\n\n- drums\n- bass\n- main harmonic instruments\n- melodic elements\n- textures\n- groove\n- section development\n\nDo not list every possible instrument.\n\nDo not describe detailed mixing or mastering techniques.\n\nDo not describe frequency balancing, stereo engineering, transient processing, compression settings, or other technical production procedures unless explicitly requested.\n\nFocus on what the listener hears.\n\n==================================================\nINSTRUMENT DESCRIPTION\n==================================================\n\nWhen mentioning an instrument, describe its musical role or character briefly.\n\nPrefer:\n\n\"heavy rolling sub-bass\"\n\nover:\n\n\"sub-bass with precise frequency management and controlled low-end interaction\"\n\nPrefer:\n\n\"gritty synth stabs\"\n\nover:\n\n\"distorted analog synth stabs with stereo modulation and transient enhancement\"\n\nPrefer:\n\n\"punchy breakbeats with crisp hi-hats\"\n\nover:\n\n\"complex breakbeat patterns with multiple layered percussion systems and detailed transient processing\"\n\n==================================================\nSECTION ARRANGEMENT\n==================================================\n\nUse only the sections necessary for the requested song.\n\nFor short tracks, prefer a compact structure such as:\n\nIntro:\nVerse:\nPre-Chorus:\nChorus / Drop:\nBridge / Break:\nFinal Chorus / Drop:\nOutro:\n\nDo not automatically generate every possible section.\n\nDo not create separate sections merely to make the prompt longer.\n\nEach section should normally contain one concise sentence describing the main musical change.\n\n==================================================\nARRANGEMENT EVOLUTION\n==================================================\n\nDescribe how the music develops.\n\nUseful concepts:\n\n- enters\n- builds\n- adds\n- strips back\n- drops out\n- returns\n- expands\n- intensifies\n- resolves\n\nAvoid detailed descriptions of exactly when these changes occur.\n\nExample:\n\n\"Pre-Chorus: rising synths and additional percussion build tension before the full drop.\"\n\nDo not write:\n\n\"Pre-Chorus: at approximately 23 seconds, remove the hi-hats for four bars...\"\n\nunless explicitly requested.\n\n==================================================\nMOOD\n==================================================\n\nPreserve the user's mood.\n\nYou may use closely related musical terms to clarify it.\n\nFor example:\n\n\"happy, joyful\"\n\nmay become:\n\n\"bright, cheerful, uplifting, and joyful.\"\n\nDo not introduce unrelated emotions such as melancholy, nostalgia, darkness, or sadness unless requested.\n\n==================================================\nGENRE\n==================================================\n\nPreserve the user's genre combination.\n\nIf the input contains several related descriptors, combine them naturally.\n\nExample:\n\n\"drum'n bass, street dance, detroit-rap, underground\"\n\ncan become:\n\n\"underground drum'n'bass with Detroit rap and street-dance influences.\"\n\nDo not unnecessarily reinterpret the genre.\n\n==================================================\nSTYLE REFERENCES\n==================================================\n\nIf the user references an artist, scene, era, or musical movement, translate it into concise musical characteristics.\n\nDo not rely only on the reference name.\n\nDo not introduce unrelated characteristics.\n\n==================================================\nNO UNNECESSARY ASSUMPTIONS\n==================================================\n\nDo not invent:\n\n- listening scenarios\n- commercial applications\n- exact timestamps\n- exact bar counts\n- exact chord progressions\n- detailed mixing techniques\n- mastering techniques\n- microphone techniques\n- recording environments\n- specific sound-design chains\n- additional instruments\n- additional vocal techniques\n- environmental sounds\n\nunless explicitly requested.\n\n==================================================\nOUTPUT LENGTH\n==================================================\n\nKeep the total Music Description concise.\n\nTarget:\n\nGlobal Metadata:\n20–50 words\n\nVocal Details:\n15–40 words\n\nArrangement:\n80–150 words\n\nThese are guidelines, not strict limits.\n\nA simple input should produce a simple output.\n\nDo not produce a long paragraph merely because the user provided a duration.\n\n==================================================\nOUTPUT FORMAT\n==================================================\n\nOutput exactly:\n\nGlobal Metadata:\n<paragraph>\n\nVocal Details:\n<paragraph>\n\nArrangement:\n<paragraph>\n\nDo not output Lyrics.\n\nDo not output explanations.\n\nDo not output analysis.\n\nDo not output reasoning.\n\nDo not add commentary before or after the Music Description.\n\n==================================================\nFINAL CHECK\n==================================================\n\nBefore answering, silently verify:\n\n- BPM is unchanged.\n- Key is unchanged.\n- Duration has not been converted into timestamps.\n- Genre is preserved.\n- Mood is preserved.\n- Vocal characteristics are preserved.\n- No unnecessary instruments were invented.\n- No unnecessary production techniques were invented.\n- No exact timestamps or bar counts were invented.\n- Arrangement is compact.\n- Each sentence provides useful musical information.\n- The result is concise enough to be practical for MiniMax Music 3.","","vaultbox/qwen3.5-uncensored:9b"],"widgets_values_named":{"system":"You are an expert music prompt engineer specialized in MiniMax Music 3.\n\nYour task is to transform the user's musical description into a concise, high-information Music Description optimized for MiniMax Music 3.\n\nLyrics are provided separately.\nNEVER generate, rewrite, summarize, or modify lyrics.\n\nOutput only these three sections:\n\nGlobal Metadata:\nVocal Details:\nArrangement:\n\n==================================================\nCORE PRINCIPLE\n==================================================\n\nBe concise and musically specific.\n\nDo not maximize the amount of text.\n\nThe goal is to communicate the essential musical identity, vocal character, instrumentation, groove, and arrangement clearly while leaving reasonable creative freedom to MiniMax Music 3.\n\nPreserve the user's explicit information.\n\nDo not invent unnecessary details.\n\nDo not explain your reasoning.\n\n==================================================\nPRESERVE USER INPUT\n==================================================\n\nExplicit user parameters must be preserved exactly.\n\nThis includes:\n\n- duration\n- BPM\n- key\n- scale\n- genre\n- vocal type\n- musical style\n- mood\n- requested instruments\n- requested performance style\n\nNever reinterpret or replace explicit values.\n\nExample:\n\nUser:\n\"150 BPM, D minor\"\n\nCorrect:\n\"150 BPM, D minor.\"\n\nIncorrect:\n\"150 BPM, A major, inferred as more suitable.\"\n\nNever change the user's key or BPM.\n\n==================================================\nDURATION\n==================================================\n\nTreat duration only as a constraint on overall arrangement density and complexity.\n\nDo NOT calculate or describe exact timestamps.\n\nDo NOT invent:\n\n- exact seconds\n- exact bar counts\n- exact transition times\n- exact section durations\n- \"second 58\"\n- \"final 2 seconds\"\n- \"after 4 bars\"\n\nunless the user explicitly provides those timings.\n\nFor short tracks, use a compact arrangement and reach the main musical idea quickly.\n\nDo not explain how the duration affects the arrangement.\n\n==================================================\nGLOBAL METADATA\n==================================================\n\nWrite approximately 1–3 concise sentences.\n\nDescribe:\n\n- genre / subgenre\n- BPM\n- key / scale\n- overall mood\n- broad rhythmic character\n- broad sonic / production character\n\nUse natural musical language.\n\nDo not add:\n\n- hypothetical listening scenarios\n- commercial purposes\n- audience assumptions\n- narrative concepts\n- unrelated stylistic references\n\nunless explicitly requested.\n\nExample:\n\nGlobal Metadata:\nHigh-energy drum'n'bass with Detroit rap and underground street-dance influences, 150 BPM, D minor. Fast, gritty, aggressive, and rhythmically driven, combining rapid breakbeats, heavy sub-bass, and raw electronic textures.\n\n==================================================\nVOCAL DETAILS\n==================================================\n\nWrite approximately 1–2 concise sentences.\n\nDescribe only the important vocal characteristics:\n\n- vocal type\n- timbre\n- delivery\n- phrasing\n- energy\n- vocal relationship with the instrumental\n- backing vocals or harmonies when relevant\n\nIf the user specifies rapid rap, describe rapid rap.\n\nDo not invent unnecessary techniques.\n\nDo not automatically add:\n\n- octave doubling\n- detuning\n- complex vocal processing\n- spoken word\n- scatting\n- ad-libs\n- call-and-response\n\nunless requested or clearly appropriate.\n\n==================================================\nARRANGEMENT\n==================================================\n\nWrite approximately 80–150 words.\n\nDescribe the essential musical elements:\n\n- drums\n- bass\n- main harmonic instruments\n- melodic elements\n- textures\n- groove\n- section development\n\nDo not list every possible instrument.\n\nDo not describe detailed mixing or mastering techniques.\n\nDo not describe frequency balancing, stereo engineering, transient processing, compression settings, or other technical production procedures unless explicitly requested.\n\nFocus on what the listener hears.\n\n==================================================\nINSTRUMENT DESCRIPTION\n==================================================\n\nWhen mentioning an instrument, describe its musical role or character briefly.\n\nPrefer:\n\n\"heavy rolling sub-bass\"\n\nover:\n\n\"sub-bass with precise frequency management and controlled low-end interaction\"\n\nPrefer:\n\n\"gritty synth stabs\"\n\nover:\n\n\"distorted analog synth stabs with stereo modulation and transient enhancement\"\n\nPrefer:\n\n\"punchy breakbeats with crisp hi-hats\"\n\nover:\n\n\"complex breakbeat patterns with multiple layered percussion systems and detailed transient processing\"\n\n==================================================\nSECTION ARRANGEMENT\n==================================================\n\nUse only the sections necessary for the requested song.\n\nFor short tracks, prefer a compact structure such as:\n\nIntro:\nVerse:\nPre-Chorus:\nChorus / Drop:\nBridge / Break:\nFinal Chorus / Drop:\nOutro:\n\nDo not automatically generate every possible section.\n\nDo not create separate sections merely to make the prompt longer.\n\nEach section should normally contain one concise sentence describing the main musical change.\n\n==================================================\nARRANGEMENT EVOLUTION\n==================================================\n\nDescribe how the music develops.\n\nUseful concepts:\n\n- enters\n- builds\n- adds\n- strips back\n- drops out\n- returns\n- expands\n- intensifies\n- resolves\n\nAvoid detailed descriptions of exactly when these changes occur.\n\nExample:\n\n\"Pre-Chorus: rising synths and additional percussion build tension before the full drop.\"\n\nDo not write:\n\n\"Pre-Chorus: at approximately 23 seconds, remove the hi-hats for four bars...\"\n\nunless explicitly requested.\n\n==================================================\nMOOD\n==================================================\n\nPreserve the user's mood.\n\nYou may use closely related musical terms to clarify it.\n\nFor example:\n\n\"happy, joyful\"\n\nmay become:\n\n\"bright, cheerful, uplifting, and joyful.\"\n\nDo not introduce unrelated emotions such as melancholy, nostalgia, darkness, or sadness unless requested.\n\n==================================================\nGENRE\n==================================================\n\nPreserve the user's genre combination.\n\nIf the input contains several related descriptors, combine them naturally.\n\nExample:\n\n\"drum'n bass, street dance, detroit-rap, underground\"\n\ncan become:\n\n\"underground drum'n'bass with Detroit rap and street-dance influences.\"\n\nDo not unnecessarily reinterpret the genre.\n\n==================================================\nSTYLE REFERENCES\n==================================================\n\nIf the user references an artist, scene, era, or musical movement, translate it into concise musical characteristics.\n\nDo not rely only on the reference name.\n\nDo not introduce unrelated characteristics.\n\n==================================================\nNO UNNECESSARY ASSUMPTIONS\n==================================================\n\nDo not invent:\n\n- listening scenarios\n- commercial applications\n- exact timestamps\n- exact bar counts\n- exact chord progressions\n- detailed mixing techniques\n- mastering techniques\n- microphone techniques\n- recording environments\n- specific sound-design chains\n- additional instruments\n- additional vocal techniques\n- environmental sounds\n\nunless explicitly requested.\n\n==================================================\nOUTPUT LENGTH\n==================================================\n\nKeep the total Music Description concise.\n\nTarget:\n\nGlobal Metadata:\n20–50 words\n\nVocal Details:\n15–40 words\n\nArrangement:\n80–150 words\n\nThese are guidelines, not strict limits.\n\nA simple input should produce a simple output.\n\nDo not produce a long paragraph merely because the user provided a duration.\n\n==================================================\nOUTPUT FORMAT\n==================================================\n\nOutput exactly:\n\nGlobal Metadata:\n<paragraph>\n\nVocal Details:\n<paragraph>\n\nArrangement:\n<paragraph>\n\nDo not output Lyrics.\n\nDo not output explanations.\n\nDo not output analysis.\n\nDo not output reasoning.\n\nDo not add commentary before or after the Music Description.\n\n==================================================\nFINAL CHECK\n==================================================\n\nBefore answering, silently verify:\n\n- BPM is unchanged.\n- Key is unchanged.\n- Duration has not been converted into timestamps.\n- Genre is preserved.\n- Mood is preserved.\n- Vocal characteristics are preserved.\n- No unnecessary instruments were invented.\n- No unnecessary production techniques were invented.\n- No exact timestamps or bar counts were invented.\n- Arrangement is compact.\n- Each sentence provides useful musical information.\n- The result is concise enough to be practical for MiniMax Music 3.","prompt":"","model":"vaultbox/qwen3.5-uncensored:9b"},"color":"#233","bgcolor":"#355"},{"id":139,"type":"PrimitiveStringMultiline","pos":[1050,1090],"size":[430,640],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"value","name":"value","type":"STRING","widget":{"name":"value"},"link":null}],"outputs":[{"localized_name":"STRING","name":"STRING","type":"STRING","links":[320]}],"title":"Lyrics","properties":{"cnr_id":"comfy-core","ver":"0.18.1","Node name for S&R":"PrimitiveStringMultiline"},"widgets_values":[""],"widgets_values_named":{"value":""},"color":"#232","bgcolor":"#353"}],"links":[[306,135,0,136,0,"STRING"],[315,137,0,35,0,"AUDIO"],[320,139,0,37,1,"STRING"],[324,135,0,37,0,"STRING"],[325,37,0,137,0,"AUDIO"]],"groups":[],"definitions":{"subgraphs":[{"id":"ac99f841-a3de-4329-9564-953b81cf9e16","version":1,"state":{"lastGroupId":3,"lastNodeId":144,"lastLinkId":327,"lastRerouteId":0},"revision":0,"config":{},"name":"Text to Music (MiniMax Music 3)","inputNode":{"id":-10,"bounding":[320,820,180.31640625,208]},"outputNode":{"id":-20,"bounding":[3210,380,128,68]},"inputs":[{"id":"9f92b5c5-dadc-4b0f-84d9-b5ed2b3a0842","name":"caption","type":"STRING","linkIds":[322],"pos":[476.31640625,844]},{"id":"bb9d2920-ba98-4c51-be7d-4b5736b14407","name":"lyrics","type":"STRING","linkIds":[323],"pos":[476.31640625,864]},{"id":"be60d2f1-fc99-4ed6-a057-130a7b83945f","name":"max_duration","type":"FLOAT","linkIds":[47],"pos":[476.31640625,884]},{"id":"a7f66596-0413-4906-a08f-475af0521252","name":"seed","type":"INT","linkIds":[54],"pos":[476.31640625,904]},{"id":"cbfb7b7b-357f-44ab-80cb-8748020a9880","name":"unet_name","type":"COMBO","linkIds":[326],"label":"model_name","pos":[476.31640625,924]},{"id":"ec2e20dc-2e7b-4147-922f-5f5f26ac9854","name":"clip_name","type":"COMBO","linkIds":[56],"pos":[476.31640625,944]},{"id":"eeefaa94-f342-415e-96e7-eb13dcccbac0","name":"vae_name","type":"COMBO","linkIds":[57],"pos":[476.31640625,964]},{"id":"6da74b03-27d0-487e-b8d6-f94018b2ca9a","name":"switch","type":"BOOLEAN","linkIds":[63],"label":"enable audio enhanced","pos":[476.31640625,984]}],"outputs":[{"id":"82bef6fd-2dee-4579-b4ed-7d679d18279f","name":"AUDIO","type":"AUDIO","linkIds":[319],"localized_name":"AUDIO","pos":[3234,404]}],"widgets":[],"nodes":[{"id":3,"type":"CLIPLoader","pos":[700,550],"size":[480,120],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"clip_name","name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":56},{"localized_name":"type","name":"type","type":"COMBO","widget":{"name":"type"},"link":null},{"localized_name":"device","name":"device","shape":7,"type":"COMBO","widget":{"name":"device"},"link":null}],"outputs":[{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[18]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"CLIPLoader","models":[{"name":"minimax_music3_text_encoder_pruned_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-Music-3/resolve/main/text_encoders/minimax_music3_text_encoder_pruned_int8_convrot.safetensors","directory":"text_encoders"}]},"widgets_values":["minimax_music3_text_encoder_pruned_int8_convrot.safetensors","minimax","default"],"widgets_values_named":{"clip_name":"minimax_music3_text_encoder_pruned_int8_convrot.safetensors","type":"minimax","device":"default"}},{"id":7,"type":"VAELoader","pos":[700,750],"size":[480,70],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"vae_name","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":57}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","links":[13]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"VAELoader","models":[{"name":"minimax_music3_dav.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-Music-3/resolve/main/vae/minimax_music3_dav.safetensors","directory":"vae"}]},"widgets_values":["minimax_music3_dav.safetensors"],"widgets_values_named":{"vae_name":"minimax_music3_dav.safetensors"}},{"id":10,"type":"ConditioningZeroOut","pos":[1820,540],"size":[230,40],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"conditioning","name":"conditioning","type":"CONDITIONING","link":16}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","links":[8]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"ConditioningZeroOut"}},{"id":15,"type":"EmptyMiniMaxMusic3LatentAudio","pos":[1780,380],"size":[350,90],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"seconds","name":"seconds","type":"FLOAT","widget":{"name":"seconds"},"link":20},{"localized_name":"batch_size","name":"batch_size","type":"INT","widget":{"name":"batch_size"},"link":null}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[21]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"EmptyMiniMaxMusic3LatentAudio"},"widgets_values":[120,1],"widgets_values_named":{"seconds":120,"batch_size":1}},{"id":9,"type":"KSampler","pos":[2170,380],"size":[370,270],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":327},{"localized_name":"positive","name":"positive","type":"CONDITIONING","link":15},{"localized_name":"negative","name":"negative","type":"CONDITIONING","link":8},{"localized_name":"latent_image","name":"latent_image","type":"LATENT","link":21},{"localized_name":"seed","name":"seed","type":"INT","widget":{"name":"seed"},"link":53},{"localized_name":"steps","name":"steps","type":"INT","widget":{"name":"steps"},"link":null},{"localized_name":"cfg","name":"cfg","type":"FLOAT","widget":{"name":"cfg"},"link":null},{"localized_name":"sampler_name","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null},{"localized_name":"scheduler","name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":null},{"localized_name":"denoise","name":"denoise","type":"FLOAT","widget":{"name":"denoise"},"link":null}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[12]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"KSampler"},"widgets_values":[1111111112,"fixed",30,1.7,"euler","simple",1],"widgets_values_named":{"seed":1111111112,"control_after_generate":"fixed","steps":30,"cfg":1.7,"sampler_name":"euler","scheduler":"simple","denoise":1}},{"id":38,"type":"SeedNode","pos":[890,970],"size":[270,90],"flags":{},"order":8,"mode":0,"inputs":[{"localized_name":"seed","name":"seed","type":"INT","widget":{"name":"seed"},"link":54}],"outputs":[{"localized_name":"seed","name":"seed","type":"INT","links":[52,53]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"SeedNode"},"widgets_values":[0,"randomize"],"widgets_values_named":{"seed":0,"fixed":"randomize"}},{"id":12,"type":"VAEDecodeAudio","pos":[2590,380],"size":[230,60],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":12},{"localized_name":"vae","name":"vae","type":"VAE","link":13}],"outputs":[{"localized_name":"AUDIO","name":"AUDIO","type":"AUDIO","links":[317,318]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"VAEDecodeAudio"}},{"id":43,"type":"ComfySwitchNode","pos":[2700,960],"size":[270,80],"flags":{"collapsed":true},"order":9,"mode":0,"inputs":[{"localized_name":"on_false","name":"on_false","type":"AUDIO","link":318},{"localized_name":"on_true","name":"on_true","type":"AUDIO","link":317},{"localized_name":"switch","name":"switch","type":"BOOLEAN","widget":{"name":"switch"},"link":63}],"outputs":[{"localized_name":"output","name":"output","type":"AUDIO","links":[316]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"ComfySwitchNode"},"widgets_values":[false],"widgets_values_named":{"switch":false}},{"id":143,"type":"AudioEnhancementNode","pos":[2700,540],"size":[300,370],"flags":{},"order":10,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","link":316},{"localized_name":"enhancement_mode","name":"enhancement_mode","type":"COMBO","widget":{"name":"enhancement_mode"},"link":null},{"localized_name":"enhancement_strength","name":"enhancement_strength","type":"FLOAT","widget":{"name":"enhancement_strength"},"link":null},{"localized_name":"harmonic_intensity","name":"harmonic_intensity","type":"FLOAT","widget":{"name":"harmonic_intensity"},"link":null},{"localized_name":"stereo_width","name":"stereo_width","type":"FLOAT","widget":{"name":"stereo_width"},"link":null},{"localized_name":"dynamic_enhancement","name":"dynamic_enhancement","type":"FLOAT","widget":{"name":"dynamic_enhancement"},"link":null},{"localized_name":"bass_boost","name":"bass_boost","type":"FLOAT","widget":{"name":"bass_boost"},"link":null},{"localized_name":"presence_boost","name":"presence_boost","type":"FLOAT","widget":{"name":"presence_boost"},"link":null},{"localized_name":"warmth","name":"warmth","type":"FLOAT","widget":{"name":"warmth"},"link":null},{"localized_name":"target_sample_rate","name":"target_sample_rate","type":"COMBO","widget":{"name":"target_sample_rate"},"link":null},{"localized_name":"enable_noise_reduction","name":"enable_noise_reduction","type":"BOOLEAN","widget":{"name":"enable_noise_reduction"},"link":null},{"localized_name":"noise_reduction_level","name":"noise_reduction_level","type":"INT","widget":{"name":"noise_reduction_level"},"link":null},{"localized_name":"start_time","name":"start_time","type":"FLOAT","widget":{"name":"start_time"},"link":null},{"localized_name":"end_time","name":"end_time","type":"FLOAT","widget":{"name":"end_time"},"link":null},{"localized_name":"apply_to","name":"apply_to","type":"COMBO","widget":{"name":"apply_to"},"link":null}],"outputs":[{"localized_name":"AUDIO","name":"AUDIO","type":"AUDIO","links":[319]}],"properties":{"aux_id":"Urabewe/ComfyUI-AudioTools","ver":"8763c3ec71d4d05278b53386cec57a06e1d99417","Node name for S&R":"AudioEnhancementNode"},"widgets_values":["auto_enhance",0.7,0.6,1.3,1.2,1,1,0.5,"keep_original",true,5,0,0,"full_track"],"widgets_values_named":{"enhancement_mode":"auto_enhance","enhancement_strength":0.7,"harmonic_intensity":0.6,"stereo_width":1.3,"dynamic_enhancement":1.2,"bass_boost":1,"presence_boost":1,"warmth":0.5,"target_sample_rate":"keep_original","enable_noise_reduction":true,"noise_reduction_level":5,"start_time":0,"end_time":0,"apply_to":"full_track"}},{"id":141,"type":"Reroute","pos":[1320,310],"size":[75,26],"flags":{},"order":0,"mode":0,"inputs":[{"name":"","type":"*","link":null}],"outputs":[{"name":"","type":"*","links":[314]}],"properties":{"showOutputText":false,"horizontal":false}},{"id":13,"type":"MiniMaxMusic3TextEncode","pos":[1230,380],"size":[480,380],"flags":{"collapsed":false},"order":6,"mode":0,"showAdvanced":true,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":18},{"localized_name":"caption","name":"caption","type":"STRING","widget":{"name":"caption"},"link":322},{"localized_name":"lyrics","name":"lyrics","type":"STRING","widget":{"name":"lyrics"},"link":323},{"localized_name":"seed","name":"seed","type":"INT","widget":{"name":"seed"},"link":52},{"localized_name":"max_duration","name":"max_duration","type":"FLOAT","widget":{"name":"max_duration"},"link":47},{"localized_name":"cfg_scale","name":"cfg_scale","type":"FLOAT","widget":{"name":"cfg_scale"},"link":null},{"localized_name":"top_k","name":"top_k","type":"INT","widget":{"name":"top_k"},"link":null}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","links":[15,16]},{"localized_name":"seconds","name":"seconds","type":"FLOAT","links":[20]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"MiniMaxMusic3TextEncode"},"widgets_values":["","",222,"fixed",60,1.7,50],"widgets_values_named":{"caption":"","lyrics":"","seed":222,"control_after_generate":"fixed","max_duration":60,"cfg_scale":1.7,"top_k":50}},{"id":144,"type":"DiffusionModelLoaderKJ","pos":[700,310],"size":[480,180],"flags":{},"order":11,"mode":0,"inputs":[{"localized_name":"extra_state_dict","name":"extra_state_dict","shape":7,"type":"STRING","link":null},{"localized_name":"model_name","name":"model_name","type":"COMBO","widget":{"name":"model_name"},"link":326},{"localized_name":"weight_dtype","name":"weight_dtype","type":"COMBO","widget":{"name":"weight_dtype"},"link":null},{"localized_name":"compute_dtype","name":"compute_dtype","type":"COMBO","widget":{"name":"compute_dtype"},"link":null},{"localized_name":"patch_cublaslinear","name":"patch_cublaslinear","type":"BOOLEAN","widget":{"name":"patch_cublaslinear"},"link":null},{"localized_name":"sage_attention","name":"sage_attention","type":"COMBO","widget":{"name":"sage_attention"},"link":null},{"localized_name":"enable_fp16_accumulation","name":"enable_fp16_accumulation","type":"BOOLEAN","widget":{"name":"enable_fp16_accumulation"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[327]}],"properties":{"cnr_id":"comfyui-kjnodes","ver":"6ab7e8130e449ed2c0037589bcf84146ceb7fc9c","Node name for S&R":"DiffusionModelLoaderKJ"},"widgets_values":["anima-aesthetic-v1.1-int8convrot.safetensors","default","default",false,"auto",true],"widgets_values_named":{"model_name":"anima-aesthetic-v1.1-int8convrot.safetensors","weight_dtype":"default","compute_dtype":"default","patch_cublaslinear":false,"sage_attention":"auto","enable_fp16_accumulation":true}}],"groups":[],"links":[{"id":18,"origin_id":3,"origin_slot":0,"target_id":13,"target_slot":0,"type":"CLIP"},{"id":16,"origin_id":13,"origin_slot":0,"target_id":10,"target_slot":0,"type":"CONDITIONING"},{"id":20,"origin_id":13,"origin_slot":1,"target_id":15,"target_slot":0,"type":"FLOAT"},{"id":15,"origin_id":13,"origin_slot":0,"target_id":9,"target_slot":1,"type":"CONDITIONING"},{"id":8,"origin_id":10,"origin_slot":0,"target_id":9,"target_slot":2,"type":"CONDITIONING"},{"id":21,"origin_id":15,"origin_slot":0,"target_id":9,"target_slot":3,"type":"LATENT"},{"id":12,"origin_id":9,"origin_slot":0,"target_id":12,"target_slot":0,"type":"LATENT"},{"id":13,"origin_id":7,"origin_slot":0,"target_id":12,"target_slot":1,"type":"VAE"},{"id":47,"origin_id":-10,"origin_slot":2,"target_id":13,"target_slot":4,"type":"FLOAT"},{"id":52,"origin_id":38,"origin_slot":0,"target_id":13,"target_slot":3,"type":"INT"},{"id":53,"origin_id":38,"origin_slot":0,"target_id":9,"target_slot":4,"type":"INT"},{"id":54,"origin_id":-10,"origin_slot":3,"target_id":38,"target_slot":0,"type":"INT"},{"id":56,"origin_id":-10,"origin_slot":5,"target_id":3,"target_slot":0,"type":"COMBO"},{"id":57,"origin_id":-10,"origin_slot":6,"target_id":7,"target_slot":0,"type":"COMBO"},{"id":63,"origin_id":-10,"origin_slot":7,"target_id":43,"target_slot":2,"type":"BOOLEAN"},{"id":316,"origin_id":43,"origin_slot":0,"target_id":143,"target_slot":0,"type":"AUDIO"},{"id":317,"origin_id":12,"origin_slot":0,"target_id":43,"target_slot":1,"type":"AUDIO"},{"id":318,"origin_id":12,"origin_slot":0,"target_id":43,"target_slot":0,"type":"AUDIO"},{"id":319,"origin_id":143,"origin_slot":0,"target_id":-20,"target_slot":0,"type":"AUDIO"},{"id":322,"origin_id":-10,"origin_slot":0,"target_id":13,"target_slot":1,"type":"STRING"},{"id":323,"origin_id":-10,"origin_slot":1,"target_id":13,"target_slot":2,"type":"STRING"},{"id":326,"origin_id":-10,"origin_slot":4,"target_id":144,"target_slot":1,"type":"COMBO"},{"id":327,"origin_id":144,"origin_slot":0,"target_id":9,"target_slot":0,"type":"MODEL"}],"extra":{}},{"id":"7ef02436-c462-4950-94cb-2d3358359c65","version":1,"state":{"lastGroupId":3,"lastNodeId":144,"lastLinkId":327,"lastRerouteId":0},"revision":0,"config":{},"name":"Ollama","inputNode":{"id":-10,"bounding":[-460,405,128,108]},"outputNode":{"id":-20,"bounding":[1290,480,128,68]},"inputs":[{"id":"62596157-93a1-402b-899e-8d0a2da98376","name":"system","type":"STRING","linkIds":[69],"localized_name":"system","pos":[-356,429]},{"id":"8e906dfd-41ef-470c-bdf4-eacae67f46e9","name":"prompt","type":"STRING","linkIds":[70],"localized_name":"prompt","pos":[-356,449]},{"id":"9f74cafa-cf09-4cfe-855c-ec212e40b288","name":"model","type":"COMBO","linkIds":[71],"pos":[-356,469]}],"outputs":[{"id":"6e922fc9-bde3-4296-98a4-8885d1c5873d","name":"STRING","type":"STRING","linkIds":[310],"localized_name":"STRING","pos":[1314,504]}],"widgets":[],"nodes":[{"id":55,"type":"OllamaOptionsV2","pos":[-270,230],"size":[290,760],"flags":{"collapsed":false},"order":0,"mode":0,"inputs":[{"localized_name":"enable_mirostat","name":"enable_mirostat","type":"BOOLEAN","widget":{"name":"enable_mirostat"},"link":null},{"localized_name":"mirostat","name":"mirostat","type":"INT","widget":{"name":"mirostat"},"link":null},{"localized_name":"enable_mirostat_eta","name":"enable_mirostat_eta","type":"BOOLEAN","widget":{"name":"enable_mirostat_eta"},"link":null},{"localized_name":"mirostat_eta","name":"mirostat_eta","type":"FLOAT","widget":{"name":"mirostat_eta"},"link":null},{"localized_name":"enable_mirostat_tau","name":"enable_mirostat_tau","type":"BOOLEAN","widget":{"name":"enable_mirostat_tau"},"link":null},{"localized_name":"mirostat_tau","name":"mirostat_tau","type":"FLOAT","widget":{"name":"mirostat_tau"},"link":null},{"localized_name":"enable_num_ctx","name":"enable_num_ctx","type":"BOOLEAN","widget":{"name":"enable_num_ctx"},"link":null},{"localized_name":"num_ctx","name":"num_ctx","type":"INT","widget":{"name":"num_ctx"},"link":null},{"localized_name":"enable_repeat_last_n","name":"enable_repeat_last_n","type":"BOOLEAN","widget":{"name":"enable_repeat_last_n"},"link":null},{"localized_name":"repeat_last_n","name":"repeat_last_n","type":"INT","widget":{"name":"repeat_last_n"},"link":null},{"localized_name":"enable_repeat_penalty","name":"enable_repeat_penalty","type":"BOOLEAN","widget":{"name":"enable_repeat_penalty"},"link":null},{"localized_name":"repeat_penalty","name":"repeat_penalty","type":"FLOAT","widget":{"name":"repeat_penalty"},"link":null},{"localized_name":"enable_temperature","name":"enable_temperature","type":"BOOLEAN","widget":{"name":"enable_temperature"},"link":null},{"localized_name":"temperature","name":"temperature","type":"FLOAT","widget":{"name":"temperature"},"link":null},{"localized_name":"enable_seed","name":"enable_seed","type":"BOOLEAN","widget":{"name":"enable_seed"},"link":null},{"localized_name":"seed","name":"seed","type":"INT","widget":{"name":"seed"},"link":null},{"localized_name":"enable_stop","name":"enable_stop","type":"BOOLEAN","widget":{"name":"enable_stop"},"link":null},{"localized_name":"stop","name":"stop","type":"STRING","widget":{"name":"stop"},"link":null},{"localized_name":"enable_tfs_z","name":"enable_tfs_z","type":"BOOLEAN","widget":{"name":"enable_tfs_z"},"link":null},{"localized_name":"tfs_z","name":"tfs_z","type":"FLOAT","widget":{"name":"tfs_z"},"link":null},{"localized_name":"enable_num_predict","name":"enable_num_predict","type":"BOOLEAN","widget":{"name":"enable_num_predict"},"link":null},{"localized_name":"num_predict","name":"num_predict","type":"INT","widget":{"name":"num_predict"},"link":null},{"localized_name":"enable_top_k","name":"enable_top_k","type":"BOOLEAN","widget":{"name":"enable_top_k"},"link":null},{"localized_name":"top_k","name":"top_k","type":"INT","widget":{"name":"top_k"},"link":null},{"localized_name":"enable_top_p","name":"enable_top_p","type":"BOOLEAN","widget":{"name":"enable_top_p"},"link":null},{"localized_name":"top_p","name":"top_p","type":"FLOAT","widget":{"name":"top_p"},"link":null},{"localized_name":"enable_min_p","name":"enable_min_p","type":"BOOLEAN","widget":{"name":"enable_min_p"},"link":null},{"localized_name":"min_p","name":"min_p","type":"FLOAT","widget":{"name":"min_p"},"link":null},{"localized_name":"debug","name":"debug","type":"BOOLEAN","widget":{"name":"debug"},"link":null}],"outputs":[{"localized_name":"options","name":"options","type":"OLLAMA_OPTIONS","links":[48]}],"properties":{"cnr_id":"comfyui-ollama","ver":"6db7560576e5a59488708e6be13e07b5aba2432a","Node name for S&R":"OllamaOptionsV2"},"widgets_values":[false,0,false,0.1,false,5,false,2048,false,64,true,1.1,false,0.8,true,368199079,"randomize",false,"",false,1,false,-1,false,40,false,0.9,false,0,false],"widgets_values_named":{"enable_mirostat":false,"mirostat":0,"enable_mirostat_eta":false,"mirostat_eta":0.1,"enable_mirostat_tau":false,"mirostat_tau":5,"enable_num_ctx":false,"num_ctx":2048,"enable_repeat_last_n":false,"repeat_last_n":64,"enable_repeat_penalty":true,"repeat_penalty":1.1,"enable_temperature":false,"temperature":0.8,"enable_seed":true,"seed":368199079,"control_after_generate":"randomize","enable_stop":false,"stop":"","enable_tfs_z":false,"tfs_z":1,"enable_num_predict":false,"num_predict":-1,"enable_top_k":false,"top_k":40,"enable_top_p":false,"top_p":0.9,"enable_min_p":false,"min_p":0,"debug":false}},{"id":54,"type":"OllamaConnectivityV2","pos":[40,230],"size":[270,160],"flags":{"collapsed":false},"order":2,"mode":0,"inputs":[{"localized_name":"url","name":"url","type":"STRING","widget":{"name":"url"},"link":null},{"localized_name":"model","name":"model","type":"COMBO","widget":{"name":"model"},"link":71},{"localized_name":"keep_alive","name":"keep_alive","type":"INT","widget":{"name":"keep_alive"},"link":null},{"localized_name":"keep_alive_unit","name":"keep_alive_unit","type":"COMBO","widget":{"name":"keep_alive_unit"},"link":null}],"outputs":[{"localized_name":"connection","name":"connection","type":"OLLAMA_CONNECTIVITY","links":[47]}],"properties":{"cnr_id":"comfyui-ollama","ver":"6db7560576e5a59488708e6be13e07b5aba2432a","Node name for S&R":"OllamaConnectivityV2"},"widgets_values":["http://127.0.0.1:11434","vaultbox/qwen3.5-uncensored:9b",0,"minutes",null],"widgets_values_named":{"url":"http://127.0.0.1:11434","model":"vaultbox/qwen3.5-uncensored:9b","keep_alive":0,"keep_alive_unit":"minutes","🔄 Reconnect":null}},{"id":53,"type":"OllamaGenerateV2","pos":[340,230],"size":[380,380],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"connectivity","name":"connectivity","shape":7,"type":"OLLAMA_CONNECTIVITY","link":47},{"localized_name":"options","name":"options","shape":7,"type":"OLLAMA_OPTIONS","link":48},{"localized_name":"images","name":"images","shape":7,"type":"IMAGE","link":null},{"localized_name":"context","name":"context","shape":7,"type":"OLLAMA_CONTEXT","link":null},{"localized_name":"meta","name":"meta","shape":7,"type":"OLLAMA_META","link":null},{"localized_name":"system","name":"system","type":"STRING","widget":{"name":"system"},"link":69},{"localized_name":"prompt","name":"prompt","type":"STRING","widget":{"name":"prompt"},"link":70},{"localized_name":"think","name":"think","type":"BOOLEAN","widget":{"name":"think"},"link":null},{"localized_name":"keep_context","name":"keep_context","type":"BOOLEAN","widget":{"name":"keep_context"},"link":null},{"localized_name":"format","name":"format","type":"COMBO","widget":{"name":"format"},"link":null}],"outputs":[{"localized_name":"result","name":"result","type":"STRING","links":[310]},{"localized_name":"thinking","name":"thinking","type":"STRING","links":null},{"localized_name":"context","name":"context","type":"OLLAMA_CONTEXT","links":null},{"localized_name":"meta","name":"meta","type":"OLLAMA_META","links":null}],"properties":{"cnr_id":"comfyui-ollama","ver":"6db7560576e5a59488708e6be13e07b5aba2432a","Node name for S&R":"OllamaGenerateV2"},"widgets_values":["You are an expert music prompt engineer for ACE-Step 1.5.\n\nYour only task is to transform a user's simple music idea into an optimized ACE-Step 1.5 Caption.\n\nFollow the official ACE-Step prompting philosophy.\n\n## Goal\n\nExpand short, vague prompts into rich musical descriptions that improve generation quality while preserving the user's original intent.\n\nNever invent a completely different song.\n\nAlways keep the user's requested genre, mood, lyrics, language, and overall concept.\n\n--------------------------------------------------\nGENERAL RULES\n--------------------------------------------------\n\nOutput ONLY the enhanced prompt.\n\nDo NOT explain your reasoning.\n\nDo NOT use markdown.\n\nDo NOT use bullet points.\n\nDo NOT add quotes.\n\nWrite a single natural paragraph.\n\nLength:\n80–220 words.\n\nUse fluent English.\n\n--------------------------------------------------\nPRIORITY OF INFORMATION\n--------------------------------------------------\n\nPreserve, in order:\n\n1. Musical genre\n2. Mood/emotion\n3. Instrumentation\n4. Vocal characteristics\n5. Production style\n6. Song structure\n7. Musical evolution\n8. Sonic textures\n9. Atmosphere\n10. Performance details\n\nIf the user already specifies something, never replace it.\n\nOnly enrich missing information.\n\n--------------------------------------------------\nEXPAND USING THESE DIMENSIONS\n--------------------------------------------------\n\nGenre\n\nExamples:\npop\nrock\npunk\nmetal\njazz\nR&B\ncity pop\nhyperpop\nfuture bass\ndrum and bass\nhouse\ntechno\norchestral\ncinematic\nfolk\nlo-fi\nsynthwave\nambient\ntrap\nhip-hop\nEDM\n\nEmotion\n\nuplifting\nmelancholic\nnostalgic\ndreamy\nhopeful\ndark\naggressive\nenergetic\nplayful\nromantic\nepic\nintimate\nemotional\nbittersweet\npeaceful\n\nInstrumentation\n\nelectric guitar\nacoustic guitar\nfingerpicked guitar\ngrand piano\nelectric piano\nanalog synth\nFM synth\nwarm synth pads\nplucked synth\nstrings\nbrass\nwoodwinds\n808 bass\nelectric bass\nlive bass\ndrums\nlive drums\nelectronic drums\norchestral percussion\nchoir\nbells\narpeggiators\n\nProduction\n\nstudio polished\nwarm analog\nvintage\nmodern\nwide stereo image\nlush reverb\ntight punchy drums\ncrystal-clear mix\nlo-fi texture\nradio-ready\ncinematic\ndynamic\nminimal\nlayered arrangement\n\nVocal\n\nfemale vocal\nmale vocal\nduet\nsoft\nbreathy\npowerful\nwhispered\nraspy\nemotional\nclean\nfalsetto\nchoir harmonies\n\nSong Development\n\nbuilding intro\nminimal opening\ngradually adding instruments\ndynamic pre-chorus\nexplosive chorus\nemotional bridge\ninstrumental breakdown\npowerful climax\ngentle fade-out\n\nTexture\n\nwarm\nairy\nbright\ndark\nsmooth\ncrisp\nlush\norganic\nraw\nglossy\ndreamlike\npunchy\n\n--------------------------------------------------\nGOOD PRACTICES\n--------------------------------------------------\n\nCombine multiple dimensions naturally.\n\nDescribe how the music evolves over time.\n\nMention arrangement and dynamics.\n\nDescribe production aesthetics.\n\nDescribe vocal delivery.\n\nDescribe instrument interaction.\n\nKeep everything coherent.\n\n--------------------------------------------------\nDO NOT\n--------------------------------------------------\n\nDo not mention BPM.\n\nDo not mention tempo numbers.\n\nDo not mention musical key.\n\nDo not mention time signatures.\n\nDo not write metadata.\n\nDo not write JSON.\n\nDo not output parameter names.\n\nDo not output lyrics unless the user explicitly provides them.\n\nDo not contradict the user's request.\n\nAvoid conflicting genres unless the user requests a transition.\n\n--------------------------------------------------\nSTYLE TRANSITIONS\n--------------------------------------------------\n\nIf the user requests multiple styles, treat them as chronological evolution.\n\nExample:\n\nStarts as an intimate piano ballad, gradually introducing atmospheric synth layers before evolving into a powerful cinematic rock finale.\n\ninstead of\n\npiano ballad rock EDM orchestral trap all together\n\n--------------------------------------------------\nINSTRUMENTAL\n--------------------------------------------------\n\nIf the user requests instrumental music, never describe vocals.\n\nFocus on arrangement, orchestration, dynamics, texture, and atmosphere.\n\n--------------------------------------------------\nVOCALS\n--------------------------------------------------\n\nIf lyrics are provided, optimize only the Caption.\n\nNever rewrite lyrics.\n\nNever translate lyrics.\n\nNever summarize lyrics.\n\nAssume lyrics will be supplied separately.\n\n--------------------------------------------------\nOUTPUT\n--------------------------------------------------\n\nReturn only the completed ACE-Step Caption.\nNo explanations.\nNo notes.\nNo markdown.","ファッションショーで流れているBGM。EDM、ベース、ドラム。インストルメンタル。",false,false,"text"],"widgets_values_named":{"system":"You are an expert music prompt engineer for ACE-Step 1.5.\n\nYour only task is to transform a user's simple music idea into an optimized ACE-Step 1.5 Caption.\n\nFollow the official ACE-Step prompting philosophy.\n\n## Goal\n\nExpand short, vague prompts into rich musical descriptions that improve generation quality while preserving the user's original intent.\n\nNever invent a completely different song.\n\nAlways keep the user's requested genre, mood, lyrics, language, and overall concept.\n\n--------------------------------------------------\nGENERAL RULES\n--------------------------------------------------\n\nOutput ONLY the enhanced prompt.\n\nDo NOT explain your reasoning.\n\nDo NOT use markdown.\n\nDo NOT use bullet points.\n\nDo NOT add quotes.\n\nWrite a single natural paragraph.\n\nLength:\n80–220 words.\n\nUse fluent English.\n\n--------------------------------------------------\nPRIORITY OF INFORMATION\n--------------------------------------------------\n\nPreserve, in order:\n\n1. Musical genre\n2. Mood/emotion\n3. Instrumentation\n4. Vocal characteristics\n5. Production style\n6. Song structure\n7. Musical evolution\n8. Sonic textures\n9. Atmosphere\n10. Performance details\n\nIf the user already specifies something, never replace it.\n\nOnly enrich missing information.\n\n--------------------------------------------------\nEXPAND USING THESE DIMENSIONS\n--------------------------------------------------\n\nGenre\n\nExamples:\npop\nrock\npunk\nmetal\njazz\nR&B\ncity pop\nhyperpop\nfuture bass\ndrum and bass\nhouse\ntechno\norchestral\ncinematic\nfolk\nlo-fi\nsynthwave\nambient\ntrap\nhip-hop\nEDM\n\nEmotion\n\nuplifting\nmelancholic\nnostalgic\ndreamy\nhopeful\ndark\naggressive\nenergetic\nplayful\nromantic\nepic\nintimate\nemotional\nbittersweet\npeaceful\n\nInstrumentation\n\nelectric guitar\nacoustic guitar\nfingerpicked guitar\ngrand piano\nelectric piano\nanalog synth\nFM synth\nwarm synth pads\nplucked synth\nstrings\nbrass\nwoodwinds\n808 bass\nelectric bass\nlive bass\ndrums\nlive drums\nelectronic drums\norchestral percussion\nchoir\nbells\narpeggiators\n\nProduction\n\nstudio polished\nwarm analog\nvintage\nmodern\nwide stereo image\nlush reverb\ntight punchy drums\ncrystal-clear mix\nlo-fi texture\nradio-ready\ncinematic\ndynamic\nminimal\nlayered arrangement\n\nVocal\n\nfemale vocal\nmale vocal\nduet\nsoft\nbreathy\npowerful\nwhispered\nraspy\nemotional\nclean\nfalsetto\nchoir harmonies\n\nSong Development\n\nbuilding intro\nminimal opening\ngradually adding instruments\ndynamic pre-chorus\nexplosive chorus\nemotional bridge\ninstrumental breakdown\npowerful climax\ngentle fade-out\n\nTexture\n\nwarm\nairy\nbright\ndark\nsmooth\ncrisp\nlush\norganic\nraw\nglossy\ndreamlike\npunchy\n\n--------------------------------------------------\nGOOD PRACTICES\n--------------------------------------------------\n\nCombine multiple dimensions naturally.\n\nDescribe how the music evolves over time.\n\nMention arrangement and dynamics.\n\nDescribe production aesthetics.\n\nDescribe vocal delivery.\n\nDescribe instrument interaction.\n\nKeep everything coherent.\n\n--------------------------------------------------\nDO NOT\n--------------------------------------------------\n\nDo not mention BPM.\n\nDo not mention tempo numbers.\n\nDo not mention musical key.\n\nDo not mention time signatures.\n\nDo not write metadata.\n\nDo not write JSON.\n\nDo not output parameter names.\n\nDo not output lyrics unless the user explicitly provides them.\n\nDo not contradict the user's request.\n\nAvoid conflicting genres unless the user requests a transition.\n\n--------------------------------------------------\nSTYLE TRANSITIONS\n--------------------------------------------------\n\nIf the user requests multiple styles, treat them as chronological evolution.\n\nExample:\n\nStarts as an intimate piano ballad, gradually introducing atmospheric synth layers before evolving into a powerful cinematic rock finale.\n\ninstead of\n\npiano ballad rock EDM orchestral trap all together\n\n--------------------------------------------------\nINSTRUMENTAL\n--------------------------------------------------\n\nIf the user requests instrumental music, never describe vocals.\n\nFocus on arrangement, orchestration, dynamics, texture, and atmosphere.\n\n--------------------------------------------------\nVOCALS\n--------------------------------------------------\n\nIf lyrics are provided, optimize only the Caption.\n\nNever rewrite lyrics.\n\nNever translate lyrics.\n\nNever summarize lyrics.\n\nAssume lyrics will be supplied separately.\n\n--------------------------------------------------\nOUTPUT\n--------------------------------------------------\n\nReturn only the completed ACE-Step Caption.\nNo explanations.\nNo notes.\nNo markdown.","prompt":"ファッションショーで流れているBGM。EDM、ベース、ドラム。インストルメンタル。","think":false,"keep_context":false,"format":"text"}}],"groups":[],"links":[{"id":47,"origin_id":54,"origin_slot":0,"target_id":53,"target_slot":0,"type":"OLLAMA_CONNECTIVITY"},{"id":48,"origin_id":55,"origin_slot":0,"target_id":53,"target_slot":1,"type":"OLLAMA_OPTIONS"},{"id":69,"origin_id":-10,"origin_slot":0,"target_id":53,"target_slot":5,"type":"STRING"},{"id":70,"origin_id":-10,"origin_slot":1,"target_id":53,"target_slot":6,"type":"STRING"},{"id":71,"origin_id":-10,"origin_slot":2,"target_id":54,"target_slot":1,"type":"COMBO"},{"id":310,"origin_id":53,"origin_slot":0,"target_id":-20,"target_slot":0,"type":"STRING"}],"extra":{"workflowRendererVersion":"LG"}}]},"config":{},"extra":{"frontendVersion":"1.48.7","VHS_latentpreview":false,"VHS_latentpreviewrate":0,"VHS_MetadataImage":true,"VHS_KeepIntermediate":true,"ds":{"scale":0.8623675215517262,"offset":[-352.8788385086398,-589.073338168372]}},"version":0.4}
extra/MiniMax_int8-Ref2Image-javano2608.2.json ADDED
The diff for this file is too large to render. See raw diff
 
gen_data.py ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Generate data.js metadata for the MiniMax-H3 workflows showcase."""
3
+ import json
4
+ import collections
5
+ import os
6
+
7
+ REPO_ROOT = r"C:\Users\dragon\Documents\Default Project\workflows_space\space"
8
+ SRC = r"C:\Users\dragon\Documents\Default Project\workflows_space\workflows"
9
+ OUT = os.path.join(REPO_ROOT, "data.js")
10
+
11
+ NOISE = {
12
+ "Reroute", "Note", "MarkdownNote", "PrimitiveStringMultiline", "PrimitiveBoolean",
13
+ "PrimitiveInt", "easy int", "easy boolean", "easy anythingIndexSwitch",
14
+ "Group Controller", "get", "set", "ImpactIfNone", "ComfySwitchNode",
15
+ "PreviewAny", "PreviewAudio", "SeedNode",
16
+ }
17
+
18
+
19
+ def node_types(d):
20
+ out = []
21
+ out.extend(n.get("type") for n in d.get("nodes", []))
22
+ for sg in d.get("definitions", {}).get("subgraphs", []):
23
+ out.extend(n.get("type") for n in sg.get("nodes", []))
24
+ return out
25
+
26
+
27
+ def widget_strings(nodes):
28
+ strings = []
29
+ for n in nodes:
30
+ w = n.get("widgets_values")
31
+ if isinstance(w, list):
32
+ for v in w:
33
+ if isinstance(v, str) and len(v) > 3:
34
+ strings.append(v)
35
+ elif isinstance(v, list):
36
+ for x in v:
37
+ if isinstance(x, str) and len(x) > 3:
38
+ strings.append(x)
39
+ return strings
40
+
41
+
42
+ def extract_notes(d):
43
+ notes = []
44
+ for n in d.get("nodes", []):
45
+ t = n.get("type")
46
+ if t in ("Note", "MarkdownNote"):
47
+ w = n.get("widgets_values")
48
+ if isinstance(w, list):
49
+ for v in w:
50
+ if isinstance(v, str) and len(v) > 8:
51
+ notes.append(v)
52
+ elif isinstance(w, str) and len(w) > 8:
53
+ notes.append(w)
54
+ return notes
55
+
56
+
57
+ def clean(s):
58
+ return " ".join(s.split())
59
+
60
+
61
+ def main():
62
+ workflows = []
63
+
64
+ def add(path_in_repo, src_path, title, subtitle, description, features, prompts_map=None):
65
+ d = json.load(open(src_path, encoding="utf-8"))
66
+ counts = collections.Counter(node_types(d))
67
+ top_level = len(d.get("nodes", []))
68
+ total = sum(counts.values())
69
+ inventory = [{"type": t, "count": c} for t, c in counts.most_common()]
70
+ notable = [inv for inv in inventory if not inv["type"].startswith("__")]
71
+ models = sorted(set(s for s in widget_strings(d.get("nodes", []))
72
+ if s.endswith(".safetensors")))
73
+ notes = extract_notes(d)
74
+ notes = [clean(n) for n in notes]
75
+ notes = [n for n in notes if not n.startswith("The Turbo-LoRA included in this list")]
76
+ workflows.append({
77
+ "file": path_in_repo,
78
+ "title": title,
79
+ "subtitle": subtitle,
80
+ "description": description,
81
+ "features": features,
82
+ "topLevelNodes": top_level,
83
+ "totalNodes": total,
84
+ "inventory": notable,
85
+ "models": models,
86
+ "notes": notes[:5],
87
+ })
88
+
89
+ add(
90
+ "workflows/MiniMax_int8_I2V-javano2609.1.2.json",
91
+ os.path.join(SRC, "MiniMax_int8_I2V-javano2609.1.2.json"),
92
+ "Image-to-Video (FLF)",
93
+ "First-Last-Frame generation with Extend, ControlNet-Union V2V and Latent Upscaler",
94
+ "Condition the video on the first AND last frames. Built on the INT8 FL2VA model with "
95
+ "native Block Sparse Attention, Spectrum sampling, Lightx2v/Turbo LoRAs, native Extend, "
96
+ "Fun ControlNet Union (OpenPose/Canny/Depth) and low-res -> latent upscale -> high-res decode.",
97
+ ["First + Last Frame", "INT8", "Block Sparse Attention", "Fun ControlNet Union",
98
+ "Native Extend", "Latent Upscaler", "Spectrum", "Lightx2v LoRA", "Group Bypass"],
99
+ prompts_map="fl2va",
100
+ )
101
+ add(
102
+ "workflows/MiniMax_int8_R2V-javano2609.2.2.json",
103
+ os.path.join(SRC, "MiniMax_int8_R2V-javano2609.2.2.json"),
104
+ "Reference-to-Video (R2V)",
105
+ "Reference-guided generation with Ref LoRA, ControlNet-Union V2V, Extend and Upscaler",
106
+ "Animate from one or more reference images using the R2V Reference LoRA, with Fun "
107
+ "ControlNet Union video control, native Extend, audio-VAE aware outputs and the Latent "
108
+ "Upscaler. The most complete workflow in the collection.",
109
+ ["Reference LoRA", "INT8", "Block Sparse Attention", "Fun ControlNet Union",
110
+ "Native Extend", "Latent Upscaler", "Spectrum", "Lightx2v LoRA", "Group Bypass"],
111
+ prompts_map="ref2va",
112
+ )
113
+ add(
114
+ "workflows/MiniMax_int8_Bridge-javano2609.1.1.json",
115
+ os.path.join(SRC, "MiniMax_int8_Bridge-javano2609.1.1.json"),
116
+ "Bridge",
117
+ "Generate a transition clip between Video A and Video B",
118
+ "Takes two clips and synthesizes a bridge that connects them: Video A -> generated cut "
119
+ "-> Video B. Uses the R2V pipeline with Ref LoRA and keeps all clips at the same size.",
120
+ ["Video A -> Bridge -> Video B", "R2V pipeline", "Ref LoRA", "INT8", "Latent Upscaler"],
121
+ prompts_map="ref2va",
122
+ )
123
+ add(
124
+ "workflows/MiniMax_int8_FR-javano2609.1.1.json",
125
+ os.path.join(SRC, "MiniMax_int8_FR-javano2609.1.1.json"),
126
+ "Face Refine",
127
+ "Automatic face detection and refinement pass",
128
+ "Refines faces in generated video with ComfyUI-H3-FaceRefine. For small faces, raise "
129
+ "crop_size (e.g. 512-640) at the cost of slower processing.",
130
+ ["FaceRefine", "Automatic detection", "INT8", "R2V pipeline", "Selectable crop size"],
131
+ prompts_map="ref2va",
132
+ )
133
+ add(
134
+ "workflows/MiniMax_int8_TTS-javano2609.1.json",
135
+ os.path.join(SRC, "MiniMax_int8_TTS-javano2609.1.json"),
136
+ "Text-to-Speech / Video-to-Audio",
137
+ "Fast audio-only speech generation, or new background audio for a mute clip",
138
+ "Generate speech from text or new ambient audio for an existing video. Not a lip-sync "
139
+ "tool: it produces background sound, leaving the video frames untouched.",
140
+ ["Audio-only", "TTS", "Video-to-Audio", "INT8", "SpeechLengthCalculator"],
141
+ None,
142
+ )
143
+
144
+ extras_cfg = [
145
+ ("extra/MiniMax-Music3-javano2608.1.json",
146
+ os.path.join(SRC, "extra", "MiniMax-Music3-javano2608.1.json"),
147
+ "Music 3",
148
+ "Songs up to 5 minutes from a structured music caption",
149
+ "MiniMax Music 3 generates complete, stable songs (up to 5 min) from a music "
150
+ "description with an optional reference audio track.",
151
+ ["Music generation", "Up to 5 min", "Caption + reference audio"], None),
152
+ ("extra/MiniMax_int8-Ref2Image-javano2608.2.json",
153
+ os.path.join(SRC, "extra", "MiniMax_int8-Ref2Image-javano2608.2.json"),
154
+ "Ref2Image",
155
+ "Reference-guided single image generation",
156
+ "INT8 image generation conditioned on a reference image and Ref LoRA, with the Latent "
157
+ "Upscaler for high-resolution output.",
158
+ ["Reference image", "INT8", "Ref LoRA", "Latent Upscaler"], None),
159
+ ]
160
+ for path_in_repo, src_path, title, subtitle, desc, feats, _pm in extras_cfg:
161
+ d = json.load(open(src_path, encoding="utf-8"))
162
+ counts = collections.Counter(node_types(d))
163
+ workflows[-1] # keep adding; reuse add() logic below via manual construction
164
+ workflows.append({
165
+ "file": path_in_repo,
166
+ "title": title,
167
+ "subtitle": subtitle,
168
+ "description": desc,
169
+ "features": feats,
170
+ "topLevelNodes": len(d.get("nodes", [])),
171
+ "totalNodes": sum(counts.values()),
172
+ "inventory": [{"type": t, "count": c} for t, c in counts.most_common()],
173
+ "models": sorted(set(s for s in widget_strings(d.get("nodes", []))
174
+ if s.endswith(".safetensors"))),
175
+ "notes": [clean(n) for n in extract_notes(d)][:3],
176
+ })
177
+
178
+ for w in workflows:
179
+ w["notes"] = [n for n in w["notes"] if not n.startswith("The Turbo-LoRA")]
180
+
181
+ prompts = {}
182
+ fl2va = os.path.join(SRC, "llm_system_prompt_for_minimax-h3_fl2va-2608.6.txt")
183
+ ref2va = os.path.join(SRC, "llm_system_prompt_for_minimax-h3_ref2va-2608.8.txt")
184
+ with open(fl2va, encoding="utf-8") as f:
185
+ prompts["fl2va"] = f.read()
186
+ with open(ref2va, encoding="utf-8") as f:
187
+ prompts["ref2va"] = f.read()
188
+
189
+ payload = {"prompts": prompts, "workflows": workflows}
190
+ with open(OUT, "w", encoding="utf-8") as f:
191
+ f.write("window.WORKFLOW_DATA = ")
192
+ json.dump(payload, f, ensure_ascii=False, indent=1)
193
+ f.write(";\n")
194
+
195
+ print("wrote", OUT, "with", len(workflows), "workflows")
196
+ for w in workflows:
197
+ print(f" {w['title']:35s} top={w['topLevelNodes']:3d} total={w['totalNodes']:4d} models={len(w['models'])} notes={len(w['notes'])}")
198
+
199
+
200
+ if __name__ == "__main__":
201
+ main()
index.html CHANGED
@@ -1,19 +1,361 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>MiniMax-H3 ComfyUI Workflows Showcase</title>
7
+ <style>
8
+ :root {
9
+ --bg: #0d1020;
10
+ --panel: #151a30;
11
+ --panel-2: #1b2137;
12
+ --border: #2a3150;
13
+ --text: #e8eaf6;
14
+ --muted: #9aa3c7;
15
+ --accent: #7c5cff;
16
+ --accent-2: #22c3ff;
17
+ --chip: #2a2447;
18
+ --good: #4ade80;
19
+ --radius: 12px;
20
+ }
21
+ * { box-sizing: border-box; }
22
+ html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text);
23
+ font: 15px/1.55 "Segoe UI", system-ui, -apple-system, sans-serif; }
24
+ a { color: var(--accent-2); text-decoration: none; }
25
+ a:hover { text-decoration: underline; }
26
+
27
+ #shell { max-width: 1080px; margin: 0 auto; padding: 28px 20px 80px; }
28
+
29
+ header h1 { margin: 0 0 4px; font-size: 30px; letter-spacing: .2px; }
30
+ header h1 .badge { font-size: 12px; vertical-align: middle; margin-left: 8px;
31
+ background: var(--chip); color: var(--accent-2); border: 1px solid var(--border);
32
+ padding: 3px 8px; border-radius: 999px; font-weight: 600; }
33
+ header p.sub { color: var(--muted); margin: 0 0 18px; max-width: 820px; }
34
+ .links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
35
+ .links a { border: 1px solid var(--border); background: var(--panel);
36
+ padding: 7px 12px; border-radius: 8px; font-size: 13.5px; }
37
+
38
+ .stats { display: flex; flex-wrap: wrap; gap: 14px; margin: 4px 0 26px; }
39
+ .stat { flex: 1 1 160px; background: var(--panel); border: 1px solid var(--border);
40
+ border-radius: var(--radius); padding: 12px 14px; }
41
+ .stat .num { font-size: 22px; font-weight: 700; color: var(--accent-2); }
42
+ .stat .lbl { font-size: 12.5px; color: var(--muted); }
43
+
44
+ #tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--border);
45
+ margin: 10px 0 22px; }
46
+ #tabs button { background: transparent; border: 1px solid transparent; color: var(--muted);
47
+ padding: 9px 14px; border-radius: 8px 8px 0 0; cursor: pointer; font-size: 14px; }
48
+ #tabs button:hover { color: var(--text); background: var(--panel); }
49
+ #tabs button.active { color: var(--text); border-color: var(--border);
50
+ border-bottom-color: transparent; background: var(--panel); font-weight: 600; }
51
+
52
+ .tabpage { display: none; }
53
+ .tabpage.active { display: block; animation: fade .18s ease; }
54
+ @keyframes fade { from { opacity: 0; transform: translateY(4px);} to { opacity: 1; } }
55
+
56
+ .wf-card { background: var(--panel); border: 1px solid var(--border);
57
+ border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px; }
58
+ .wf-card h3 { margin: 0 0 4px; font-size: 19px; }
59
+ .wf-card .sub { color: var(--muted); margin: 0 0 10px; }
60
+ .wf-card .desc { margin: 0 0 12px; }
61
+ .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
62
+ .chip { background: var(--chip); border: 1px solid var(--border);
63
+ border-radius: 999px; padding: 3px 10px; font-size: 12px; color: #c9cdf0; }
64
+ .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
65
+ @media (max-width: 820px) { .grid { grid-template-columns: 1fr; } }
66
+ .panel { background: var(--panel-2); border: 1px solid var(--border);
67
+ border-radius: 10px; padding: 12px 14px; }
68
+ .panel h4 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase;
69
+ letter-spacing: .6px; color: var(--muted); }
70
+ .panel .meta { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
71
+ .inventory { max-height: 240px; overflow: auto; font-size: 13px; }
72
+ .inventory table { width: 100%; border-collapse: collapse; }
73
+ .inventory td { padding: 3px 6px; border-bottom: 1px solid var(--border); }
74
+ .inventory td.c { color: var(--accent-2); text-align: right; width: 48px;
75
+ font-variant-numeric: tabular-nums; }
76
+ .models ul { margin: 0; padding-left: 18px; font-size: 13px; }
77
+ .models li { margin-bottom: 4px; word-break: break-all; }
78
+ .models li button { all: unset; cursor: pointer; color: var(--accent-2); margin-left: 4px; }
79
+ .notes blockquote { margin: 0; padding: 4px 12px; border-left: 3px solid var(--accent-2);
80
+ color: #c6cbed; font-size: 13px; white-space: pre-line; }
81
+
82
+ .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
83
+ button.btn { border: 1px solid var(--accent); background: transparent; color: var(--text);
84
+ padding: 8px 14px; border-radius: 8px; cursor: pointer; font-size: 13.5px; }
85
+ button.btn:hover { background: rgba(124,92,255,.15); }
86
+ button.btn.primary { background: linear-gradient(90deg, var(--accent), var(--accent-2));
87
+ border: none; font-weight: 600; color: #fff; }
88
+ button.btn.primary:hover { filter: brightness(1.08); }
89
+
90
+ #overlay { position: fixed; inset: 0; background: rgba(5,8,18,.9); display: none;
91
+ align-items: center; justify-content: center; z-index: 50; padding: 24px; }
92
+ #overlay.open { display: flex; }
93
+ .modal { background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
94
+ width: min(980px, 100%); max-height: 90vh; display: flex; flex-direction: column; }
95
+ .modal h3 { margin: 0; padding: 16px 20px; border-bottom: 1px solid var(--border); }
96
+ .modal pre { margin: 0; padding: 16px 20px; overflow: auto; font: 12.5px/1.5 Consolas,
97
+ "Cascadia Code", monospace; white-space: pre; color: #d5d9f5; }
98
+ .modal .mfoot { display: flex; gap: 10px; justify-content: flex-end;
99
+ padding: 12px 20px; border-top: 1px solid var(--border); }
100
+
101
+ .prompt-block { margin-bottom: 18px; }
102
+ .prompt-block pre { background: var(--panel-2); border: 1px solid var(--border);
103
+ border-radius: 10px; padding: 14px 16px; max-height: 420px; overflow: auto;
104
+ font: 13px/1.55 Consolas, monospace; white-space: pre-wrap; color: #d5d9f5;
105
+ margin: 8px 0 4px; }
106
+
107
+ .toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
108
+ background: var(--good); color: #052e13; font-weight: 600; padding: 9px 16px;
109
+ border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 99; }
110
+ .toast.show { opacity: 1; }
111
+
112
+ .foot { margin-top: 34px; color: var(--muted); font-size: 12.5px; }
113
+ </style>
114
+ </head>
115
+ <body>
116
+ <div id="shell">
117
+
118
+ <header>
119
+ <h1>🧩 MiniMax-H3 Workflows <span class="badge">showcase</span></h1>
120
+ <p class="sub">
121
+ An interactive reference for
122
+ <a href="https://huggingface.co/javawock7618/comfy-MiniMax-H3-workflows">javawock7618/comfy-MiniMax-H3-workflows</a> —
123
+ optimized <b>INT8</b> ComfyUI workflows for MiniMax-H3: FLF image-to-video, reference-to-video,
124
+ Bridge transitions, Face Refine, TTS/Video-to-Audio, plus Music 3 &amp; Ref2Image extras.
125
+ </p>
126
+ <div class="links">
127
+ <a href="https://huggingface.co/javawock7618/comfy-MiniMax-H3-workflows">📦 Source workflows</a>
128
+ <a href="https://huggingface.co/Comfy-Org/MiniMax-H3">🤖 Base model</a>
129
+ <a href="https://github.com/xmarre/ComfyUI-Spectrum-MiniMax-H3">⚡ Spectrum</a>
130
+ <a href="https://github.com/Carasibana/ComfyUI-H3-FaceRefine">🎭 Face Refine</a>
131
+ <a href="https://github.com/LBH-123-AI/Comfyui_Minimax_h3_latent_Upscaler">🪜 Latent Upscaler</a>
132
+ <a href="https://github.com/Oratorian/ComfyUI-Switchboard">🔀 Switchboard</a>
133
+ </div>
134
+ <div class="stats" id="stats"></div>
135
+ </header>
136
+
137
+ <div id="tabs"></div>
138
+
139
+ <section class="tabpage" data-tab="overview">
140
+ <div class="wf-card">
141
+ <h3>What is this collection?</h3>
142
+ <p class="desc">
143
+ Seven drop-in ComfyUI workflows built around the <b>INT8 quantized</b> MiniMax-H3 model
144
+ (FL2VA and Ref2VA checkpoints on <a href="https://huggingface.co/Comfy-Org/MiniMax-H3">Comfy-Org/MiniMax-H3</a>).
145
+ They keep first-frame/last-frame or reference-image conditioning, add <b>ControlNet-Union</b>
146
+ video control (OpenPose / Canny / Depth), support the <b>Latent Upscaler</b> (low-res
147
+ generation → high-res decode), and are wired through <b>ComfyUI-Switchboard</b>
148
+ <i>Group Bypass</i> groups so optional stages can be toggled without editing the graph.
149
+ </p>
150
+ <h4>Setup</h4>
151
+ <ol style="margin-left: 18px; padding-left: 0;">
152
+ <li>Update ComfyUI + ComfyUI-Manager.</li>
153
+ <li>Install the required custom nodes (Spectrum, FaceRefine, Latent Upscaler, Switchboard).</li>
154
+ <li>Download the INT8/quantized MiniMax-H3 model files into <code>ComfyUI/models</code>.</li>
155
+ <li>Grab the R2V Ref LoRA (and ControlNet-Union / Lightx2v / Turbo LoRAs) as needed.</li>
156
+ <li>Load the workflow JSON from this Space or the source repo and run it.</li>
157
+ </ol>
158
+ <p class="desc" style="margin-top:12px">
159
+ Each tab below lists the workflow's <b>node inventory</b> (incl. nested sub-graph nodes),
160
+ the <b>model files</b> it references, and its embedded notes. Use
161
+ <b>Preview JSON</b> to inspect a workflow, and <b>Download</b> to grab it directly.
162
+ </p>
163
+ </div>
164
+ </section>
165
+
166
+ <section id="workflow-tabs"></section>
167
+
168
+ <section class="tabpage" data-tab="prompts">
169
+ <div class="wf-card">
170
+ <h3>LLM prompt-engineering system prompts</h3>
171
+ <p class="desc">
172
+ The authors ship two system prompts for writing generation-ready captions. Feed them to any
173
+ capable LLM, give it your rough idea, and paste its output into the workflow prompt node.
174
+ </p>
175
+ <div class="prompt-block" id="prompt-fl2va"></div>
176
+ <div class="prompt-block" id="prompt-ref2va"></div>
177
+ </div>
178
+ </section>
179
+
180
+ <div class="foot">
181
+ Workflows &copy; <a href="https://huggingface.co/javawock7618">javawock7618</a> ·
182
+ built as a showcase Space · follow each component's own license.
183
+ </div>
184
+ </div>
185
+
186
+ <div id="overlay">
187
+ <div class="modal">
188
+ <h3 id="modal-title">Workflow JSON</h3>
189
+ <pre id="modal-pre">Loading…</pre>
190
+ <div class="mfoot">
191
+ <button class="btn" onclick="closeModal()">Close</button>
192
+ <button class="btn primary" onclick="copyModal()">Copy JSON</button>
193
+ </div>
194
+ </div>
195
+ </div>
196
+
197
+ <div class="toast" id="toast">Copied!</div>
198
+
199
+ <script src="data.js"></script>
200
+ <script>
201
+ const D = window.WORKFLOW_DATA;
202
+ const BASE = location.origin + location.pathname.replace(/\/$/, "");
203
+
204
+ function esc(s) {
205
+ return (s || "").replace(/&/g, "&amp;").replace(/</g, "&lt;")
206
+ .replace(/>/g, "&gt;").replace(/"/g, "&quot;");
207
+ }
208
+
209
+ function toast(msg) {
210
+ const t = document.getElementById("toast");
211
+ t.textContent = msg || "Copied!";
212
+ t.classList.add("show");
213
+ setTimeout(() => t.classList.remove("show"), 1400);
214
+ }
215
+
216
+ function copyText(text, msg) {
217
+ if (navigator.clipboard) { navigator.clipboard.writeText(text).then(() => toast(msg)); }
218
+ else { const ta = document.createElement("textarea"); ta.value = text; document.body.appendChild(ta);
219
+ ta.select(); document.execCommand("copy"); ta.remove(); toast(msg); }
220
+ }
221
+
222
+ function copyModel(name) { copyText(name, "Copied " + name); }
223
+
224
+ let modalFile = null;
225
+ async function openModal(file) {
226
+ modalFile = file;
227
+ document.getElementById("modal-title").textContent = file.split("/").pop();
228
+ document.getElementById("modal-pre").textContent = "Fetching…";
229
+ document.getElementById("overlay").classList.add("open");
230
+ try {
231
+ const r = await fetch(`${BASE}/resolve/main/${file}`);
232
+ if (!r.ok) throw new Error(r.status);
233
+ const txt = await r.text();
234
+ const pretty = JSON.stringify(JSON.parse(txt), null, 1);
235
+ document.getElementById("modal-pre").textContent = pretty;
236
+ } catch (e) {
237
+ document.getElementById("modal-pre").textContent =
238
+ "Could not fetch the workflow JSON (are the workflow files uploaded?): " + e;
239
+ }
240
+ }
241
+ function closeModal() { document.getElementById("overlay").classList.remove("open"); }
242
+ function copyModal() {
243
+ const pre = document.getElementById("modal-pre");
244
+ if (pre.textContent.startsWith("Fetching")) return;
245
+ copyText(pre.textContent);
246
+ }
247
+ document.getElementById("overlay").addEventListener("click", (e) => {
248
+ if (e.target === document.getElementById("overlay")) closeModal();
249
+ });
250
+ document.addEventListener("keydown", (e) => { if (e.key === "Escape") closeModal(); });
251
+
252
+ function statHtml(label, num) {
253
+ return `<div class="stat"><div class="num">${num}</div><div class="lbl">${label}</div></div>`;
254
+ }
255
+
256
+ function buildStats() {
257
+ const wfs = D.workflows;
258
+ const totalNodes = wfs.reduce((a, w) => a + w.totalNodes, 0);
259
+ const models = new Set(wfs.flatMap(w => w.models));
260
+ document.getElementById("stats").innerHTML =
261
+ statHtml("workflows", wfs.length) +
262
+ statHtml("total node instances", totalNodes) +
263
+ statHtml("model files referenced", models.size) +
264
+ statHtml("all INT8-quantized", "7");
265
+ }
266
+
267
+ function inventoryTable(w) {
268
+ if (!w.inventory.length) return `<div class="meta">No node data.</div>`;
269
+ const rows = w.inventory.slice(0, 28).map(i =>
270
+ `<tr><td>${esc(i.type)}</td><td class="c">${i.count}</td></tr>`).join("");
271
+ return `<table>${rows}</table>`;
272
+ }
273
+
274
+ function modelsHtml(w) {
275
+ if (!w.models.length) return `<div class="meta">None referenced.</div>`;
276
+ return `<ul>` + w.models.map(m =>
277
+ `<li>${esc(m)}<button title="Copy filename" onclick="copyModel('${esc(m).replace(/'/g, "&#39;")}')">⧉</button></li>`
278
+ ).join("") + `</ul>`;
279
+ }
280
+
281
+ function notesHtml(w) {
282
+ if (!w.notes.length) return `<div class="meta">None.</div>`;
283
+ return `<blockquote>${esc(w.notes.join("\n\n"))}</blockquote>`;
284
+ }
285
+
286
+ function wfCard(w) {
287
+ return `
288
+ <div class="wf-card">
289
+ <h3>${esc(w.title)}</h3>
290
+ <p class="sub">${esc(w.subtitle)}</p>
291
+ <p class="desc">${esc(w.description)}
292
+ <span class="meta" style="display:block;margin-top:6px">top-level nodes: <b>${w.topLevelNodes}</b> · total incl. sub-graphs: <b>${w.totalNodes}</b></span>
293
+ </p>
294
+ <div class="chips">${w.features.map(f => `<span class="chip">${esc(f)}</span>`).join("")}</div>
295
+ <div class="grid">
296
+ <div class="panel inventory">
297
+ <h4>Node inventory</h4>
298
+ <div class="meta">top ${Math.min(w.inventory.length, 28)} of ${w.inventory.length} node types</div>
299
+ ${inventoryTable(w)}
300
+ </div>
301
+ <div class="panel models">
302
+ <h4>Referenced model files</h4>
303
+ ${modelsHtml(w)}
304
+ <h4 style="margin-top:12px">Embedded notes</h4>
305
+ ${notesHtml(w)}
306
+ </div>
307
+ </div>
308
+ <div class="actions">
309
+ <button class="btn primary" onclick="openModal('${w.file}')">Preview JSON</button>
310
+ <a class="btn" style="display:inline-flex;align-items:center" href="${BASE}/resolve/main/${w.file}" download="${w.file.split("/").pop()}">↓ Download</a>
311
+ </div>
312
+ </div>`;
313
+ }
314
+
315
+ function buildWorkflowTabs() {
316
+ const host = document.getElementById("workflow-tabs");
317
+ host.innerHTML = D.workflows.map(w =>
318
+ `<section class="tabpage" data-tab="wf-${w.file.split("/").pop().replace(/\\./g, "-")}">${wfCard(w)}</section>`).join("");
319
+ }
320
+
321
+ function buildPromptBlocks() {
322
+ for (const key of ["fl2va", "ref2va"]) {
323
+ const el = document.getElementById("prompt-" + key);
324
+ const label = key === "fl2va" ? "FL2VA (image-to-video) system prompt" : "Ref2VA / bridge system prompt";
325
+ el.innerHTML = `
326
+ <h4 style="margin:0 0 2px">${label}</h4>
327
+ <pre>${esc(D.prompts[key])}</pre>
328
+ <button class="btn" onclick="copyText(document.getElementById('prompt-${key}').querySelector('pre').textContent, 'Prompt copied!')">Copy prompt</button>`;
329
+ }
330
+ }
331
+
332
+ function buildTabs() {
333
+ const tabs = [
334
+ ["overview", "Overview"],
335
+ ...D.workflows.map(w => [`wf-${w.file.split("/").pop().replace(/\\./g, "-")}`, w.title]),
336
+ ["prompts", "LLM prompts"],
337
+ ];
338
+ const bar = document.getElementById("tabs");
339
+ bar.innerHTML = tabs.map(([id, label]) =>
340
+ `<button data-tab="${id}">${esc(label)}</button>`).join("");
341
+ bar.addEventListener("click", (e) => {
342
+ const b = e.target.closest("button");
343
+ if (!b) return;
344
+ selectTab(b.dataset.tab);
345
+ });
346
+ selectTab("overview");
347
+ }
348
+
349
+ function selectTab(id) {
350
+ document.querySelectorAll("#tabs button").forEach(b => b.classList.toggle("active", b.dataset.tab === id));
351
+ document.querySelectorAll(".tabpage").forEach(p => p.classList.toggle("active", p.dataset.tab === id));
352
+ window.scrollTo({ top: 0, behavior: "smooth" });
353
+ }
354
+
355
+ buildStats();
356
+ buildWorkflowTabs();
357
+ buildPromptBlocks();
358
+ buildTabs();
359
+ </script>
360
+ </body>
361
+ </html>
llm-prompts/llm_system_prompt_for_minimax-h3_fl2va-2608.6.txt ADDED
@@ -0,0 +1,236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ You are an expert prompt writer for MiniMax-H3 FL2VA / First-and-Last-Frame-to-Video generation.
2
+
3
+ Convert the user's input directly into a precise, generation-oriented FL2VA prompt.
4
+
5
+ Output ONLY:
6
+
7
+ FL2VA:
8
+
9
+ subject_definitions:
10
+ ...
11
+
12
+ summary:
13
+ ...
14
+
15
+ retention_analysis:
16
+ ...
17
+
18
+ detailed_description:
19
+ ...
20
+
21
+ overall_soundscape:
22
+ ...
23
+
24
+ non_diegetic_music:
25
+ ...
26
+
27
+ Write structural prose in English.
28
+
29
+ ## CORE RULES
30
+
31
+ Describe ONLY the target video.
32
+
33
+ Use only:
34
+
35
+ 1. Explicit user instructions.
36
+ 2. Relevant visual information from assigned First/Last Frame references.
37
+ 3. Explicit motion/camera/timing from assigned Video references.
38
+ 4. Explicit sound/music from assigned Audio references.
39
+
40
+ First/Last Frame references define the required visual state and appearance at the beginning and end of the video. They do NOT define intermediate actions, motion, camera movement, timing, dialogue, sound, or music unless explicitly assigned as such.
41
+
42
+ Never invent events, reactions, gestures, sounds, camera movements, dialogue, transitions, or endings.
43
+
44
+ The user's timeline is authoritative for WHAT happens.
45
+
46
+ ## FIRST / LAST FRAME RULE
47
+
48
+ Preserve the visual identity and relevant appearance of the assigned frames.
49
+
50
+ The first frame represents the starting visual state.
51
+
52
+ The last frame represents the ending visual state.
53
+
54
+ Do not describe the first or last frame as an action unless the user explicitly specifies that action.
55
+
56
+ Do not invent intermediate motion solely to explain how the first frame becomes the last frame.
57
+
58
+ Use only the user's explicit timeline for intermediate actions and motion.
59
+
60
+ ## TIMELINE
61
+
62
+ Preserve every explicit timestamp exactly.
63
+
64
+ Preserve every explicit:
65
+
66
+ * action
67
+ * motion
68
+ * camera instruction
69
+ * speech
70
+ * narration
71
+ * voiceover
72
+ * lyric
73
+ * visible text
74
+ * sound
75
+
76
+ Use `[Shot 1]` unless multiple shots are explicitly specified.
77
+
78
+ Keep each interval concise. Do not merge away explicit events.
79
+
80
+ ## SPEECH — CRITICAL
81
+
82
+ A speech event exists ONLY when:
83
+
84
+ 1. The surrounding text explicitly indicates speech, narration, voiceover, or singing.
85
+ 2. The actual words are enclosed in quotation marks.
86
+
87
+ Accepted quotation marks:
88
+
89
+ 「...」
90
+ “...”
91
+ "..."
92
+ ‘...’
93
+ '...'
94
+
95
+ Every valid quoted speech event is LOCKED CONTENT.
96
+
97
+ For every valid speech event:
98
+
99
+ * preserve exact wording
100
+ * preserve exact punctuation
101
+ * preserve original language
102
+ * preserve speaker
103
+ * preserve exact timestamp
104
+ * output it exactly once
105
+ * place it in the corresponding timeline interval
106
+ * wrap the actual spoken words in `<d>...</d>`
107
+
108
+ Example:
109
+
110
+ `[10-15s] She says in Japanese 「Example phrase.」`
111
+
112
+ →
113
+
114
+ `[10-15s] She says in Japanese: <d>Example phrase.</d>`
115
+
116
+ The example is generic and must never be inserted unless supplied by the user.
117
+
118
+ NEVER:
119
+
120
+ * translate
121
+ * romanize
122
+ * paraphrase
123
+ * summarize
124
+ * shorten
125
+ * expand
126
+ * correct
127
+ * replace
128
+ * omit
129
+ * duplicate
130
+
131
+ Do NOT generate dialogue from statements such as:
132
+
133
+ * She speaks Japanese.
134
+ * She talks to the camera.
135
+ * She says something.
136
+ * Japanese dialogue occurs.
137
+
138
+ Without quoted words, there is NO dialogue.
139
+
140
+ If an interval has no valid speech, write exactly:
141
+
142
+ `No dialogue or narration.`
143
+
144
+ If an interval contains valid speech, do NOT write that phrase.
145
+
146
+ ## VISIBLE TEXT
147
+
148
+ Quoted text is NOT automatically speech.
149
+
150
+ If the user identifies it as a subtitle, sign, label, title, poster, screen text, written message, or other visible text, preserve it exactly in the original language and do not speak it.
151
+
152
+ ## REFERENCE RULES
153
+
154
+ ### subject_definitions
155
+
156
+ Use only user-provided subject information and relevant visual information from the assigned First/Last Frame references.
157
+
158
+ ### summary
159
+
160
+ Briefly summarize the target video. Do not replace or omit explicit dialogue.
161
+
162
+ ### retention_analysis
163
+
164
+ Mention only relevant visual information retained from the assigned First/Last Frame references. Do not add unsupported actions, motion, camera behavior, sound, or dialogue.
165
+
166
+ ### detailed_description
167
+
168
+ This is the authoritative timeline.
169
+
170
+ Every explicit user event MUST appear here.
171
+
172
+ Every valid speech event MUST appear here exactly once with its original wording and timestamp.
173
+
174
+ Describe intermediate motion only when explicitly provided by the user or an assigned Video reference.
175
+
176
+ ### overall_soundscape
177
+
178
+ Use only explicitly specified or explicitly referenced sound.
179
+
180
+ If none:
181
+
182
+ `N/A`
183
+
184
+ ### non_diegetic_music
185
+
186
+ Use only explicitly specified or explicitly referenced music.
187
+
188
+ If none:
189
+
190
+ `N/A`
191
+
192
+ ## CAMERA / MOTION / TIMING / SOUND
193
+
194
+ Camera behavior:
195
+ ONLY from user instructions or assigned Video references.
196
+
197
+ Actions and motion:
198
+ ONLY from user instructions or assigned Video references.
199
+
200
+ Timing:
201
+ ONLY from user timestamps or assigned Video references.
202
+
203
+ Sound:
204
+ ONLY from user instructions or assigned Audio references.
205
+
206
+ Music:
207
+ ONLY from user instructions or assigned Audio references.
208
+
209
+ Do not invent camera movement or motion to connect the First and Last Frames.
210
+
211
+ ## ENDING
212
+
213
+ The last frame defines the required final visual state when a Last Frame reference is provided.
214
+
215
+ Do not invent any additional ending action, transition, fade, freeze, final hold, credits, or reaction beyond the user's instructions.
216
+
217
+ ## FINAL CHECK
218
+
219
+ Silently verify:
220
+
221
+ * Every explicit timeline interval is present.
222
+ * Every explicit action/motion/camera instruction is present.
223
+ * The First Frame visual state is preserved.
224
+ * The Last Frame visual state is preserved.
225
+ * No unsupported intermediate motion was invented from the frames.
226
+ * Every valid quoted speech event is present.
227
+ * Every speech event appears exactly once.
228
+ * Every speech event retains exact wording, punctuation, language, speaker, and timestamp.
229
+ * `<d>` contains only the actual spoken words.
230
+ * No unquoted text became dialogue.
231
+ * No dialogue was invented.
232
+ * No unsupported sound, music, camera behavior, motion, reaction, or transition was invented.
233
+ * Output contains ONLY the required FL2VA structure.
234
+
235
+ Never output reasoning, analysis, warnings, explanations, or commentary.
236
+ Never output text before `FL2VA:` or after the completed prompt.
llm-prompts/llm_system_prompt_for_minimax-h3_ref2va-2608.8.txt ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ You are an expert prompt writer for MiniMax-H3 Ref2VA / Full-Reference video generation.
2
+
3
+ Convert the user's input directly into a precise generation-oriented Ref2VA prompt.
4
+
5
+ Output ONLY:
6
+
7
+ Ref2VA:
8
+
9
+ subject_definitions:
10
+ ...
11
+
12
+ summary:
13
+ ...
14
+
15
+ retention_analysis:
16
+ ...
17
+
18
+ detailed_description:
19
+ ...
20
+
21
+ overall_soundscape:
22
+ ...
23
+
24
+ non_diegetic_music:
25
+ ...
26
+
27
+ Write structural prose in English.
28
+
29
+ ## CORE RULES
30
+
31
+ Describe ONLY the target video.
32
+
33
+ Use only:
34
+
35
+ 1. Explicit user instructions.
36
+ 2. Relevant visual information from assigned Picture references.
37
+ 3. Explicit motion/camera/timing from assigned Video references.
38
+ 4. Explicit sound/music from assigned Audio references.
39
+
40
+ Pictures provide visual information only. Never derive actions, motion, camera behavior, timing, dialogue, sound, or music from Pictures.
41
+
42
+ Never invent events, reactions, gestures, sounds, camera movements, dialogue, transitions, or endings.
43
+
44
+ The user's timeline is authoritative for WHAT happens.
45
+
46
+ ## TIMELINE
47
+
48
+ Preserve every explicit timestamp exactly.
49
+
50
+ Preserve every explicit:
51
+
52
+ * action
53
+ * motion
54
+ * camera instruction
55
+ * speech
56
+ * narration
57
+ * voiceover
58
+ * lyric
59
+ * visible text
60
+ * sound
61
+
62
+ Use `[Shot 1]` unless multiple shots are explicitly specified.
63
+
64
+ Keep each interval concise. Do not merge away explicit events.
65
+
66
+ ## SPEECH — CRITICAL
67
+
68
+ A speech event exists ONLY when:
69
+
70
+ 1. The surrounding text explicitly indicates speech, narration, voiceover, or singing.
71
+ 2. The actual words are enclosed in quotation marks.
72
+
73
+ Accepted quotation marks:
74
+
75
+ 「...」
76
+ “...”
77
+ "..."
78
+ ‘...’
79
+ '...'
80
+
81
+ Every valid quoted speech event is LOCKED CONTENT.
82
+
83
+ For every valid speech event:
84
+
85
+ * preserve exact wording
86
+ * preserve exact punctuation
87
+ * preserve original language
88
+ * preserve speaker
89
+ * preserve exact timestamp
90
+ * output it exactly once
91
+ * place it in the corresponding timeline interval
92
+ * wrap the actual spoken words in `<d>...</d>`
93
+
94
+ Example:
95
+
96
+ `[10-15s] She says in Japanese 「Example phrase.」`
97
+
98
+ →
99
+
100
+ `[10-15s] She says in Japanese: <d>Example phrase.</d>`
101
+
102
+ The example is generic and must never be inserted unless supplied by the user.
103
+
104
+ NEVER:
105
+
106
+ * translate
107
+ * romanize
108
+ * paraphrase
109
+ * summarize
110
+ * shorten
111
+ * expand
112
+ * correct
113
+ * replace
114
+ * omit
115
+ * duplicate
116
+
117
+ Do NOT generate dialogue from statements such as:
118
+
119
+ * She speaks Japanese.
120
+ * She talks to the camera.
121
+ * She says something.
122
+ * Japanese dialogue occurs.
123
+
124
+ Without quoted words, there is NO dialogue.
125
+
126
+ If an interval has no valid speech, write exactly:
127
+
128
+ `No dialogue or narration.`
129
+
130
+ If an interval contains valid speech, do NOT write that phrase.
131
+
132
+ ## VISIBLE TEXT
133
+
134
+ Quoted text is NOT automatically speech.
135
+
136
+ If the user identifies it as a subtitle, sign, label, title, poster, screen text, written message, or other visible text, preserve it exactly in the original language and do not speak it.
137
+
138
+ ## REFERENCE RULES
139
+
140
+ ### subject_definitions
141
+
142
+ Use only user-provided subject information and relevant visual information from Pictures.
143
+
144
+ ### summary
145
+
146
+ Briefly summarize the target video. Do not replace or omit explicit dialogue.
147
+
148
+ ### retention_analysis
149
+
150
+ Mention only relevant visual information retained from Pictures. Do not add actions, motion, camera behavior, sound, or dialogue.
151
+
152
+ ### detailed_description
153
+
154
+ This is the authoritative timeline.
155
+
156
+ Every explicit user event MUST appear here.
157
+
158
+ Every valid speech event MUST appear here exactly once with its original wording and timestamp.
159
+
160
+ ### overall_soundscape
161
+
162
+ Use only explicitly specified or explicitly referenced sound.
163
+
164
+ If none:
165
+
166
+ `N/A`
167
+
168
+ ### non_diegetic_music
169
+
170
+ Use only explicitly specified or explicitly referenced music.
171
+
172
+ If none:
173
+
174
+ `N/A`
175
+
176
+ ## CAMERA / MOTION / TIMING / SOUND
177
+
178
+ Camera behavior:
179
+ ONLY from user instructions or assigned Video references.
180
+
181
+ Actions and motion:
182
+ ONLY from user instructions or assigned Video references.
183
+
184
+ Timing:
185
+ ONLY from user timestamps or assigned Video references.
186
+
187
+ Sound:
188
+ ONLY from user instructions or assigned Audio references.
189
+
190
+ Music:
191
+ ONLY from user instructions or assigned Audio references.
192
+
193
+ ## ENDING
194
+
195
+ Do not invent an ending, transition, fade, freeze, final hold, credits, or additional reaction unless explicitly specified.
196
+
197
+ ## FINAL CHECK
198
+
199
+ Silently verify:
200
+
201
+ * Every explicit timeline interval is present.
202
+ * Every explicit action/motion/camera instruction is present.
203
+ * Every valid quoted speech event is present.
204
+ * Every speech event appears exactly once.
205
+ * Every speech event retains exact wording, punctuation, language, speaker, and timestamp.
206
+ * `<d>` contains only the actual spoken words.
207
+ * No unquoted text became dialogue.
208
+ * No dialogue was invented.
209
+ * No Picture reference created an event.
210
+ * No unsupported sound, music, camera behavior, motion, reaction, or ending was invented.
211
+ * Output contains ONLY the required Ref2VA structure.
212
+
213
+ Never output reasoning, analysis, warnings, explanations, or commentary.
214
+ Never output text before `Ref2VA:` or after the completed prompt.
workflows/MiniMax_int8_Bridge-javano2609.1.1.json ADDED
The diff for this file is too large to render. See raw diff
 
workflows/MiniMax_int8_FR-javano2609.1.1.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"id":"e262b141-5172-4e0f-ad87-d44552bd8130","revision":0,"last_node_id":233,"last_link_id":461,"nodes":[{"id":22,"type":"VHS_VideoCombine","pos":[240,5300],"size":[510,410],"flags":{},"order":11,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":394},{"localized_name":"audio","name":"audio","shape":7,"type":"AUDIO","link":27},{"localized_name":"meta_batch","name":"meta_batch","shape":7,"type":"VHS_BatchManager","link":null},{"localized_name":"vae","name":"vae","shape":7,"type":"VAE","link":null},{"localized_name":"frame_rate","name":"frame_rate","type":"FLOAT","widget":{"name":"frame_rate"},"link":null},{"localized_name":"loop_count","name":"loop_count","type":"INT","widget":{"name":"loop_count"},"link":null},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null},{"localized_name":"format","name":"format","type":"COMBO","widget":{"name":"format"},"link":null},{"localized_name":"pingpong","name":"pingpong","type":"BOOLEAN","widget":{"name":"pingpong"},"link":null},{"localized_name":"save_output","name":"save_output","type":"BOOLEAN","widget":{"name":"save_output"},"link":null},{"name":"pix_fmt","type":["yuv420p","p010le"],"widget":{"name":"pix_fmt"},"link":null},{"name":"bitrate","type":"INT","widget":{"name":"bitrate"},"link":null},{"name":"megabit","type":"BOOLEAN","widget":{"name":"megabit"},"link":null},{"name":"save_metadata","type":"BOOLEAN","widget":{"name":"save_metadata"},"link":null}],"outputs":[{"localized_name":"Filenames","name":"Filenames","type":"VHS_FILENAMES","links":null}],"properties":{"cnr_id":"comfyui-videohelpersuite","ver":"1.7.9","Node name for S&R":"VHS_VideoCombine"},"widgets_values":{"frame_rate":24,"loop_count":0,"filename_prefix":"minimax/H3-FaceRefined","format":"video/nvenc_h264-mp4","pix_fmt":"yuv420p","bitrate":30,"megabit":true,"save_metadata":true,"pingpong":false,"save_output":false,"videopreview":{"hidden":false,"paused":false,"params":{"filename":"H3-FaceRefined_00001-audio.mp4","subfolder":"minimax","type":"temp","format":"video/nvenc_h264-mp4","frame_rate":24,"workflow":"H3-FaceRefined_00001.png","fullpath":"C:\\ComfyUI\\temp\\minimax\\H3-FaceRefined_00001-audio.mp4"}}},"widgets_values_named":{"frame_rate":24,"loop_count":0,"filename_prefix":"minimax/H3-FaceRefined","format":"video/nvenc_h264-mp4","pix_fmt":"yuv420p","bitrate":30,"megabit":true,"save_metadata":true,"pingpong":false,"save_output":false,"videopreview":{"hidden":false,"paused":false,"params":{"filename":"H3-FaceRefined_00001-audio.mp4","subfolder":"minimax","type":"temp","format":"video/nvenc_h264-mp4","frame_rate":24,"workflow":"H3-FaceRefined_00001.png","fullpath":"C:\\ComfyUI\\temp\\minimax\\H3-FaceRefined_00001-audio.mp4"}}}},{"id":152,"type":"2116b7a6-0103-4b9f-97d9-19d9554b768f","pos":[-2590,5350],"size":[570,430],"flags":{},"order":0,"mode":0,"inputs":[{"name":"model_name","type":"COMBO","widget":{"name":"model_name"},"link":null},{"label":"vae_name_video","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":null},{"label":"vae_name_audio","name":"vae_name_1","type":"COMBO","widget":{"name":"vae_name_1"},"link":null},{"name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":null},{"label":"ref_lora_name","name":"lora_name_1","type":"COMBO","widget":{"name":"lora_name_1"},"link":null},{"name":"lora_name","type":"COMBO","widget":{"name":"lora_name"},"link":null},{"name":"strength_model","type":"FLOAT","widget":{"name":"strength_model"},"link":null},{"label":"enable kitchen-attn","name":"switch_1","type":"BOOLEAN","widget":{"name":"switch_1"},"link":null},{"label":"enable sage-attn","name":"switch","type":"BOOLEAN","widget":{"name":"switch"},"link":null},{"label":"enable sparse-attn","name":"switch_2","type":"BOOLEAN","widget":{"name":"switch_2"},"link":null},{"name":"shift_video","type":"FLOAT","widget":{"name":"shift_video"},"link":null}],"outputs":[{"name":"MODEL","type":"MODEL","links":[278]},{"label":"Video_VAE","name":"VAE","type":"VAE","links":[282,397]},{"label":"Audio_VAE","name":"VAE_1","type":"VAE","links":[280,398]},{"name":"CLIP","type":"CLIP","links":[281,399]}],"properties":{"cnr_id":"comfy-core","ver":"0.32.0","previewExposures":[]},"widgets_values":["minimax_h3_fl2va_pruned_int8_convrot.safetensors","minimax_h3_video_vae_int8_convrot.safetensors","minimax_h3_audio_vae_fp32.safetensors","qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","H3\\minimax_h3_ref_lora_rank_256_bf16.safetensors","H3\\minimax_h3_ref2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors",1,true,false,true,12],"widgets_values_named":{"model_name":"minimax_h3_fl2va_pruned_int8_convrot.safetensors","vae_name":"minimax_h3_video_vae_int8_convrot.safetensors","vae_name_1":"minimax_h3_audio_vae_fp32.safetensors","clip_name":"qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","lora_name_1":"H3\\minimax_h3_ref_lora_rank_256_bf16.safetensors","lora_name":"H3\\minimax_h3_ref2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors","strength_model":1,"switch_1":true,"switch":false,"switch_2":true,"shift_video":12}},{"id":168,"type":"Note","pos":[-2590,5040],"size":[350,260],"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["Ref LoRA\nhttps://huggingface.co/Kijai/MiniMax-H3-experimental/tree/main/loras\n\nFaceRefine\nhttps://github.com/Carasibana/ComfyUI-H3-FaceRefine\n\nComfyui_Minimax_h3_latent_Upscaler\nhttps://github.com/LBH-123-AI/Comfyui_Minimax_h3_latent_Upscaler\n\nFace Model\nhttps://huggingface.co/Anzhc/Anzhcs_YOLOs\nhttps://huggingface.co/facebook/sam2.1-hiera-large"],"widgets_values_named":{"text":"Ref LoRA\nhttps://huggingface.co/Kijai/MiniMax-H3-experimental/tree/main/loras\n\nFaceRefine\nhttps://github.com/Carasibana/ComfyUI-H3-FaceRefine\n\nComfyui_Minimax_h3_latent_Upscaler\nhttps://github.com/LBH-123-AI/Comfyui_Minimax_h3_latent_Upscaler\n\nFace Model\nhttps://huggingface.co/Anzhc/Anzhcs_YOLOs\nhttps://huggingface.co/facebook/sam2.1-hiera-large"},"color":"#432","bgcolor":"#653"},{"id":169,"type":"Note","pos":[-890,5160],"size":[380,90],"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["If the face you want to refine is too small, increase \"crop_size\" to a value like 512 or 640; however, note that processing time will slow."],"widgets_values_named":{"text":"If the face you want to refine is too small, increase \"crop_size\" to a value like 512 or 640; however, note that processing time will slow."},"color":"#432","bgcolor":"#653"},{"id":28,"type":"ModelPreviewOverrideKJ","pos":[-1530,5350],"size":[560,880],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":278},{"localized_name":"vae","name":"vae","shape":7,"type":"VAE","link":null},{"localized_name":"max_resolution","name":"max_resolution","type":"INT","widget":{"name":"max_resolution"},"link":null},{"localized_name":"jpeg_quality","name":"jpeg_quality","type":"INT","widget":{"name":"jpeg_quality"},"link":null},{"localized_name":"suppress_default_preview","name":"suppress_default_preview","type":"BOOLEAN","widget":{"name":"suppress_default_preview"},"link":null},{"localized_name":"preview_frames","name":"preview_frames","type":"INT","widget":{"name":"preview_frames"},"link":184},{"localized_name":"preview_fps","name":"preview_fps","type":"INT","widget":{"name":"preview_fps"},"link":null},{"localized_name":"tiny_vae","name":"tiny_vae","shape":7,"type":"COMBO","widget":{"name":"tiny_vae"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[289,431]}],"properties":{"cnr_id":"comfyui-kjnodes","ver":"6ab7e8130e449ed2c0037589bcf84146ceb7fc9c","Node name for S&R":"ModelPreviewOverrideKJ"},"widgets_values":[1024,80,true,1,8,"taeh3.safetensors",""],"widgets_values_named":{"max_resolution":1024,"jpeg_quality":80,"suppress_default_preview":true,"preview_frames":1,"preview_fps":8,"tiny_vae":"taeh3.safetensors","preview":""},"color":"#222","bgcolor":"#000"},{"id":144,"type":"VHS_VideoCombine","pos":[-210,5350],"size":[400,410],"flags":{"collapsed":false},"order":13,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":180},{"localized_name":"audio","name":"audio","shape":7,"type":"AUDIO","link":null},{"localized_name":"meta_batch","name":"meta_batch","shape":7,"type":"VHS_BatchManager","link":null},{"localized_name":"vae","name":"vae","shape":7,"type":"VAE","link":null},{"localized_name":"frame_rate","name":"frame_rate","type":"FLOAT","widget":{"name":"frame_rate"},"link":null},{"localized_name":"loop_count","name":"loop_count","type":"INT","widget":{"name":"loop_count"},"link":null},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null},{"localized_name":"format","name":"format","type":"COMBO","widget":{"name":"format"},"link":null},{"localized_name":"pingpong","name":"pingpong","type":"BOOLEAN","widget":{"name":"pingpong"},"link":null},{"localized_name":"save_output","name":"save_output","type":"BOOLEAN","widget":{"name":"save_output"},"link":null},{"name":"pix_fmt","type":["yuv420p","p010le"],"widget":{"name":"pix_fmt"},"link":null},{"name":"bitrate","type":"INT","widget":{"name":"bitrate"},"link":null},{"name":"megabit","type":"BOOLEAN","widget":{"name":"megabit"},"link":null},{"name":"save_metadata","type":"BOOLEAN","widget":{"name":"save_metadata"},"link":null}],"outputs":[{"localized_name":"Filenames","name":"Filenames","type":"VHS_FILENAMES","links":[]}],"properties":{"cnr_id":"comfyui-videohelpersuite","ver":"08e8df15db24da292d4b7f943c460dc2ab442b24","Node name for S&R":"VHS_VideoCombine"},"widgets_values":{"frame_rate":8,"loop_count":0,"filename_prefix":"Comparison","format":"video/nvenc_h264-mp4","pix_fmt":"yuv420p","bitrate":10,"megabit":true,"save_metadata":true,"pingpong":false,"save_output":false,"videopreview":{"hidden":false,"paused":false,"params":{"filename":"Comparison_00002.mp4","subfolder":"","type":"temp","format":"video/nvenc_h264-mp4","frame_rate":8,"workflow":"Comparison_00002.png","fullpath":"C:\\ComfyUI\\temp\\Comparison_00002.mp4"}}},"widgets_values_named":{"frame_rate":8,"loop_count":0,"filename_prefix":"Comparison","format":"video/nvenc_h264-mp4","pix_fmt":"yuv420p","bitrate":10,"megabit":true,"save_metadata":true,"pingpong":false,"save_output":false,"videopreview":{"hidden":false,"paused":false,"params":{"filename":"Comparison_00002.mp4","subfolder":"","type":"temp","format":"video/nvenc_h264-mp4","frame_rate":8,"workflow":"Comparison_00002.png","fullpath":"C:\\ComfyUI\\temp\\Comparison_00002.mp4"}}}},{"id":143,"type":"b8839f65-32ab-4ce1-a3fc-4912368c2ed3","pos":[-470,5350],"size":[230,180],"flags":{"collapsed":false},"order":12,"mode":0,"inputs":[{"label":"input","name":"image","type":"IMAGE","link":287},{"label":"output","name":"image_1","type":"IMAGE","link":288},{"label":"input_text","name":"text","type":"STRING","widget":{"name":"text"},"link":null},{"label":"outut_text","name":"text_1","type":"STRING","widget":{"name":"text_1"},"link":null},{"name":"direction","type":"COMBO","widget":{"name":"direction"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[180]}],"properties":{"cnr_id":"comfy-core","ver":"0.8.2","previewExposures":[]},"widgets_values":["input","output","right"],"widgets_values_named":{"text":"input","text_1":"output","direction":"right"}},{"id":170,"type":"VHS_VideoCombine","pos":[-470,5570],"size":[230,410],"flags":{"collapsed":false},"order":15,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":295},{"localized_name":"audio","name":"audio","shape":7,"type":"AUDIO","link":null},{"localized_name":"meta_batch","name":"meta_batch","shape":7,"type":"VHS_BatchManager","link":null},{"localized_name":"vae","name":"vae","shape":7,"type":"VAE","link":null},{"localized_name":"frame_rate","name":"frame_rate","type":"FLOAT","widget":{"name":"frame_rate"},"link":null},{"localized_name":"loop_count","name":"loop_count","type":"INT","widget":{"name":"loop_count"},"link":null},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null},{"localized_name":"format","name":"format","type":"COMBO","widget":{"name":"format"},"link":null},{"localized_name":"pingpong","name":"pingpong","type":"BOOLEAN","widget":{"name":"pingpong"},"link":null},{"localized_name":"save_output","name":"save_output","type":"BOOLEAN","widget":{"name":"save_output"},"link":null},{"name":"pix_fmt","type":["yuv420p","p010le"],"widget":{"name":"pix_fmt"},"link":null},{"name":"bitrate","type":"INT","widget":{"name":"bitrate"},"link":null},{"name":"megabit","type":"BOOLEAN","widget":{"name":"megabit"},"link":null},{"name":"save_metadata","type":"BOOLEAN","widget":{"name":"save_metadata"},"link":null}],"outputs":[{"localized_name":"Filenames","name":"Filenames","type":"VHS_FILENAMES","links":[]}],"properties":{"cnr_id":"comfyui-videohelpersuite","ver":"08e8df15db24da292d4b7f943c460dc2ab442b24","Node name for S&R":"VHS_VideoCombine"},"widgets_values":{"frame_rate":24,"loop_count":0,"filename_prefix":"Comparison","format":"video/nvenc_h264-mp4","pix_fmt":"yuv420p","bitrate":10,"megabit":true,"save_metadata":true,"pingpong":false,"save_output":false,"videopreview":{"hidden":false,"paused":false,"params":{"filename":"Comparison_00001.mp4","subfolder":"","type":"temp","format":"video/nvenc_h264-mp4","frame_rate":24,"workflow":"Comparison_00001.png","fullpath":"C:\\ComfyUI\\temp\\Comparison_00001.mp4"}}},"widgets_values_named":{"frame_rate":24,"loop_count":0,"filename_prefix":"Comparison","format":"video/nvenc_h264-mp4","pix_fmt":"yuv420p","bitrate":10,"megabit":true,"save_metadata":true,"pingpong":false,"save_output":false,"videopreview":{"hidden":false,"paused":false,"params":{"filename":"Comparison_00001.mp4","subfolder":"","type":"temp","format":"video/nvenc_h264-mp4","frame_rate":24,"workflow":"Comparison_00001.png","fullpath":"C:\\ComfyUI\\temp\\Comparison_00001.mp4"}}}},{"id":157,"type":"0054af6e-df24-47e4-b99f-9e74d18a3519","pos":[-890,5350],"size":[390,390],"flags":{},"order":14,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":289},{"label":"vae_video","name":"vae","type":"VAE","link":282},{"label":"vae_audio","name":"vae_1","type":"VAE","link":280},{"name":"clip","type":"CLIP","link":281},{"name":"images","type":"IMAGE","link":345},{"name":"audio","type":"AUDIO","link":285},{"label":"length","name":"values.a","type":"FLOAT,INT,BOOLEAN","widget":{"name":"values.a"},"link":354},{"name":"detector","type":"COMBO","widget":{"name":"detector"},"link":null},{"label":"sam","name":"model_name","type":"COMBO","widget":{"name":"model_name"},"link":null},{"label":"crop_size","name":"canvas_height","type":"INT","widget":{"name":"canvas_height"},"link":null},{"name":"denoise","type":"FLOAT","widget":{"name":"denoise"},"link":null},{"label":"ref_image","name":"ref_images.ref_image_0","shape":7,"type":"IMAGE","link":312},{"name":"prompt","type":"STRING","widget":{"name":"prompt"},"link":null}],"outputs":[{"localized_name":"images","name":"images","type":"IMAGE","links":[339]},{"label":"crops","name":"crops","type":"IMAGE","links":[287]},{"label":"refined","name":"IMAGE","type":"IMAGE","links":[288]},{"name":"preview","type":"IMAGE","links":[295]}],"properties":{"cnr_id":"comfy-core","ver":"0.32.0","previewExposures":[]},"widgets_values":[141,"segm\\Anzhc_Face_seg_640_v4_y11n.pt","sam2.1_hiera_large.pt",512,0.29999999999999993,"4k detailed high resolution video"],"widgets_values_named":{"values.a":141,"detector":"segm\\Anzhc_Face_seg_640_v4_y11n.pt","model_name":"sam2.1_hiera_large.pt","canvas_height":512,"denoise":0.29999999999999993,"prompt":"4k detailed high resolution video"},"color":"#222","bgcolor":"#000"},{"id":9,"type":"LoadVideoUI","pos":[-2270,5840],"size":[690,910],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"video","name":"video","type":"COMBO","widget":{"name":"video"},"link":null},{"localized_name":"start_time","name":"start_time","type":"FLOAT","widget":{"name":"start_time"},"link":null},{"localized_name":"end_time","name":"end_time","type":"FLOAT","widget":{"name":"end_time"},"link":null},{"localized_name":"duration","name":"duration","type":"FLOAT","widget":{"name":"duration"},"link":null},{"localized_name":"start_frame","name":"start_frame","type":"INT","widget":{"name":"start_frame"},"link":null},{"localized_name":"end_frame","name":"end_frame","type":"INT","widget":{"name":"end_frame"},"link":null},{"localized_name":"duration_frames","name":"duration_frames","type":"INT","widget":{"name":"duration_frames"},"link":null},{"localized_name":"resize_method","name":"resize_method","type":"COMBO","widget":{"name":"resize_method"},"link":null},{"localized_name":"custom_width","name":"custom_width","type":"INT","widget":{"name":"custom_width"},"link":null},{"localized_name":"custom_height","name":"custom_height","type":"INT","widget":{"name":"custom_height"},"link":null},{"localized_name":"frame_rate","name":"frame_rate","type":"INT","widget":{"name":"frame_rate"},"link":null},{"localized_name":"display_mode","name":"display_mode","type":"COMBO","widget":{"name":"display_mode"},"link":null},{"localized_name":"crop_x","name":"crop_x","type":"FLOAT","widget":{"name":"crop_x"},"link":null},{"localized_name":"crop_y","name":"crop_y","type":"FLOAT","widget":{"name":"crop_y"},"link":null},{"localized_name":"crop_w","name":"crop_w","type":"FLOAT","widget":{"name":"crop_w"},"link":null},{"localized_name":"crop_h","name":"crop_h","type":"FLOAT","widget":{"name":"crop_h"},"link":null}],"outputs":[{"localized_name":"images","name":"images","type":"IMAGE","links":[338]},{"localized_name":"audio","name":"audio","type":"AUDIO","links":[27,285,392]},{"localized_name":"duration","name":"duration","type":"FLOAT","links":[]},{"localized_name":"frame_count","name":"frame_count","type":"INT","links":[184,353]},{"localized_name":"filename","name":"filename","type":"STRING","links":null}],"properties":{"cnr_id":"WhatDreamsCost-ComfyUI","ver":"a3c809c8b593a74c2ddcd6c1f83ad85ebebe3c64","Node name for S&R":"LoadVideoUI"},"widgets_values":["1788091687354_MiniMax_00436-audio.mp4",0,31.375,31.38,0,753,753,"maintain aspect ratio",0,0,24,"frames",0,0,1,1,null,""],"widgets_values_named":{"video":"1788091687354_MiniMax_00436-audio.mp4","start_time":0,"end_time":31.375,"duration":31.38,"start_frame":0,"end_frame":753,"duration_frames":753,"resize_method":"maintain aspect ratio","custom_width":0,"custom_height":0,"frame_rate":24,"display_mode":"frames","crop_x":0,"crop_y":0,"crop_w":1,"crop_h":1,"choose file to upload":null,"VideoUI":""},"color":"#223","bgcolor":"#335"},{"id":174,"type":"LoadImage","pos":[-2590,5840],"size":[290,350],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[312,391]},{"localized_name":"MASK","name":"MASK","type":"MASK","links":null}],"title":"Reference Face (optional)","properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"LoadImage"},"widgets_values":["Flux2-Klein_00575.png","image"],"widgets_values_named":{"image":"Flux2-Klein_00575.png","upload":"image"},"color":"#223","bgcolor":"#335"},{"id":186,"type":"2c9f2183-726b-494c-8073-4a254f5300f3","pos":[-2590,6260],"size":[290,160],"flags":{"collapsed":false},"order":16,"mode":0,"inputs":[{"label":"source image","localized_name":"images","name":"images","shape":7,"type":"IMAGE","link":338},{"label":"refined image","localized_name":"images.image0","name":"images.image0","type":"IMAGE","link":339},{"label":"length","name":"on_false","shape":7,"type":"INT","link":353},{"label":"range","name":"length","type":"INT","widget":{"name":"length"},"link":null},{"label":"enable range","name":"value","type":"BOOLEAN","widget":{"name":"value"},"link":null}],"outputs":[{"label":"target image","name":"output_1","type":"IMAGE","links":[345]},{"name":"output","type":"IMAGE","links":[393]},{"label":"length","name":"INT","type":"INT","links":[354]}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0","previewExposures":[]},"widgets_values":[158,false],"widgets_values_named":{"length":158,"value":false},"color":"#432","bgcolor":"#653"},{"id":198,"type":"Note","pos":[-2590,6480],"size":[290,90],"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["Targets the range from 0 to the specified frame(range)."],"widgets_values_named":{"text":"Targets the range from 0 to the specified frame(range)."},"color":"#432","bgcolor":"#653"},{"id":210,"type":"87f3687c-de7e-48a5-af78-65788265c38d","pos":[-890,6430],"size":[390,330],"flags":{},"order":17,"mode":4,"inputs":[{"name":"model","type":"MODEL","link":431},{"label":"vae_video","name":"vae","type":"VAE","link":397},{"label":"vae_audio","name":"vae_1","type":"VAE","link":398},{"name":"clip","type":"CLIP","link":399},{"label":"images","name":"pixels","type":"IMAGE","link":393},{"name":"audio","type":"AUDIO","link":392},{"label":"ref_image","name":"ref_images.ref_image_0","shape":7,"type":"IMAGE","link":391},{"label":"latent_upscale_model_name","name":"model_name","type":"COMBO","widget":{"name":"model_name"},"link":null},{"label":"latent scale by","name":"mode.scale","type":"FLOAT","widget":{"name":"mode.scale"},"link":null},{"name":"prompt","type":"STRING","widget":{"name":"prompt"},"link":null}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[394]}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0","previewExposures":[]},"widgets_values":["minimax_h3_latent_upscaler_3d_fp32.pth",1.1,""],"widgets_values_named":{"model_name":"minimax_h3_latent_upscaler_3d_fp32.pth","mode.scale":1.1,"prompt":""},"color":"#222","bgcolor":"#000"},{"id":214,"type":"Group Controller","pos":[-1850,5430],"size":[225,0],"flags":{"collapsed":true},"order":10,"mode":0,"inputs":[{"name":"↦ patch","type":"SWITCHBOARD_PATCH","link":null},{"name":"FaceRefine","type":"BOOLEAN","link":414},{"name":"Latent Upscale","type":"BOOLEAN","link":415}],"outputs":[],"properties":{"controls":[{"key":"FaceRefine","label":"FaceRefine","enabled":true,"disableMode":"bypass","invert":false},{"key":"Latent Upscale","label":"Latent Upscale","enabled":false,"disableMode":"bypass","invert":false}]}},{"id":215,"type":"PrimitiveBoolean","pos":[-1850,5470],"size":[270,70],"flags":{},"order":6,"mode":0,"inputs":[{"label":"enable","localized_name":"value","name":"value","type":"BOOLEAN","widget":{"name":"value"},"link":null}],"outputs":[{"localized_name":"BOOLEAN","name":"BOOLEAN","type":"BOOLEAN","links":[414]}],"title":"FaceRefine","properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"PrimitiveBoolean"},"widgets_values":[true],"widgets_values_named":{"value":true},"color":"#432","bgcolor":"#653"},{"id":216,"type":"PrimitiveBoolean","pos":[-1850,5590],"size":[270,70],"flags":{},"order":7,"mode":0,"inputs":[{"label":"enable","localized_name":"value","name":"value","type":"BOOLEAN","widget":{"name":"value"},"link":null}],"outputs":[{"localized_name":"BOOLEAN","name":"BOOLEAN","type":"BOOLEAN","links":[415]}],"title":"Latent Upscale","properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"PrimitiveBoolean"},"widgets_values":[false],"widgets_values_named":{"value":false},"color":"#432","bgcolor":"#653"},{"id":217,"type":"Note","pos":[-440,6430],"size":[230,90],"flags":{},"order":8,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["Upscale Processing is very slow!"],"widgets_values_named":{"text":"Upscale Processing is very slow!"},"color":"#432","bgcolor":"#653"}],"links":[[27,9,1,22,1,"AUDIO"],[180,143,0,144,0,"IMAGE"],[184,9,3,28,5,"INT"],[278,152,0,28,0,"MODEL"],[280,152,2,157,2,"VAE"],[281,152,3,157,3,"CLIP"],[282,152,1,157,1,"VAE"],[285,9,1,157,5,"AUDIO"],[287,157,1,143,0,"IMAGE"],[288,157,2,143,1,"IMAGE"],[289,28,0,157,0,"MODEL"],[295,157,3,170,0,"IMAGE"],[312,174,0,157,11,"IMAGE"],[338,9,0,186,0,"IMAGE"],[339,157,0,186,1,"IMAGE"],[345,186,0,157,4,"IMAGE"],[353,9,3,186,2,"INT"],[354,186,2,157,6,"INT"],[391,174,0,210,6,"IMAGE"],[392,9,1,210,5,"AUDIO"],[393,186,1,210,4,"IMAGE"],[394,210,0,22,0,"IMAGE"],[397,152,1,210,1,"VAE"],[398,152,2,210,2,"VAE"],[399,152,3,210,3,"CLIP"],[414,215,0,214,1,"BOOLEAN"],[415,216,0,214,2,"BOOLEAN"],[431,28,0,210,0,"MODEL"]],"groups":[{"id":4,"title":"FaceRefine","bounding":[-920,5270,1140,1060],"color":"#444","flags":{}},{"id":5,"title":"Latent Upscale","bounding":[-920,6350,460,450],"color":"#444","flags":{}}],"definitions":{"subgraphs":[{"id":"b8839f65-32ab-4ce1-a3fc-4912368c2ed3","version":1,"state":{"lastGroupId":5,"lastNodeId":233,"lastLinkId":461,"lastRerouteId":0},"revision":0,"config":{},"name":"Comparison","inputNode":{"id":-10,"bounding":[2750,-565,128,148]},"outputNode":{"id":-20,"bounding":[3740,-550,128,68]},"inputs":[{"id":"aec28e1b-a1cf-4fb6-8c7a-3a84e05d8b87","name":"image","type":"IMAGE","linkIds":[85],"label":"input","pos":[2854,-541]},{"id":"196b4f27-b04f-486b-971c-2f72704fa5c7","name":"image_1","type":"IMAGE","linkIds":[86,167],"label":"output","pos":[2854,-521]},{"id":"63f64086-d275-4aeb-8a23-14a41d9611a7","name":"text","type":"STRING","linkIds":[89],"label":"input_text","pos":[2854,-501]},{"id":"5c2ee1b1-ed9c-4689-a1e3-2a3925a7cb06","name":"text_1","type":"STRING","linkIds":[90],"label":"outut_text","pos":[2854,-481]},{"id":"7036bd17-afa3-48a8-a3bc-7ef4e3a20138","name":"direction","type":"COMBO","linkIds":[172],"pos":[2854,-461]}],"outputs":[{"id":"2380721a-e601-4b15-a934-df1b4594b6d2","name":"IMAGE","type":"IMAGE","linkIds":[137],"localized_name":"IMAGE","pos":[3764,-526]}],"widgets":[],"nodes":[{"id":124,"type":"AddLabel","pos":[2950,-880],"size":[270,270],"flags":{"collapsed":false},"order":0,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":85},{"localized_name":"caption","name":"caption","shape":7,"type":"STRING","link":null},{"localized_name":"text_x","name":"text_x","type":"INT","widget":{"name":"text_x"},"link":null},{"localized_name":"text_y","name":"text_y","type":"INT","widget":{"name":"text_y"},"link":null},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":null},{"localized_name":"font_size","name":"font_size","type":"INT","widget":{"name":"font_size"},"link":null},{"localized_name":"font_color","name":"font_color","type":"STRING","widget":{"name":"font_color"},"link":null},{"localized_name":"label_color","name":"label_color","type":"STRING","widget":{"name":"label_color"},"link":null},{"localized_name":"font","name":"font","type":"COMBO","widget":{"name":"font"},"link":null},{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":89},{"localized_name":"direction","name":"direction","type":"COMBO","widget":{"name":"direction"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[169]}],"properties":{"cnr_id":"comfyui-kjnodes","ver":"3fcd22f2fe2be69c3229f192362b91888277cbcb","Node name for S&R":"AddLabel","aux_id":"kijai/ComfyUI-KJNodes"},"widgets_values":[10,2,48,32,"white","black","FreeMono.ttf","original","up"],"widgets_values_named":{"text_x":10,"text_y":2,"height":48,"font_size":32,"font_color":"white","label_color":"black","font":"FreeMono.ttf","text":"original","direction":"up"}},{"id":125,"type":"AddLabel","pos":[2950,-550],"size":[270,270],"flags":{"collapsed":false},"order":1,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":86},{"localized_name":"caption","name":"caption","shape":7,"type":"STRING","link":null},{"localized_name":"text_x","name":"text_x","type":"INT","widget":{"name":"text_x"},"link":null},{"localized_name":"text_y","name":"text_y","type":"INT","widget":{"name":"text_y"},"link":null},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":null},{"localized_name":"font_size","name":"font_size","type":"INT","widget":{"name":"font_size"},"link":null},{"localized_name":"font_color","name":"font_color","type":"STRING","widget":{"name":"font_color"},"link":null},{"localized_name":"label_color","name":"label_color","type":"STRING","widget":{"name":"label_color"},"link":null},{"localized_name":"font","name":"font","type":"COMBO","widget":{"name":"font"},"link":null},{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":90},{"localized_name":"direction","name":"direction","type":"COMBO","widget":{"name":"direction"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[171]}],"properties":{"cnr_id":"comfyui-kjnodes","ver":"3fcd22f2fe2be69c3229f192362b91888277cbcb","Node name for S&R":"AddLabel","aux_id":"kijai/ComfyUI-KJNodes"},"widgets_values":[10,2,48,32,"white","black","FreeMono.ttf","blur + screen","up"],"widgets_values_named":{"text_x":10,"text_y":2,"height":48,"font_size":32,"font_color":"white","label_color":"black","font":"FreeMono.ttf","text":"blur + screen","direction":"up"}},{"id":128,"type":"ImageConcanate","pos":[3430,-630],"size":[210,110],"flags":{"collapsed":false},"order":2,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","type":"IMAGE,MASK","link":170},{"localized_name":"image2","name":"image2","type":"IMAGE,MASK","link":171},{"localized_name":"direction","name":"direction","type":"COMBO","widget":{"name":"direction"},"link":172},{"localized_name":"match_image_size","name":"match_image_size","type":"BOOLEAN","widget":{"name":"match_image_size"},"link":null}],"outputs":[{"localized_name":"output","name":"output","type":"IMAGE","links":[129]}],"properties":{"cnr_id":"comfyui-kjnodes","ver":"3fcd22f2fe2be69c3229f192362b91888277cbcb","Node name for S&R":"ImageConcanate","aux_id":"kijai/ComfyUI-KJNodes"},"widgets_values":["right",true],"widgets_values_named":{"direction":"right","match_image_size":true}},{"id":131,"type":"ImageScaleToMaxDimension","pos":[2950,-180],"size":[310,90],"flags":{"collapsed":false},"order":5,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":169},{"localized_name":"upscale_method","name":"upscale_method","type":"COMBO","widget":{"name":"upscale_method"},"link":null},{"localized_name":"largest_size","name":"largest_size","type":"INT","widget":{"name":"largest_size"},"link":140}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[170]}],"properties":{"cnr_id":"comfy-core","ver":"0.32.0","Node name for S&R":"ImageScaleToMaxDimension"},"widgets_values":["area",512],"widgets_values_named":{"upscale_method":"area","largest_size":512}},{"id":129,"type":"ImageListToImageBatch","pos":[3430,-480],"size":[230,30],"flags":{"collapsed":false},"order":3,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":129}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[137]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"b7cb2d0cb8f59bbeddce02e356c84aa44bda9bb1","Node name for S&R":"ImageListToImageBatch"}},{"id":130,"type":"GetImageSizeAndCount","pos":[2950,-220],"size":[200,90],"flags":{"collapsed":true},"order":4,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":167}],"outputs":[{"localized_name":"image","name":"image","type":"IMAGE","links":null},{"label":"512 width","localized_name":"width","name":"width","type":"INT","links":null},{"label":"512 height","localized_name":"height","name":"height","type":"INT","links":[140]},{"label":"158 count","localized_name":"count","name":"count","type":"INT","links":null}],"properties":{"cnr_id":"comfyui-kjnodes","ver":"6ab7e8130e449ed2c0037589bcf84146ceb7fc9c","Node name for S&R":"GetImageSizeAndCount"}}],"groups":[],"links":[{"id":85,"origin_id":-10,"origin_slot":0,"target_id":124,"target_slot":0,"type":"IMAGE"},{"id":86,"origin_id":-10,"origin_slot":1,"target_id":125,"target_slot":0,"type":"IMAGE"},{"id":89,"origin_id":-10,"origin_slot":2,"target_id":124,"target_slot":9,"type":"STRING"},{"id":90,"origin_id":-10,"origin_slot":3,"target_id":125,"target_slot":9,"type":"STRING"},{"id":129,"origin_id":128,"origin_slot":0,"target_id":129,"target_slot":0,"type":"IMAGE"},{"id":137,"origin_id":129,"origin_slot":0,"target_id":-20,"target_slot":0,"type":"IMAGE"},{"id":140,"origin_id":130,"origin_slot":2,"target_id":131,"target_slot":2,"type":"INT"},{"id":167,"origin_id":-10,"origin_slot":1,"target_id":130,"target_slot":0,"type":"IMAGE"},{"id":169,"origin_id":124,"origin_slot":0,"target_id":131,"target_slot":0,"type":"IMAGE"},{"id":170,"origin_id":131,"origin_slot":0,"target_id":128,"target_slot":0,"type":"IMAGE"},{"id":171,"origin_id":125,"origin_slot":0,"target_id":128,"target_slot":1,"type":"IMAGE"},{"id":172,"origin_id":-10,"origin_slot":4,"target_id":128,"target_slot":2,"type":"COMBO"}],"extra":{"workflowRendererVersion":"LG"}},{"id":"2116b7a6-0103-4b9f-97d9-19d9554b768f","version":1,"state":{"lastGroupId":5,"lastNodeId":233,"lastLinkId":461,"lastRerouteId":0},"revision":0,"config":{},"name":"INT8 Model Loader","inputNode":{"id":-10,"bounding":[-2530,5510,157.986328125,268]},"outputNode":{"id":-20,"bounding":[-870,5600,128,128]},"inputs":[{"id":"dfc7b439-ab7e-463d-8cde-02fa99b76f35","name":"model_name","type":"COMBO","linkIds":[432],"pos":[-2396.013671875,5534]},{"id":"e4838789-a1e0-4447-b1eb-b42393b2716f","name":"vae_name","type":"COMBO","linkIds":[229],"label":"vae_name_video","pos":[-2396.013671875,5554]},{"id":"1bac9710-34fb-42f9-b0a2-04f175f4fe1a","name":"vae_name_1","type":"COMBO","linkIds":[230],"label":"vae_name_audio","pos":[-2396.013671875,5574]},{"id":"4d6aecc0-b45f-4451-a82e-7597e035646b","name":"clip_name","type":"COMBO","linkIds":[234],"pos":[-2396.013671875,5594]},{"id":"d314ad87-8c6c-4ad3-ab4d-210063261ba1","name":"lora_name_1","type":"COMBO","linkIds":[360],"label":"ref_lora_name","pos":[-2396.013671875,5614]},{"id":"0ad0202e-defe-484a-a72c-d65f7e483e7f","name":"lora_name","type":"COMBO","linkIds":[364],"pos":[-2396.013671875,5634]},{"id":"6b494912-519e-4c33-be19-dc0e23db4ddf","name":"strength_model","type":"FLOAT","linkIds":[365],"pos":[-2396.013671875,5654]},{"id":"adc9e2e3-d763-4e1d-998e-d84787550fbe","name":"switch_1","type":"BOOLEAN","linkIds":[443],"label":"enable kitchen-attn","pos":[-2396.013671875,5674]},{"id":"43933a79-2538-4c99-a32d-c1666f9a168b","name":"switch","type":"BOOLEAN","linkIds":[442],"label":"enable sage-attn","pos":[-2396.013671875,5694]},{"id":"f32a178f-9d66-4973-87d4-8c5dec16e0ef","name":"switch_2","type":"BOOLEAN","linkIds":[448],"label":"enable sparse-attn","pos":[-2396.013671875,5714]},{"id":"3098670f-08e4-4311-8743-76699e894b35","name":"shift_video","type":"FLOAT","linkIds":[366],"pos":[-2396.013671875,5734]}],"outputs":[{"id":"64ff6fe0-f7ca-4520-9fce-89dd3c88b892","name":"MODEL","type":"MODEL","linkIds":[224],"pos":[-846,5624]},{"id":"2ff3f4ba-107b-4df5-bc57-c9dbfe661a3c","name":"VAE","type":"VAE","linkIds":[225],"label":"Video_VAE","pos":[-846,5644]},{"id":"9894cec7-42b7-4d09-870c-4d9fce3444ec","name":"VAE_1","type":"VAE","linkIds":[226],"label":"Audio_VAE","pos":[-846,5664]},{"id":"4988e98b-8d6b-445a-a14e-7510acfac07b","name":"CLIP","type":"CLIP","linkIds":[227],"pos":[-846,5684]}],"widgets":[],"nodes":[{"id":2,"type":"MiniMaxH3MemoryEfficientSageAttentionPatch","pos":[-2160,5220],"size":[330,60],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":435}],"outputs":[{"localized_name":"model","name":"model","type":"MODEL","links":[436]}],"properties":{"cnr_id":"comfyui-kjnodes","ver":"6ab7e8130e449ed2c0037589bcf84146ceb7fc9c","Node name for S&R":"MiniMaxH3MemoryEfficientSageAttentionPatch"}},{"id":6,"type":"VAELoader","pos":[-2160,5720],"size":[270,70],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"vae_name","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":229}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","links":[225]}],"properties":{"cnr_id":"comfy-core","ver":"0.32.0","Node name for S&R":"VAELoader"},"widgets_values":["minimax_h3_video_vae_int8_convrot.safetensors"],"widgets_values_named":{"vae_name":"minimax_h3_video_vae_int8_convrot.safetensors"}},{"id":7,"type":"VAELoader","pos":[-2160,5830],"size":[270,70],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"vae_name","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":230}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","links":[226]}],"properties":{"cnr_id":"comfy-core","ver":"0.32.0","Node name for S&R":"VAELoader"},"widgets_values":["minimax_h3_audio_vae_fp32.safetensors"],"widgets_values_named":{"vae_name":"minimax_h3_audio_vae_fp32.safetensors"}},{"id":5,"type":"CLIPLoader","pos":[-2160,5560],"size":[270,120],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"clip_name","name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":234},{"localized_name":"type","name":"type","type":"COMBO","widget":{"name":"type"},"link":null},{"localized_name":"device","name":"device","shape":7,"type":"COMBO","widget":{"name":"device"},"link":null}],"outputs":[{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[227]}],"properties":{"cnr_id":"comfy-core","ver":"0.32.0","Node name for S&R":"CLIPLoader"},"widgets_values":["qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","minimax","default"],"widgets_values_named":{"clip_name":"qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","type":"minimax","device":"default"}},{"id":8,"type":"LoraLoaderModelOnly","pos":[-840,4960],"size":[270,90],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":363},{"localized_name":"lora_name","name":"lora_name","type":"COMBO","widget":{"name":"lora_name"},"link":364},{"localized_name":"strength_model","name":"strength_model","type":"FLOAT","widget":{"name":"strength_model"},"link":365}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[4]}],"properties":{"cnr_id":"comfy-core","ver":"0.32.0","Node name for S&R":"LoraLoaderModelOnly"},"widgets_values":["H3\\minimax_h3_fl2v_turbo_4step_v1.0_768p_comfyui_bf16.safetensors",1],"widgets_values_named":{"lora_name":"H3\\minimax_h3_fl2v_turbo_4step_v1.0_768p_comfyui_bf16.safetensors","strength_model":1}},{"id":3,"type":"MiniMaxH3SigmaShift","pos":[-840,5340],"size":[280,90],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":4},{"localized_name":"shift_video","name":"shift_video","type":"FLOAT","widget":{"name":"shift_video"},"link":366},{"localized_name":"shift_audio","name":"shift_audio","type":"FLOAT","widget":{"name":"shift_audio"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[224]}],"properties":{"cnr_id":"comfy-core","ver":"0.32.0","Node name for S&R":"MiniMaxH3SigmaShift"},"widgets_values":[12,3],"widgets_values_named":{"shift_video":12,"shift_audio":3}},{"id":191,"type":"LoraLoaderModelOnly","pos":[-840,4830],"size":[270,90],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":447},{"localized_name":"lora_name","name":"lora_name","type":"COMBO","widget":{"name":"lora_name"},"link":360},{"localized_name":"strength_model","name":"strength_model","type":"FLOAT","widget":{"name":"strength_model"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[363]}],"properties":{"cnr_id":"comfy-core","ver":"0.32.0","Node name for S&R":"LoraLoaderModelOnly"},"widgets_values":["H3\\minimax_h3_fl2v_turbo_4step_v1.0_768p_comfyui_bf16.safetensors",1],"widgets_values_named":{"lora_name":"H3\\minimax_h3_fl2v_turbo_4step_v1.0_768p_comfyui_bf16.safetensors","strength_model":1}},{"id":222,"type":"UNETLoader","pos":[-2160,4810],"size":[270,90],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"unet_name","name":"unet_name","type":"COMBO","widget":{"name":"unet_name"},"link":432},{"localized_name":"weight_dtype","name":"weight_dtype","type":"COMBO","widget":{"name":"weight_dtype"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[433,437]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"UNETLoader"},"widgets_values":["anima-aesthetic-v1.1-int8convrot.safetensors","default"],"widgets_values_named":{"unet_name":"anima-aesthetic-v1.1-int8convrot.safetensors","weight_dtype":"default"}},{"id":223,"type":"PathchSageAttentionKJ","pos":[-2160,5070],"size":[270,120],"flags":{},"order":8,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":434},{"localized_name":"sage_attention","name":"sage_attention","type":"COMBO","widget":{"name":"sage_attention"},"link":null},{"localized_name":"allow_compile","name":"allow_compile","shape":7,"type":"BOOLEAN","widget":{"name":"allow_compile"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[435]}],"properties":{"cnr_id":"comfyui-kjnodes","ver":"e8e88f7c88e3f6205b122f5de87e69a09fbce5ac","Node name for S&R":"PathchSageAttentionKJ"},"widgets_values":["auto",true],"widgets_values_named":{"sage_attention":"auto","allow_compile":true}},{"id":225,"type":"ModelPatchTorchSettings","pos":[-2160,4940],"size":[320,90],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":433},{"localized_name":"enable_fp16_accumulation","name":"enable_fp16_accumulation","type":"BOOLEAN","widget":{"name":"enable_fp16_accumulation"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[434]}],"properties":{"cnr_id":"comfyui-kjnodes","ver":"e8e88f7c88e3f6205b122f5de87e69a09fbce5ac","Node name for S&R":"ModelPatchTorchSettings"},"widgets_values":[true],"widgets_values_named":{"enable_fp16_accumulation":true}},{"id":226,"type":"ModelAttentionBackend","pos":[-1760,4950],"size":[270,70],"flags":{},"order":10,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":438},{"localized_name":"attention","name":"attention","type":"COMBO","widget":{"name":"attention"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[439]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"ModelAttentionBackend"},"widgets_values":["comfy kitchen attention"],"widgets_values_named":{"attention":"comfy kitchen attention"}},{"id":227,"type":"ComfySwitchNode","pos":[-2160,5320],"size":[270,110],"flags":{},"order":11,"mode":0,"inputs":[{"localized_name":"on_false","name":"on_false","shape":7,"type":"MODEL","link":437},{"localized_name":"on_true","name":"on_true","shape":7,"type":"MODEL","link":436},{"localized_name":"switch","name":"switch","type":"BOOLEAN","widget":{"name":"switch"},"link":442}],"outputs":[{"localized_name":"output","name":"output","type":"MODEL","links":[438,440]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"ComfySwitchNode"},"widgets_values":[false],"widgets_values_named":{"switch":false}},{"id":228,"type":"ComfySwitchNode","pos":[-1760,5070],"size":[270,110],"flags":{},"order":12,"mode":0,"inputs":[{"localized_name":"on_false","name":"on_false","shape":7,"type":"MODEL","link":440},{"localized_name":"on_true","name":"on_true","shape":7,"type":"MODEL","link":439},{"localized_name":"switch","name":"switch","type":"BOOLEAN","widget":{"name":"switch"},"link":443}],"outputs":[{"localized_name":"output","name":"output","type":"MODEL","links":[444,460]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"ComfySwitchNode"},"widgets_values":[false],"widgets_values_named":{"switch":false}},{"id":230,"type":"ComfySwitchNode","pos":[-1440,5240],"size":[270,110],"flags":{"collapsed":false},"order":13,"mode":0,"inputs":[{"localized_name":"on_false","name":"on_false","shape":7,"type":"MODEL","link":444},{"localized_name":"on_true","name":"on_true","shape":7,"type":"MODEL","link":461},{"localized_name":"switch","name":"switch","type":"BOOLEAN","widget":{"name":"switch"},"link":448}],"outputs":[{"localized_name":"output","name":"output","type":"MODEL","links":[447]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"ComfySwitchNode"},"widgets_values":[false],"widgets_values_named":{"switch":false}},{"id":233,"type":"BlockSparseAttention","pos":[-1440,4880],"size":[270,318],"flags":{},"order":14,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":460},{"localized_name":"tau","name":"selection.tau","type":"FLOAT","widget":{"name":"selection.tau"},"link":null},{"localized_name":"selection","name":"selection","type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"selection"},"link":null},{"localized_name":"start_percent","name":"start_percent","type":"FLOAT","widget":{"name":"start_percent"},"link":null},{"localized_name":"end_percent","name":"end_percent","type":"FLOAT","widget":{"name":"end_percent"},"link":null},{"localized_name":"dense_blocks","name":"dense_blocks","type":"STRING","widget":{"name":"dense_blocks"},"link":null},{"localized_name":"min_tokens","name":"min_tokens","type":"INT","widget":{"name":"min_tokens"},"link":null},{"localized_name":"extra_tokens","name":"extra_tokens","type":"INT","widget":{"name":"extra_tokens"},"link":null},{"localized_name":"sink_conditioning","name":"sink_conditioning","type":"COMBO","widget":{"name":"sink_conditioning"},"link":null},{"localized_name":"verbose","name":"verbose","type":"BOOLEAN","widget":{"name":"verbose"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[461]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"BlockSparseAttention"},"widgets_values":["Sol-Attn (adaptive tau)",1.3,0.2,1,"",12288,256,"exact_kv_and_rows",false],"widgets_values_named":{"selection":"Sol-Attn (adaptive tau)","selection.tau":1.3,"start_percent":0.2,"end_percent":1,"dense_blocks":"","min_tokens":12288,"extra_tokens":256,"sink_conditioning":"exact_kv_and_rows","verbose":false}}],"groups":[],"links":[{"id":4,"origin_id":8,"origin_slot":0,"target_id":3,"target_slot":0,"type":"MODEL"},{"id":224,"origin_id":3,"origin_slot":0,"target_id":-20,"target_slot":0,"type":"MODEL"},{"id":225,"origin_id":6,"origin_slot":0,"target_id":-20,"target_slot":1,"type":"VAE"},{"id":226,"origin_id":7,"origin_slot":0,"target_id":-20,"target_slot":2,"type":"VAE"},{"id":227,"origin_id":5,"origin_slot":0,"target_id":-20,"target_slot":3,"type":"CLIP"},{"id":229,"origin_id":-10,"origin_slot":1,"target_id":6,"target_slot":0,"type":"COMBO"},{"id":230,"origin_id":-10,"origin_slot":2,"target_id":7,"target_slot":0,"type":"COMBO"},{"id":234,"origin_id":-10,"origin_slot":3,"target_id":5,"target_slot":0,"type":"COMBO"},{"id":360,"origin_id":-10,"origin_slot":4,"target_id":191,"target_slot":1,"type":"COMBO"},{"id":363,"origin_id":191,"origin_slot":0,"target_id":8,"target_slot":0,"type":"MODEL"},{"id":364,"origin_id":-10,"origin_slot":5,"target_id":8,"target_slot":1,"type":"COMBO"},{"id":365,"origin_id":-10,"origin_slot":6,"target_id":8,"target_slot":2,"type":"FLOAT"},{"id":366,"origin_id":-10,"origin_slot":10,"target_id":3,"target_slot":1,"type":"FLOAT"},{"id":432,"origin_id":-10,"origin_slot":0,"target_id":222,"target_slot":0,"type":"COMBO"},{"id":433,"origin_id":222,"origin_slot":0,"target_id":225,"target_slot":0,"type":"MODEL"},{"id":434,"origin_id":225,"origin_slot":0,"target_id":223,"target_slot":0,"type":"MODEL"},{"id":435,"origin_id":223,"origin_slot":0,"target_id":2,"target_slot":0,"type":"MODEL"},{"id":436,"origin_id":2,"origin_slot":0,"target_id":227,"target_slot":1,"type":"MODEL"},{"id":437,"origin_id":222,"origin_slot":0,"target_id":227,"target_slot":0,"type":"MODEL"},{"id":438,"origin_id":227,"origin_slot":0,"target_id":226,"target_slot":0,"type":"MODEL"},{"id":439,"origin_id":226,"origin_slot":0,"target_id":228,"target_slot":1,"type":"MODEL"},{"id":440,"origin_id":227,"origin_slot":0,"target_id":228,"target_slot":0,"type":"MODEL"},{"id":442,"origin_id":-10,"origin_slot":8,"target_id":227,"target_slot":2,"type":"BOOLEAN"},{"id":443,"origin_id":-10,"origin_slot":7,"target_id":228,"target_slot":2,"type":"BOOLEAN"},{"id":444,"origin_id":228,"origin_slot":0,"target_id":230,"target_slot":0,"type":"MODEL"},{"id":447,"origin_id":230,"origin_slot":0,"target_id":191,"target_slot":0,"type":"MODEL"},{"id":448,"origin_id":-10,"origin_slot":9,"target_id":230,"target_slot":2,"type":"BOOLEAN"},{"id":460,"origin_id":228,"origin_slot":0,"target_id":233,"target_slot":0,"type":"MODEL"},{"id":461,"origin_id":233,"origin_slot":0,"target_id":230,"target_slot":1,"type":"MODEL"}],"extra":{}},{"id":"0054af6e-df24-47e4-b99f-9e74d18a3519","version":1,"state":{"lastGroupId":5,"lastNodeId":233,"lastLinkId":461,"lastRerouteId":0},"revision":0,"config":{},"name":"MiniMax-H3 FaceRefine Sampler","inputNode":{"id":-10,"bounding":[-940,5280,128,308]},"outputNode":{"id":-20,"bounding":[1730,5190,128,128]},"inputs":[{"id":"68d8024b-c1ac-44da-bae0-44beb4192fd9","name":"model","type":"MODEL","linkIds":[457],"pos":[-836,5304]},{"id":"b317266a-3062-4c57-9032-e921a117a880","name":"vae","type":"VAE","linkIds":[266,267,407],"label":"vae_video","pos":[-836,5324]},{"id":"c20f2556-3ed8-453c-8150-bf5ffc1e25de","name":"vae_1","type":"VAE","linkIds":[268,408],"label":"vae_audio","pos":[-836,5344]},{"id":"401a9745-6977-4758-a504-71bab2a58c3e","name":"clip","type":"CLIP","linkIds":[406],"pos":[-836,5364]},{"id":"1e1d3c26-393b-49e4-94c2-50ec34e1f656","name":"images","type":"IMAGE","linkIds":[270,271],"pos":[-836,5384]},{"id":"c653fa88-b146-46cc-a3f5-72394679c79a","name":"audio","type":"AUDIO","linkIds":[272],"pos":[-836,5404]},{"id":"c7dcefe1-8bd3-4d7e-bafd-fcf670a1bf5e","name":"values.a","type":"FLOAT,INT,BOOLEAN","linkIds":[403],"label":"length","pos":[-836,5424]},{"id":"d58b0097-e12f-4bc4-8bfd-a04db8a6ae76","name":"detector","type":"COMBO","linkIds":[274],"pos":[-836,5444]},{"id":"25d67059-2f2f-4803-b61d-8ff644dbe050","name":"model_name","type":"COMBO","linkIds":[277],"label":"sam","pos":[-836,5464]},{"id":"a3024d29-0cbe-442b-9fc4-5bd83fa972da","name":"canvas_height","type":"INT","linkIds":[291,293],"label":"crop_size","pos":[-836,5484]},{"id":"ac2e23aa-4f24-4842-b0b3-c8e5ed91ab59","name":"denoise","type":"FLOAT","linkIds":[292],"pos":[-836,5504]},{"id":"10aa77dc-0cd0-4b89-8865-a42d02c1489f","name":"ref_images.ref_image_0","type":"IMAGE","linkIds":[319,409],"label":"ref_image","pos":[-836,5524]},{"id":"16d5405d-5009-4074-93fa-c91961b76430","name":"prompt","type":"STRING","linkIds":[412],"pos":[-836,5544]}],"outputs":[{"id":"ef4855a3-1411-4083-bd18-33727fbc1504","name":"images","type":"IMAGE","linkIds":[26],"localized_name":"images","pos":[1754,5214]},{"id":"62d52eba-ab2a-4bc8-a0df-7f0f517029c0","name":"crops","type":"IMAGE","linkIds":[262],"label":"crops","pos":[1754,5234]},{"id":"766d8fba-2934-4a1b-b6b0-d1f40721db37","name":"IMAGE","type":"IMAGE","linkIds":[263],"label":"refined","pos":[1754,5254]},{"id":"b4251c49-df39-4f1e-9dab-7695ff78d391","name":"preview","type":"IMAGE","linkIds":[294],"pos":[1754,5274]}],"widgets":[],"nodes":[{"id":13,"type":"RandomNoise","pos":[440,4960],"size":[270,90],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"noise_seed","name":"noise_seed","type":"INT","widget":{"name":"noise_seed"},"link":null}],"outputs":[{"localized_name":"NOISE","name":"NOISE","type":"NOISE","links":[12]}],"properties":{"cnr_id":"comfy-core","ver":"0.32.0","Node name for S&R":"RandomNoise"},"widgets_values":[342989894163554,"randomize"],"widgets_values_named":{"noise_seed":342989894163554,"control_after_generate":"randomize"}},{"id":14,"type":"KSamplerSelect","pos":[440,5200],"size":[270,70],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"sampler_name","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null}],"outputs":[{"localized_name":"SAMPLER","name":"SAMPLER","type":"SAMPLER","links":[13]}],"properties":{"cnr_id":"comfy-core","ver":"0.32.0","Node name for S&R":"KSamplerSelect"},"widgets_values":["euler"],"widgets_values_named":{"sampler_name":"euler"}},{"id":17,"type":"SamplerCustomAdvanced","pos":[780,4960],"size":[230,330],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"noise","name":"noise","type":"NOISE","link":12},{"localized_name":"guider","name":"guider","type":"GUIDER","link":359},{"localized_name":"sampler","name":"sampler","type":"SAMPLER","link":13},{"localized_name":"sigmas","name":"sigmas","type":"SIGMAS","link":15},{"localized_name":"latent_image","name":"latent_image","type":"LATENT","link":29}],"outputs":[{"localized_name":"output","name":"output","type":"LATENT","links":[17]},{"localized_name":"denoised_output","name":"denoised_output","type":"LATENT","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.32.0","Node name for S&R":"SamplerCustomAdvanced"}},{"id":20,"type":"H3FaceMaskSAM","pos":[1020,5530],"size":[270,190],"flags":{},"order":8,"mode":0,"inputs":[{"localized_name":"crops","name":"crops","type":"IMAGE","link":21},{"localized_name":"sam_model","name":"sam_model","type":"SAM_MODEL","link":22},{"localized_name":"transform","name":"transform","type":"H3FACEXFORM","link":23},{"localized_name":"threshold","name":"threshold","type":"FLOAT","widget":{"name":"threshold"},"link":null},{"localized_name":"dilation","name":"dilation","type":"INT","widget":{"name":"dilation"},"link":null},{"localized_name":"temporal_smooth","name":"temporal_smooth","type":"INT","widget":{"name":"temporal_smooth"},"link":null}],"outputs":[{"localized_name":"masks","name":"masks","type":"MASK","links":[24]},{"localized_name":"report","name":"report","type":"STRING","links":null}],"properties":{"cnr_id":"comfyui-h3-facerefine","ver":"79a97ce5ee4b393ce26313bd1280b706fe8b4f2c","Node name for S&R":"H3FaceMaskSAM","aux_id":"Carasibana/ComfyUI-H3-FaceRefine"},"widgets_values":[0.93,0,5],"widgets_values_named":{"threshold":0.93,"dilation":0,"temporal_smooth":5}},{"id":24,"type":"LTXVSeparateAVLatent","pos":[-100,5630],"size":[230,60],"flags":{},"order":11,"mode":0,"inputs":[{"localized_name":"av_latent","name":"av_latent","type":"LATENT","link":311}],"outputs":[{"localized_name":"video_latent","name":"video_latent","type":"LATENT","links":[34]},{"localized_name":"audio_latent","name":"audio_latent","type":"LATENT","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.32.0","Node name for S&R":"LTXVSeparateAVLatent"}},{"id":26,"type":"LTXVConcatAVLatent","pos":[150,5690],"size":[230,60],"flags":{},"order":13,"mode":0,"inputs":[{"localized_name":"video_latent","name":"video_latent","type":"LATENT","link":34},{"localized_name":"audio_latent","name":"audio_latent","type":"LATENT","link":33}],"outputs":[{"localized_name":"latent","name":"latent","type":"LATENT","links":[35]}],"properties":{"cnr_id":"comfy-core","ver":"0.32.0","Node name for S&R":"LTXVConcatAVLatent"}},{"id":25,"type":"VAEEncodeAudio","pos":[-100,5740],"size":[230,60],"flags":{},"order":12,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","link":272},{"localized_name":"vae","name":"vae","type":"VAE","link":268}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[33]}],"properties":{"cnr_id":"comfy-core","ver":"0.32.0","Node name for S&R":"VAEEncodeAudio"}},{"id":11,"type":"H3InjectVideoLatent","pos":[-100,5480],"size":[260,100],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"av_latent","name":"av_latent","type":"LATENT","link":404},{"localized_name":"images","name":"images","type":"IMAGE","link":10},{"localized_name":"vae","name":"vae","type":"VAE","link":266}],"outputs":[{"localized_name":"av_latent","name":"av_latent","type":"LATENT","links":[311]},{"localized_name":"report","name":"report","type":"STRING","links":null}],"properties":{"cnr_id":"comfyui-h3-facerefine","ver":"79a97ce5ee4b393ce26313bd1280b706fe8b4f2c","Node name for S&R":"H3InjectVideoLatent","aux_id":"Carasibana/ComfyUI-H3-FaceRefine"}},{"id":18,"type":"VAEDecode","pos":[1080,4960],"size":[230,60],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":17},{"localized_name":"vae","name":"vae","type":"VAE","link":267}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[20,263]}],"properties":{"cnr_id":"comfy-core","ver":"0.32.0","Node name for S&R":"VAEDecode"}},{"id":21,"type":"SAMLoader","pos":[1020,5360],"size":[270,120],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"model_name","name":"model_name","type":"COMBO","widget":{"name":"model_name"},"link":277},{"localized_name":"device_mode","name":"device_mode","type":"COMBO","widget":{"name":"device_mode"},"link":null}],"outputs":[{"localized_name":"SAM_MODEL","name":"SAM_MODEL","type":"SAM_MODEL","links":[22]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"429d0159ad429e64d2b3916e6e7be9c22d025c3c","Node name for S&R":"SAMLoader"},"widgets_values":["sam2.1_hiera_large.pt","AUTO"],"widgets_values_named":{"model_name":"sam2.1_hiera_large.pt","device_mode":"AUTO"}},{"id":19,"type":"H3FaceStitch","pos":[1330,5400],"size":[310,320],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"base_images","name":"base_images","type":"IMAGE","link":271},{"localized_name":"refined_crops","name":"refined_crops","type":"IMAGE","link":20},{"localized_name":"transform","name":"transform","type":"H3FACEXFORM","link":25},{"localized_name":"masks","name":"masks","shape":7,"type":"MASK","link":24},{"localized_name":"paste_region","name":"paste_region","type":"COMBO","widget":{"name":"paste_region"},"link":null},{"localized_name":"mask_dilation","name":"mask_dilation","type":"INT","widget":{"name":"mask_dilation"},"link":null},{"localized_name":"feather","name":"feather","type":"INT","widget":{"name":"feather"},"link":null},{"localized_name":"colour_match","name":"colour_match","type":"FLOAT","widget":{"name":"colour_match"},"link":null},{"localized_name":"blend","name":"blend","type":"FLOAT","widget":{"name":"blend"},"link":null},{"localized_name":"undetected_frames","name":"undetected_frames","type":"COMBO","widget":{"name":"undetected_frames"},"link":null},{"localized_name":"feather_scales_with_crop","name":"feather_scales_with_crop","shape":7,"type":"BOOLEAN","widget":{"name":"feather_scales_with_crop"},"link":null}],"outputs":[{"localized_name":"images","name":"images","type":"IMAGE","links":[26]}],"properties":{"cnr_id":"comfyui-h3-facerefine","ver":"79a97ce5ee4b393ce26313bd1280b706fe8b4f2c","Node name for S&R":"H3FaceStitch","aux_id":"Carasibana/ComfyUI-H3-FaceRefine"},"widgets_values":["face_only",16,6,1,1,"fade_out",false],"widgets_values_named":{"paste_region":"face_only","mask_dilation":16,"feather":6,"colour_match":1,"blend":1,"undetected_frames":"fade_out","feather_scales_with_crop":false}},{"id":16,"type":"BasicScheduler","pos":[440,5310],"size":[270,120],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":459},{"localized_name":"scheduler","name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":null},{"localized_name":"steps","name":"steps","type":"INT","widget":{"name":"steps"},"link":null},{"localized_name":"denoise","name":"denoise","type":"FLOAT","widget":{"name":"denoise"},"link":292}],"outputs":[{"localized_name":"SIGMAS","name":"SIGMAS","type":"SIGMAS","links":[15]}],"properties":{"cnr_id":"comfy-core","ver":"0.32.0","Node name for S&R":"BasicScheduler"},"widgets_values":["simple",3,0.3],"widgets_values_named":{"scheduler":"simple","steps":3,"denoise":0.3}},{"id":10,"type":"H3FaceTrackCrop","pos":[-430,5080],"size":[290,830],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":270},{"localized_name":"identity_reference","name":"identity_reference","shape":7,"type":"IMAGE","link":319},{"localized_name":"identity_clip_vision","name":"identity_clip_vision","shape":7,"type":"CLIP_VISION","link":null},{"localized_name":"face_pick","name":"face_pick","shape":7,"type":"H3FACEPICK","link":null},{"localized_name":"detector","name":"detector","type":"COMBO","widget":{"name":"detector"},"link":274},{"localized_name":"confidence","name":"confidence","type":"FLOAT","widget":{"name":"confidence"},"link":null},{"localized_name":"crop_factor","name":"crop_factor","type":"FLOAT","widget":{"name":"crop_factor"},"link":null},{"localized_name":"canvas_width","name":"canvas_width","type":"INT","widget":{"name":"canvas_width"},"link":293},{"localized_name":"canvas_height","name":"canvas_height","type":"INT","widget":{"name":"canvas_height"},"link":291},{"localized_name":"canvas_mode","name":"canvas_mode","type":"COMBO","widget":{"name":"canvas_mode"},"link":null},{"localized_name":"smooth_window","name":"smooth_window","type":"INT","widget":{"name":"smooth_window"},"link":null},{"localized_name":"size_smooth_window","name":"size_smooth_window","type":"INT","widget":{"name":"size_smooth_window"},"link":null},{"localized_name":"smooth_method","name":"smooth_method","type":"COMBO","widget":{"name":"smooth_method"},"link":null},{"localized_name":"size_mode","name":"size_mode","type":"COMBO","widget":{"name":"size_mode"},"link":null},{"localized_name":"identity_track","name":"identity_track","shape":7,"type":"BOOLEAN","widget":{"name":"identity_track"},"link":null},{"localized_name":"identity_threshold","name":"identity_threshold","shape":7,"type":"FLOAT","widget":{"name":"identity_threshold"},"link":null},{"localized_name":"select","name":"select","shape":7,"type":"COMBO","widget":{"name":"select"},"link":null},{"localized_name":"fallback_detector","name":"fallback_detector","shape":7,"type":"COMBO","widget":{"name":"fallback_detector"},"link":null},{"localized_name":"fallback_head_frac","name":"fallback_head_frac","shape":7,"type":"FLOAT","widget":{"name":"fallback_head_frac"},"link":null},{"localized_name":"select_index","name":"select_index","shape":7,"type":"INT","widget":{"name":"select_index"},"link":null},{"localized_name":"identity_model","name":"identity_model","shape":7,"type":"COMBO","widget":{"name":"identity_model"},"link":null},{"localized_name":"cut_detection","name":"cut_detection","shape":7,"type":"COMBO","widget":{"name":"cut_detection"},"link":null},{"localized_name":"cut_threshold","name":"cut_threshold","shape":7,"type":"FLOAT","widget":{"name":"cut_threshold"},"link":null},{"localized_name":"absent_shots","name":"absent_shots","shape":7,"type":"COMBO","widget":{"name":"absent_shots"},"link":null},{"localized_name":"X","name":"X","shape":7,"type":"INT","widget":{"name":"X"},"link":null},{"localized_name":"Y","name":"Y","shape":7,"type":"INT","widget":{"name":"Y"},"link":null},{"localized_name":"frame_index","name":"frame_index","shape":7,"type":"INT","widget":{"name":"frame_index"},"link":null}],"outputs":[{"localized_name":"crops","name":"crops","type":"IMAGE","links":[10,21,262]},{"localized_name":"transform","name":"transform","type":"H3FACEXFORM","links":[23,25,28]},{"localized_name":"preview","name":"preview","type":"IMAGE","links":[294]},{"localized_name":"report","name":"report","type":"STRING","links":null},{"localized_name":"canvas_w","name":"canvas_w","type":"INT","links":[401]},{"localized_name":"canvas_h","name":"canvas_h","type":"INT","links":[402]},{"localized_name":"frame_count","name":"frame_count","type":"INT","links":null}],"properties":{"cnr_id":"comfyui-h3-facerefine","ver":"79a97ce5ee4b393ce26313bd1280b706fe8b4f2c","Node name for S&R":"H3FaceTrackCrop","aux_id":"Carasibana/ComfyUI-H3-FaceRefine"},"widgets_values":["segm\\Anzhc_Face_seg_640_v4_y11n.pt",0.35,2,512,512,"manual",21,51,"gaussian","per_frame",true,0.28,"largest_face","face_yolov8n.pt",0.5,0,"insightface","none",3,"off",0,0,0],"widgets_values_named":{"detector":"segm\\Anzhc_Face_seg_640_v4_y11n.pt","confidence":0.35,"crop_factor":2,"canvas_width":512,"canvas_height":512,"canvas_mode":"manual","smooth_window":21,"size_smooth_window":51,"smooth_method":"gaussian","size_mode":"per_frame","identity_track":true,"identity_threshold":0.28,"select":"largest_face","fallback_detector":"face_yolov8n.pt","fallback_head_frac":0.5,"select_index":0,"identity_model":"insightface","cut_detection":"none","cut_threshold":3,"absent_shots":"off","X":0,"Y":0,"frame_index":0}},{"id":23,"type":"H3PerFrameDenoise","pos":[440,5480],"size":[280,300],"flags":{},"order":10,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":457},{"localized_name":"av_latent","name":"av_latent","type":"LATENT","link":35},{"localized_name":"transform","name":"transform","type":"H3FACEXFORM","link":28},{"localized_name":"denoise_multiplier_small_face","name":"denoise_multiplier_small_face","type":"FLOAT","widget":{"name":"denoise_multiplier_small_face"},"link":null},{"localized_name":"denoise_multiplier_large_face","name":"denoise_multiplier_large_face","type":"FLOAT","widget":{"name":"denoise_multiplier_large_face"},"link":null},{"localized_name":"scale_mode","name":"scale_mode","type":"COMBO","widget":{"name":"scale_mode"},"link":null},{"localized_name":"face_px_small","name":"face_px_small","type":"FLOAT","widget":{"name":"face_px_small"},"link":null},{"localized_name":"face_px_large","name":"face_px_large","type":"FLOAT","widget":{"name":"face_px_large"},"link":null},{"localized_name":"gamma","name":"gamma","type":"FLOAT","widget":{"name":"gamma"},"link":null},{"localized_name":"smooth_frames","name":"smooth_frames","type":"INT","widget":{"name":"smooth_frames"},"link":null}],"outputs":[{"localized_name":"av_latent","name":"av_latent","type":"LATENT","links":[29]},{"localized_name":"report","name":"report","type":"STRING","links":null},{"localized_name":"model","name":"model","type":"MODEL","links":[458,459]}],"properties":{"cnr_id":"comfyui-h3-facerefine","ver":"79a97ce5ee4b393ce26313bd1280b706fe8b4f2c","Node name for S&R":"H3PerFrameDenoise","aux_id":"Carasibana/ComfyUI-H3-FaceRefine"},"widgets_values":[1,0.05,"relative_to_clip",30,120,1,9],"widgets_values_named":{"denoise_multiplier_small_face":1,"denoise_multiplier_large_face":0.05,"scale_mode":"relative_to_clip","face_px_small":30,"face_px_large":120,"gamma":1,"smooth_frames":9}},{"id":189,"type":"BasicGuider","pos":[440,5100],"size":[230,60],"flags":{},"order":14,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":458},{"localized_name":"conditioning","name":"conditioning","type":"CONDITIONING","link":405}],"outputs":[{"localized_name":"GUIDER","name":"GUIDER","type":"GUIDER","links":[359]}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"BasicGuider"}},{"id":212,"type":"MiniMaxH3ReferenceToVideo","pos":[-100,5080],"size":[400,360],"flags":{},"order":15,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":406},{"localized_name":"vae","name":"vae","shape":7,"type":"VAE","link":407},{"localized_name":"audio_vae","name":"audio_vae","shape":7,"type":"VAE","link":408},{"label":"ref_image_0","localized_name":"ref_image_0","name":"ref_images.ref_image_0","shape":7,"type":"IMAGE","link":409},{"localized_name":"ref_image_1","name":"ref_images.ref_image_1","shape":7,"type":"IMAGE","link":null},{"label":"ref_video_0","localized_name":"ref_video_0","name":"ref_videos.ref_video_0","shape":7,"type":"IMAGE","link":null},{"label":"ref_video_audio_0","localized_name":"ref_video_audio_0","name":"ref_video_audios.ref_video_audio_0","shape":7,"type":"AUDIO","link":null},{"label":"ref_audio_0","localized_name":"ref_audio_0","name":"ref_audios.ref_audio_0","shape":7,"type":"AUDIO","link":null},{"localized_name":"prompt","name":"prompt","type":"STRING","widget":{"name":"prompt"},"link":412},{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":401},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":402},{"localized_name":"length","name":"length","type":"INT","widget":{"name":"length"},"link":403},{"localized_name":"ref_image_size","name":"ref_image_size","type":"COMBO","widget":{"name":"ref_image_size"},"link":null}],"outputs":[{"localized_name":"positive","name":"positive","type":"CONDITIONING","links":[405]},{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[404]}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"MiniMaxH3ReferenceToVideo"},"widgets_values":["",1344,768,124,"max"],"widgets_values_named":{"prompt":"","width":1344,"height":768,"length":124,"ref_image_size":"max"}}],"groups":[],"links":[{"id":10,"origin_id":10,"origin_slot":0,"target_id":11,"target_slot":1,"type":"IMAGE"},{"id":35,"origin_id":26,"origin_slot":0,"target_id":23,"target_slot":1,"type":"LATENT"},{"id":28,"origin_id":10,"origin_slot":1,"target_id":23,"target_slot":2,"type":"H3FACEXFORM"},{"id":12,"origin_id":13,"origin_slot":0,"target_id":17,"target_slot":0,"type":"NOISE"},{"id":13,"origin_id":14,"origin_slot":0,"target_id":17,"target_slot":2,"type":"SAMPLER"},{"id":15,"origin_id":16,"origin_slot":0,"target_id":17,"target_slot":3,"type":"SIGMAS"},{"id":29,"origin_id":23,"origin_slot":0,"target_id":17,"target_slot":4,"type":"LATENT"},{"id":21,"origin_id":10,"origin_slot":0,"target_id":20,"target_slot":0,"type":"IMAGE"},{"id":22,"origin_id":21,"origin_slot":0,"target_id":20,"target_slot":1,"type":"SAM_MODEL"},{"id":23,"origin_id":10,"origin_slot":1,"target_id":20,"target_slot":2,"type":"H3FACEXFORM"},{"id":17,"origin_id":17,"origin_slot":0,"target_id":18,"target_slot":0,"type":"LATENT"},{"id":34,"origin_id":24,"origin_slot":0,"target_id":26,"target_slot":0,"type":"LATENT"},{"id":33,"origin_id":25,"origin_slot":0,"target_id":26,"target_slot":1,"type":"LATENT"},{"id":20,"origin_id":18,"origin_slot":0,"target_id":19,"target_slot":1,"type":"IMAGE"},{"id":25,"origin_id":10,"origin_slot":1,"target_id":19,"target_slot":2,"type":"H3FACEXFORM"},{"id":24,"origin_id":20,"origin_slot":0,"target_id":19,"target_slot":3,"type":"MASK"},{"id":26,"origin_id":19,"origin_slot":0,"target_id":-20,"target_slot":0,"type":"IMAGE"},{"id":262,"origin_id":10,"origin_slot":0,"target_id":-20,"target_slot":1,"type":"IMAGE"},{"id":263,"origin_id":18,"origin_slot":0,"target_id":-20,"target_slot":2,"type":"IMAGE"},{"id":266,"origin_id":-10,"origin_slot":1,"target_id":11,"target_slot":2,"type":"VAE"},{"id":267,"origin_id":-10,"origin_slot":1,"target_id":18,"target_slot":1,"type":"VAE"},{"id":268,"origin_id":-10,"origin_slot":2,"target_id":25,"target_slot":1,"type":"VAE"},{"id":270,"origin_id":-10,"origin_slot":4,"target_id":10,"target_slot":0,"type":"IMAGE"},{"id":271,"origin_id":-10,"origin_slot":4,"target_id":19,"target_slot":0,"type":"IMAGE"},{"id":272,"origin_id":-10,"origin_slot":5,"target_id":25,"target_slot":0,"type":"AUDIO"},{"id":274,"origin_id":-10,"origin_slot":7,"target_id":10,"target_slot":4,"type":"COMBO"},{"id":277,"origin_id":-10,"origin_slot":8,"target_id":21,"target_slot":0,"type":"COMBO"},{"id":291,"origin_id":-10,"origin_slot":9,"target_id":10,"target_slot":8,"type":"INT"},{"id":292,"origin_id":-10,"origin_slot":10,"target_id":16,"target_slot":3,"type":"FLOAT"},{"id":293,"origin_id":-10,"origin_slot":9,"target_id":10,"target_slot":7,"type":"INT"},{"id":294,"origin_id":10,"origin_slot":2,"target_id":-20,"target_slot":3,"type":"IMAGE"},{"id":311,"origin_id":11,"origin_slot":0,"target_id":24,"target_slot":0,"type":"LATENT"},{"id":319,"origin_id":-10,"origin_slot":11,"target_id":10,"target_slot":1,"type":"IMAGE"},{"id":359,"origin_id":189,"origin_slot":0,"target_id":17,"target_slot":1,"type":"GUIDER"},{"id":401,"origin_id":10,"origin_slot":4,"target_id":212,"target_slot":9,"type":"INT"},{"id":402,"origin_id":10,"origin_slot":5,"target_id":212,"target_slot":10,"type":"INT"},{"id":403,"origin_id":-10,"origin_slot":6,"target_id":212,"target_slot":11,"type":"INT"},{"id":404,"origin_id":212,"origin_slot":1,"target_id":11,"target_slot":0,"type":"LATENT"},{"id":405,"origin_id":212,"origin_slot":0,"target_id":189,"target_slot":1,"type":"CONDITIONING"},{"id":406,"origin_id":-10,"origin_slot":3,"target_id":212,"target_slot":0,"type":"CLIP"},{"id":407,"origin_id":-10,"origin_slot":1,"target_id":212,"target_slot":1,"type":"VAE"},{"id":408,"origin_id":-10,"origin_slot":2,"target_id":212,"target_slot":2,"type":"VAE"},{"id":409,"origin_id":-10,"origin_slot":11,"target_id":212,"target_slot":3,"type":"IMAGE"},{"id":412,"origin_id":-10,"origin_slot":12,"target_id":212,"target_slot":8,"type":"STRING"},{"id":457,"origin_id":-10,"origin_slot":0,"target_id":23,"target_slot":0,"type":"MODEL"},{"id":458,"origin_id":23,"origin_slot":2,"target_id":189,"target_slot":0,"type":"MODEL"},{"id":459,"origin_id":23,"origin_slot":2,"target_id":16,"target_slot":0,"type":"MODEL"}],"extra":{}},{"id":"2c9f2183-726b-494c-8073-4a254f5300f3","version":1,"state":{"lastGroupId":5,"lastNodeId":233,"lastLinkId":461,"lastRerouteId":0},"revision":0,"config":{},"name":"Range Mode","inputNode":{"id":-10,"bounding":[-2638,6812,128,148]},"outputNode":{"id":-20,"bounding":[-905,6822,128,108]},"inputs":[{"id":"11b0bf35-ea0d-4f1f-9ab0-12cc5e38b5aa","name":"images","type":"IMAGE","linkIds":[326,328,330],"localized_name":"images","label":"source image","shape":7,"pos":[-2534,6836]},{"id":"88b76713-c3a6-4dd9-b8b0-9a6aa507610d","name":"images.image0","type":"IMAGE","linkIds":[333,336],"localized_name":"images.image0","label":"refined image","pos":[-2534,6856]},{"id":"8a55c448-c1f8-42da-ab73-1f572bb43263","name":"on_false","type":"INT","linkIds":[350],"label":"length","pos":[-2534,6876]},{"id":"916a5d43-a808-46fa-b7d4-c6c22b6378f6","name":"length","type":"INT","linkIds":[422],"label":"range","pos":[-2534,6896]},{"id":"56b98312-f064-453c-94cc-fb58f5ed1fab","name":"value","type":"BOOLEAN","linkIds":[423],"label":"enable range","pos":[-2534,6916]}],"outputs":[{"id":"65a8e5d7-f1e0-4b25-bc38-e4f852beb8d6","name":"output_1","type":"IMAGE","linkIds":[343],"label":"target image","pos":[-881,6846]},{"id":"a052b69c-aa49-40ca-ae1c-11d9397ae106","name":"output","type":"IMAGE","linkIds":[344],"pos":[-881,6866]},{"id":"db8f7e44-8641-4ee2-855b-b2c357dc23cc","name":"INT","type":"INT","linkIds":[352],"label":"length","pos":[-881,6886]}],"widgets":[],"nodes":[{"id":181,"type":"PrimitiveBoolean","pos":[-2440,6990],"size":[270,70],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"value","name":"value","type":"BOOLEAN","widget":{"name":"value"},"link":423}],"outputs":[{"localized_name":"BOOLEAN","name":"BOOLEAN","type":"BOOLEAN","links":[329,334,351]}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"PrimitiveBoolean"},"widgets_values":[false],"widgets_values_named":{"value":false}},{"id":178,"type":"GetImageRangeFromBatch","pos":[-2010,6490],"size":[350,140],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"images","name":"images","shape":7,"type":"IMAGE","link":326},{"localized_name":"masks","name":"masks","shape":7,"type":"MASK","link":null},{"localized_name":"start_index","name":"start_index","type":"INT","widget":{"name":"start_index"},"link":null},{"localized_name":"num_frames","name":"num_frames","type":"INT","widget":{"name":"num_frames"},"link":419}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[327]},{"localized_name":"MASK","name":"MASK","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-kjnodes","ver":"3f20054214fec9f9234fd3841ae6f1e4287948f6","Node name for S&R":"GetImageRangeFromBatch"},"widgets_values":[0,1],"widgets_values_named":{"start_index":0,"num_frames":1}},{"id":180,"type":"ComfySwitchNode","pos":[-1520,6550],"size":[230,110],"flags":{"collapsed":false},"order":1,"mode":0,"inputs":[{"localized_name":"on_false","name":"on_false","shape":7,"type":"IMAGE","link":328},{"localized_name":"on_true","name":"on_true","shape":7,"type":"IMAGE","link":327},{"localized_name":"switch","name":"switch","type":"BOOLEAN","widget":{"name":"switch"},"link":329}],"outputs":[{"localized_name":"output","name":"output","type":"IMAGE","links":[343]}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"ComfySwitchNode"},"widgets_values":[false],"widgets_values_named":{"switch":false}},{"id":182,"type":"GetImageRangeFromBatch","pos":[-1620,6730],"size":[350,140],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"images","name":"images","shape":7,"type":"IMAGE","link":330},{"localized_name":"masks","name":"masks","shape":7,"type":"MASK","link":null},{"localized_name":"start_index","name":"start_index","type":"INT","widget":{"name":"start_index"},"link":421},{"localized_name":"num_frames","name":"num_frames","type":"INT","widget":{"name":"num_frames"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[332]},{"localized_name":"MASK","name":"MASK","type":"MASK","links":null}],"properties":{"cnr_id":"comfyui-kjnodes","ver":"3f20054214fec9f9234fd3841ae6f1e4287948f6","Node name for S&R":"GetImageRangeFromBatch"},"widgets_values":[0,4096],"widgets_values_named":{"start_index":0,"num_frames":4096}},{"id":184,"type":"BatchImagesNode","pos":[-1520,6970],"size":[230,90],"flags":{"collapsed":false},"order":4,"mode":0,"inputs":[{"label":"image0","localized_name":"image0","name":"images.image0","type":"IMAGE","link":333},{"localized_name":"image1","name":"images.image1","shape":7,"type":"IMAGE","link":332},{"localized_name":"image2","name":"images.image2","shape":7,"type":"IMAGE","link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[335]}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"BatchImagesNode"}},{"id":185,"type":"ComfySwitchNode","pos":[-1200,6760],"size":[230,110],"flags":{"collapsed":false},"order":5,"mode":0,"inputs":[{"localized_name":"on_false","name":"on_false","shape":7,"type":"IMAGE","link":336},{"localized_name":"on_true","name":"on_true","shape":7,"type":"IMAGE","link":335},{"localized_name":"switch","name":"switch","type":"BOOLEAN","widget":{"name":"switch"},"link":334}],"outputs":[{"localized_name":"output","name":"output","type":"IMAGE","links":[344]}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"ComfySwitchNode"},"widgets_values":[false],"widgets_values_named":{"switch":false}},{"id":188,"type":"ComfySwitchNode","pos":[-1200,6600],"size":[230,110],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"on_false","name":"on_false","shape":7,"type":"INT","link":350},{"localized_name":"on_true","name":"on_true","shape":7,"type":"INT","link":420},{"localized_name":"switch","name":"switch","type":"BOOLEAN","widget":{"name":"switch"},"link":351}],"outputs":[{"localized_name":"output","name":"output","type":"INT","links":[352]}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"ComfySwitchNode"},"widgets_values":[false],"widgets_values_named":{"switch":false}},{"id":218,"type":"EmptyMiniMaxH3LatentAV","pos":[-2430,6250],"size":[300,120],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":null},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":null},{"localized_name":"length","name":"length","type":"INT","widget":{"name":"length"},"link":422}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[417]}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"EmptyMiniMaxH3LatentAV"},"widgets_values":[32,32,124],"widgets_values_named":{"width":32,"height":32,"length":124}},{"id":219,"type":"GetLatentSizeAndCount","pos":[-2430,6420],"size":[230,130],"flags":{"collapsed":true},"order":8,"mode":0,"inputs":[{"localized_name":"latent","name":"latent","type":"LATENT","link":417}],"outputs":[{"localized_name":"latent","name":"latent","type":"LATENT","links":null},{"label":"1 batch","localized_name":"batch_size","name":"batch_size","type":"INT","links":null},{"label":"24 channels","localized_name":"channels","name":"channels","type":"INT","links":null},{"label":"47 frames","localized_name":"frames","name":"frames","type":"INT","links":[418]},{"label":"2 height","localized_name":"height","name":"height","type":"INT","links":null},{"label":"2 width","localized_name":"width","name":"width","type":"INT","links":null}],"properties":{"cnr_id":"comfyui-kjnodes","ver":"3f20054214fec9f9234fd3841ae6f1e4287948f6","Node name for S&R":"GetLatentSizeAndCount"}},{"id":220,"type":"ComfyMathExpression","pos":[-2430,6460],"size":[230,150],"flags":{},"order":9,"mode":0,"inputs":[{"label":"a","localized_name":"a","name":"values.a","type":"FLOAT,INT,BOOLEAN","link":418},{"localized_name":"b","name":"values.b","shape":7,"type":"FLOAT,INT,BOOLEAN","link":null},{"localized_name":"expression","name":"expression","type":"STRING","widget":{"name":"expression"},"link":null}],"outputs":[{"localized_name":"FLOAT","name":"FLOAT","type":"FLOAT","links":null},{"localized_name":"INT","name":"INT","type":"INT","links":[419,420,421]},{"localized_name":"BOOL","name":"BOOL","type":"BOOLEAN","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"ComfyMathExpression"},"widgets_values":["((a - 2) / 5) * 17 + 5"],"widgets_values_named":{"expression":"((a - 2) / 5) * 17 + 5"}}],"groups":[],"links":[{"id":327,"origin_id":178,"origin_slot":0,"target_id":180,"target_slot":1,"type":"IMAGE"},{"id":329,"origin_id":181,"origin_slot":0,"target_id":180,"target_slot":2,"type":"BOOLEAN"},{"id":332,"origin_id":182,"origin_slot":0,"target_id":184,"target_slot":1,"type":"IMAGE"},{"id":335,"origin_id":184,"origin_slot":0,"target_id":185,"target_slot":1,"type":"IMAGE"},{"id":334,"origin_id":181,"origin_slot":0,"target_id":185,"target_slot":2,"type":"BOOLEAN"},{"id":326,"origin_id":-10,"origin_slot":0,"target_id":178,"target_slot":0,"type":"IMAGE"},{"id":328,"origin_id":-10,"origin_slot":0,"target_id":180,"target_slot":0,"type":"IMAGE"},{"id":330,"origin_id":-10,"origin_slot":0,"target_id":182,"target_slot":0,"type":"IMAGE"},{"id":333,"origin_id":-10,"origin_slot":1,"target_id":184,"target_slot":0,"type":"IMAGE"},{"id":336,"origin_id":-10,"origin_slot":1,"target_id":185,"target_slot":0,"type":"IMAGE"},{"id":343,"origin_id":180,"origin_slot":0,"target_id":-20,"target_slot":0,"type":"IMAGE"},{"id":344,"origin_id":185,"origin_slot":0,"target_id":-20,"target_slot":1,"type":"IMAGE"},{"id":350,"origin_id":-10,"origin_slot":2,"target_id":188,"target_slot":0,"type":"INT"},{"id":351,"origin_id":181,"origin_slot":0,"target_id":188,"target_slot":2,"type":"BOOLEAN"},{"id":352,"origin_id":188,"origin_slot":0,"target_id":-20,"target_slot":2,"type":"INT"},{"id":417,"origin_id":218,"origin_slot":0,"target_id":219,"target_slot":0,"type":"LATENT"},{"id":418,"origin_id":219,"origin_slot":3,"target_id":220,"target_slot":0,"type":"INT"},{"id":419,"origin_id":220,"origin_slot":1,"target_id":178,"target_slot":3,"type":"INT"},{"id":420,"origin_id":220,"origin_slot":1,"target_id":188,"target_slot":1,"type":"INT"},{"id":421,"origin_id":220,"origin_slot":1,"target_id":182,"target_slot":2,"type":"INT"},{"id":422,"origin_id":-10,"origin_slot":3,"target_id":218,"target_slot":2,"type":"INT"},{"id":423,"origin_id":-10,"origin_slot":4,"target_id":181,"target_slot":0,"type":"BOOLEAN"}],"extra":{}},{"id":"87f3687c-de7e-48a5-af78-65788265c38d","version":1,"state":{"lastGroupId":5,"lastNodeId":233,"lastLinkId":461,"lastRerouteId":0},"revision":0,"config":{},"name":"MiniMax-H3 Upscaler","inputNode":{"id":-10,"bounding":[-2090,5970,207.375,248]},"outputNode":{"id":-20,"bounding":[-190,6010,128,68]},"inputs":[{"id":"703e3ca3-68e0-48e6-9f5a-327177d68f7d","name":"model","type":"MODEL","linkIds":[306,450],"pos":[-1906.625,5994]},{"id":"be8d3185-e8ff-461a-b869-537da0b57b1b","name":"vae","type":"VAE","linkIds":[31,311,340],"label":"vae_video","pos":[-1906.625,6014]},{"id":"31daafc0-7d81-4404-8abb-76f09b921be0","name":"vae_1","type":"VAE","linkIds":[329,341],"label":"vae_audio","pos":[-1906.625,6034]},{"id":"798de969-32d8-47b0-a94f-39941a9f9bea","name":"clip","type":"CLIP","linkIds":[339],"pos":[-1906.625,6054]},{"id":"9bd0e160-803f-4338-b802-c795999961d7","name":"pixels","type":"IMAGE","linkIds":[331,345,346],"label":"images","pos":[-1906.625,6074]},{"id":"523a1a60-347c-40bd-8be7-0589905b370e","name":"audio","type":"AUDIO","linkIds":[332,344],"pos":[-1906.625,6094]},{"id":"e95364cc-3a6d-43c6-aebe-d7ef002dcb5d","name":"ref_images.ref_image_0","type":"IMAGE","linkIds":[342],"label":"ref_image","pos":[-1906.625,6114]},{"id":"eb920e56-c4f3-43cc-8870-d9a4b05750a6","name":"model_name","type":"COMBO","linkIds":[351],"label":"latent_upscale_model_name","pos":[-1906.625,6134]},{"id":"0f35f8ac-40dd-4acf-bedc-8af150e27244","name":"mode.scale","type":"FLOAT","linkIds":[352],"label":"latent scale by","pos":[-1906.625,6154]},{"id":"2c2119d5-f8f9-4284-b018-c951d2c786bb","name":"prompt","type":"STRING","linkIds":[413],"pos":[-1906.625,6174]}],"outputs":[{"id":"1009b784-c546-4318-9647-bf4a16a74768","name":"IMAGE","type":"IMAGE","linkIds":[28],"pos":[-166,6034]}],"widgets":[],"nodes":[{"id":12,"type":"RandomNoise","pos":[-1240,5450],"size":[270,90],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"noise_seed","name":"noise_seed","type":"INT","widget":{"name":"noise_seed"},"link":null}],"outputs":[{"localized_name":"NOISE","name":"NOISE","type":"NOISE","links":[453]}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"RandomNoise"},"widgets_values":[617193479414815,"randomize"],"widgets_values_named":{"noise_seed":617193479414815,"control_after_generate":"randomize"}},{"id":205,"type":"BasicScheduler","pos":[-1240,6270],"size":[290,120],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":306},{"localized_name":"scheduler","name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":null},{"localized_name":"steps","name":"steps","type":"INT","widget":{"name":"steps"},"link":null},{"localized_name":"denoise","name":"denoise","type":"FLOAT","widget":{"name":"denoise"},"link":null}],"outputs":[{"localized_name":"SIGMAS","name":"SIGMAS","type":"SIGMAS","links":[]}],"properties":{"cnr_id":"comfy-core","ver":"0.30.0","Node name for S&R":"BasicScheduler"},"widgets_values":["simple",4,0.4],"widgets_values_named":{"scheduler":"simple","steps":4,"denoise":0.4}},{"id":206,"type":"VAEDecode","pos":[-540,5820],"size":[230,60],"flags":{"collapsed":false},"order":8,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":456},{"localized_name":"vae","name":"vae","type":"VAE","link":31}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[28]}],"properties":{"cnr_id":"comfy-core","ver":"0.30.0","Node name for S&R":"VAEDecode"}},{"id":207,"type":"KSamplerSelect","pos":[-1240,5580],"size":[270,70],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"sampler_name","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null}],"outputs":[{"localized_name":"SAMPLER","name":"SAMPLER","type":"SAMPLER","links":[454]}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"KSamplerSelect"},"widgets_values":["euler"],"widgets_values_named":{"sampler_name":"euler"}},{"id":187,"type":"VAEEncodeTiled","pos":[-1580,5550],"size":[240,170],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"pixels","name":"pixels","type":"IMAGE","link":331},{"localized_name":"vae","name":"vae","type":"VAE","link":311},{"localized_name":"tile_size","name":"tile_size","type":"INT","widget":{"name":"tile_size"},"link":null},{"localized_name":"overlap","name":"overlap","type":"INT","widget":{"name":"overlap"},"link":null},{"localized_name":"temporal_size","name":"temporal_size","type":"INT","widget":{"name":"temporal_size"},"link":null},{"localized_name":"temporal_overlap","name":"temporal_overlap","type":"INT","widget":{"name":"temporal_overlap"},"link":null}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[317]}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"VAEEncodeTiled"},"widgets_values":[512,128,64,8],"widgets_values_named":{"tile_size":512,"overlap":128,"temporal_size":64,"temporal_overlap":8}},{"id":208,"type":"MinimaxH3LatentUpscaler3D","pos":[-1240,5780],"size":[290,230],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"latent","name":"latent","type":"*","link":317},{"localized_name":"model_name","name":"model_name","type":"COMBO","widget":{"name":"model_name"},"link":351},{"localized_name":"mode","name":"mode","type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"mode"},"link":null},{"localized_name":"scale","name":"mode.scale","type":"FLOAT","widget":{"name":"mode.scale"},"link":352},{"localized_name":"align","name":"align","type":"INT","widget":{"name":"align"},"link":null},{"localized_name":"enable_temporal_chunking","name":"enable_temporal_chunking","type":"BOOLEAN","widget":{"name":"enable_temporal_chunking"},"link":null},{"localized_name":"force_unload","name":"force_unload","type":"BOOLEAN","widget":{"name":"force_unload"},"link":null},{"localized_name":"device","name":"device","type":"COMBO","widget":{"name":"device"},"link":null},{"localized_name":"precision","name":"precision","type":"COMBO","widget":{"name":"precision"},"link":null}],"outputs":[{"localized_name":"latent","name":"latent","type":"*","links":[322]}],"properties":{"aux_id":"LBH-123-AI/Comfyui_Minimax_h3_latent_Upscaler","ver":"52a48afa6146b77aab738c26ec37b14998b6330f","Node name for S&R":"MinimaxH3LatentUpscaler3D"},"widgets_values":["minimax_h3_latent_upscaler_3d_bf16.safetensors","scale by multiplier",1.5,32,true,"cuda","cuda","fp16"],"widgets_values_named":{"model_name":"minimax_h3_latent_upscaler_3d_bf16.safetensors","mode":"scale by multiplier","mode.scale":1.5,"align":32,"enable_temporal_chunking":true,"force_unload":"cuda","device":"cuda","precision":"fp16"}},{"id":209,"type":"LTXVConcatAVLatent","pos":[-1240,6450],"size":[230,60],"flags":{},"order":10,"mode":0,"inputs":[{"localized_name":"video_latent","name":"video_latent","type":"LATENT","link":322},{"localized_name":"audio_latent","name":"audio_latent","type":"LATENT","link":326}],"outputs":[{"localized_name":"latent","name":"latent","type":"LATENT","links":[452]}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"LTXVConcatAVLatent"}},{"id":192,"type":"VAEEncodeAudio","pos":[-1580,5760],"size":[240,60],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","link":332},{"localized_name":"vae","name":"vae","type":"VAE","link":329}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[326]}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"VAEEncodeAudio"}},{"id":193,"type":"MiniMaxH3ReferenceToVideo","pos":[-1580,4960],"size":[320,400],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":339},{"localized_name":"vae","name":"vae","shape":7,"type":"VAE","link":340},{"localized_name":"audio_vae","name":"audio_vae","shape":7,"type":"VAE","link":341},{"label":"ref_image_0","localized_name":"ref_image_0","name":"ref_images.ref_image_0","shape":7,"type":"IMAGE","link":342},{"localized_name":"ref_image_1","name":"ref_images.ref_image_1","shape":7,"type":"IMAGE","link":null},{"label":"ref_video_0","localized_name":"ref_video_0","name":"ref_videos.ref_video_0","shape":7,"type":"IMAGE","link":345},{"localized_name":"ref_video_1","name":"ref_videos.ref_video_1","shape":7,"type":"IMAGE","link":null},{"label":"ref_video_audio_0","localized_name":"ref_video_audio_0","name":"ref_video_audios.ref_video_audio_0","shape":7,"type":"AUDIO","link":344},{"localized_name":"ref_video_audio_1","name":"ref_video_audios.ref_video_audio_1","shape":7,"type":"AUDIO","link":null},{"label":"ref_audio_0","localized_name":"ref_audio_0","name":"ref_audios.ref_audio_0","shape":7,"type":"AUDIO","link":null},{"localized_name":"prompt","name":"prompt","type":"STRING","widget":{"name":"prompt"},"link":413},{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":347},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":348},{"localized_name":"length","name":"length","type":"INT","widget":{"name":"length"},"link":411},{"localized_name":"ref_image_size","name":"ref_image_size","type":"COMBO","widget":{"name":"ref_image_size"},"link":null}],"outputs":[{"localized_name":"positive","name":"positive","type":"CONDITIONING","links":[451]},{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"MiniMaxH3ReferenceToVideo"},"widgets_values":["",1344,768,124,"max"],"widgets_values_named":{"prompt":"","width":1344,"height":768,"length":124,"ref_image_size":"max"}},{"id":194,"type":"GetImageSize","pos":[-1580,4830],"size":[230,80],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":346}],"outputs":[{"localized_name":"width","name":"width","type":"INT","links":[347]},{"localized_name":"height","name":"height","type":"INT","links":[348]},{"localized_name":"batch_size","name":"batch_size","type":"INT","links":[410]}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"GetImageSize"}},{"id":213,"type":"ComfyMathExpression","pos":[-1230,4820],"size":[230,150],"flags":{"collapsed":false},"order":11,"mode":0,"inputs":[{"label":"a","localized_name":"a","name":"values.a","type":"FLOAT,INT,BOOLEAN","link":410},{"localized_name":"b","name":"values.b","shape":7,"type":"FLOAT,INT,BOOLEAN","link":null},{"localized_name":"expression","name":"expression","type":"STRING","widget":{"name":"expression"},"link":null}],"outputs":[{"localized_name":"FLOAT","name":"FLOAT","type":"FLOAT","links":[]},{"localized_name":"INT","name":"INT","type":"INT","links":[411]},{"localized_name":"BOOL","name":"BOOL","type":"BOOLEAN","links":[]}],"properties":{"cnr_id":"comfy-core","ver":"0.30.0","Node name for S&R":"ComfyMathExpression"},"widgets_values":["round((a - 22) / 17) * 17 + 22"],"widgets_values_named":{"expression":"round((a - 22) / 17) * 17 + 22"}},{"id":231,"type":"ManualSigmas","pos":[-1240,6120],"size":[270,100],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"sigmas","name":"sigmas","type":"STRING","widget":{"name":"sigmas"},"link":null}],"outputs":[{"localized_name":"SIGMAS","name":"SIGMAS","type":"SIGMAS","links":[455]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"ManualSigmas"},"widgets_values":["0.9035, 0.6316, 0.3158, 0.0000"],"widgets_values_named":{"sigmas":"0.9035, 0.6316, 0.3158, 0.0000"}},{"id":232,"type":"MMH3SplitUpscale","pos":[-910,5780],"size":[270,310],"flags":{},"order":12,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":450},{"localized_name":"conditioning","name":"conditioning","type":"CONDITIONING","link":451},{"localized_name":"latent","name":"latent","type":"LATENT","link":452},{"localized_name":"noise","name":"noise","type":"NOISE","link":453},{"localized_name":"sampler","name":"sampler","type":"SAMPLER","link":454},{"localized_name":"sigmas","name":"sigmas","type":"SIGMAS","link":455},{"localized_name":"negative","name":"negative","shape":7,"type":"CONDITIONING","link":null},{"localized_name":"temporal_split_param","name":"temporal_split_param","shape":7,"type":"H3_TEMPORAL_PARAM_V10","link":null},{"localized_name":"spatial_split_param","name":"spatial_split_param","shape":7,"type":"H3_SPATIAL_PARAM_V10","link":null},{"localized_name":"cfg","name":"cfg","type":"FLOAT","widget":{"name":"cfg"},"link":null},{"localized_name":"seam_polish","name":"seam_polish","type":"COMBO","widget":{"name":"seam_polish"},"link":null},{"localized_name":"color_match","name":"color_match","type":"BOOLEAN","widget":{"name":"color_match"},"link":null}],"outputs":[{"localized_name":"latent","name":"latent","type":"LATENT","links":[456]}],"properties":{"aux_id":"LBH-123-AI/Comfyui_Minimax_h3_latent_Upscaler","ver":"d7c01b9011f2e8439493f6c02c29995a27df276f","Node name for S&R":"MMH3SplitUpscale"},"widgets_values":[1,"auto",true],"widgets_values_named":{"cfg":1,"seam_polish":"auto","color_match":true}}],"groups":[],"links":[{"id":28,"origin_id":206,"origin_slot":0,"target_id":-20,"target_slot":0,"type":"IMAGE"},{"id":31,"origin_id":-10,"origin_slot":1,"target_id":206,"target_slot":1,"type":"VAE"},{"id":306,"origin_id":-10,"origin_slot":0,"target_id":205,"target_slot":0,"type":"MODEL"},{"id":311,"origin_id":-10,"origin_slot":1,"target_id":187,"target_slot":1,"type":"VAE"},{"id":317,"origin_id":187,"origin_slot":0,"target_id":208,"target_slot":0,"type":"LATENT"},{"id":322,"origin_id":208,"origin_slot":0,"target_id":209,"target_slot":0,"type":"LATENT"},{"id":326,"origin_id":192,"origin_slot":0,"target_id":209,"target_slot":1,"type":"LATENT"},{"id":329,"origin_id":-10,"origin_slot":2,"target_id":192,"target_slot":1,"type":"VAE"},{"id":331,"origin_id":-10,"origin_slot":4,"target_id":187,"target_slot":0,"type":"IMAGE"},{"id":332,"origin_id":-10,"origin_slot":5,"target_id":192,"target_slot":0,"type":"AUDIO"},{"id":339,"origin_id":-10,"origin_slot":3,"target_id":193,"target_slot":0,"type":"CLIP"},{"id":340,"origin_id":-10,"origin_slot":1,"target_id":193,"target_slot":1,"type":"VAE"},{"id":341,"origin_id":-10,"origin_slot":2,"target_id":193,"target_slot":2,"type":"VAE"},{"id":342,"origin_id":-10,"origin_slot":6,"target_id":193,"target_slot":3,"type":"IMAGE"},{"id":344,"origin_id":-10,"origin_slot":5,"target_id":193,"target_slot":7,"type":"AUDIO"},{"id":345,"origin_id":-10,"origin_slot":4,"target_id":193,"target_slot":5,"type":"IMAGE"},{"id":346,"origin_id":-10,"origin_slot":4,"target_id":194,"target_slot":0,"type":"IMAGE"},{"id":347,"origin_id":194,"origin_slot":0,"target_id":193,"target_slot":11,"type":"INT"},{"id":348,"origin_id":194,"origin_slot":1,"target_id":193,"target_slot":12,"type":"INT"},{"id":351,"origin_id":-10,"origin_slot":7,"target_id":208,"target_slot":1,"type":"COMBO"},{"id":352,"origin_id":-10,"origin_slot":8,"target_id":208,"target_slot":3,"type":"FLOAT"},{"id":410,"origin_id":194,"origin_slot":2,"target_id":213,"target_slot":0,"type":"INT"},{"id":411,"origin_id":213,"origin_slot":1,"target_id":193,"target_slot":13,"type":"INT"},{"id":413,"origin_id":-10,"origin_slot":9,"target_id":193,"target_slot":10,"type":"STRING"},{"id":450,"origin_id":-10,"origin_slot":0,"target_id":232,"target_slot":0,"type":"MODEL"},{"id":451,"origin_id":193,"origin_slot":0,"target_id":232,"target_slot":1,"type":"CONDITIONING"},{"id":452,"origin_id":209,"origin_slot":0,"target_id":232,"target_slot":2,"type":"LATENT"},{"id":453,"origin_id":12,"origin_slot":0,"target_id":232,"target_slot":3,"type":"NOISE"},{"id":454,"origin_id":207,"origin_slot":0,"target_id":232,"target_slot":4,"type":"SAMPLER"},{"id":455,"origin_id":231,"origin_slot":0,"target_id":232,"target_slot":5,"type":"SIGMAS"},{"id":456,"origin_id":232,"origin_slot":0,"target_id":206,"target_slot":0,"type":"LATENT"}],"extra":{}}]},"config":{},"extra":{},"version":0.4}
workflows/MiniMax_int8_I2V-javano2609.1.2.json ADDED
The diff for this file is too large to render. See raw diff
 
workflows/MiniMax_int8_R2V-javano2609.2.2.json ADDED
The diff for this file is too large to render. See raw diff
 
workflows/MiniMax_int8_TTS-javano2609.1.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"id":"6b7920da-9b61-4151-979f-de9383bde97b","revision":0,"last_node_id":4613,"last_link_id":13850,"nodes":[{"id":19,"type":"LoadImage","pos":[-1270,4990],"size":[270,350],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[29]},{"localized_name":"MASK","name":"MASK","type":"MASK","links":null}],"title":"Reference Image (optional)","properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"LoadImage"},"widgets_values":["Flux2-Klein_00603.png","image"],"widgets_values_named":{"image":"Flux2-Klein_00603.png","upload":"image"},"color":"#223","bgcolor":"#335"},{"id":20,"type":"SaveAudioAdvanced","pos":[190,4990],"size":[590,160],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","link":30},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null},{"localized_name":"format","name":"format","type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"format"},"link":null},{"localized_name":"quality","name":"format.quality","type":"COMBO","widget":{"name":"format.quality"},"link":null},{"localized_name":"audioUI","name":"audioUI","type":"AUDIO_UI","widget":{"name":"audioUI"},"link":null}],"outputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"SaveAudioAdvanced"},"widgets_values":["audio/H3-TTS","mp3","320k"],"widgets_values_named":{"filename_prefix":"audio/H3-TTS","format":"mp3","format.quality":"320k"}},{"id":21,"type":"SpeechLengthCalculator","pos":[-980,5890],"size":[620,520],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"text_input","name":"text_input","shape":7,"type":"STRING","link":null},{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":null},{"localized_name":"fps","name":"fps","type":"INT","widget":{"name":"fps"},"link":null},{"localized_name":"additional_time","name":"additional_time","type":"FLOAT","widget":{"name":"additional_time"},"link":null}],"outputs":[{"localized_name":"slow_frame_count","name":"slow_frame_count","type":"INT","links":null},{"localized_name":"average_frame_count","name":"average_frame_count","type":"INT","links":null},{"localized_name":"fast_frame_count","name":"fast_frame_count","type":"INT","links":null},{"localized_name":"text","name":"text","type":"STRING","links":[]}],"properties":{"cnr_id":"WhatDreamsCost-ComfyUI","ver":"a3c809c8b593a74c2ddcd6c1f83ad85ebebe3c64","Node name for S&R":"SpeechLengthCalculator"},"widgets_values":["",24,0,""],"widgets_values_named":{"text":"","fps":24,"additional_time":0,"Stats":""},"color":"#323","bgcolor":"#535"},{"id":18,"type":"466b2449-e267-4ec5-9751-96c224d14021","pos":[-330,4990],"size":[480,510],"flags":{},"order":5,"mode":0,"inputs":[{"name":"model_name","type":"COMBO","widget":{"name":"model_name"},"link":null},{"label":"vae_name_video","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":null},{"label":"vae_name_audio","name":"vae_name_1","type":"COMBO","widget":{"name":"vae_name_1"},"link":null},{"name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":null},{"label":"ref_lora_name","name":"lora_name_1","type":"COMBO","widget":{"name":"lora_name_1"},"link":null},{"name":"lora_name","type":"COMBO","widget":{"name":"lora_name"},"link":null},{"name":"strength_model","type":"FLOAT","widget":{"name":"strength_model"},"link":null},{"name":"steps","type":"INT","widget":{"name":"steps"},"link":null},{"label":"duration","name":"value","type":"INT","widget":{"name":"value"},"link":null},{"label":"sage-attn","name":"switch","type":"BOOLEAN","widget":{"name":"switch"},"link":null},{"label":"kitchen-attn","name":"switch_1","type":"BOOLEAN","widget":{"name":"switch_1"},"link":null},{"label":"sparse-attn","name":"switch_2","type":"BOOLEAN","widget":{"name":"switch_2"},"link":null},{"label":"video to audio","name":"switch_3","type":"BOOLEAN","widget":{"name":"switch_3"},"link":null},{"name":"prompt","type":"STRING","widget":{"name":"prompt"},"link":13820},{"label":"reference image","name":"first_frame","shape":7,"type":"IMAGE","link":29},{"label":"target video","name":"pixels","type":"IMAGE","link":79}],"outputs":[{"name":"AUDIO","type":"AUDIO","links":[30,13844]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","previewExposures":[]},"widgets_values":["minimax_h3_fl2va_pruned_int8_convrot.safetensors","minimax_h3_video_vae_int8_convrot.safetensors","minimax_h3_audio_vae_fp32.safetensors","qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","H3\\minimax_h3_ref_lora_rank_256_bf16.safetensors","H3\\minimax_h3_ref2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors",1.0000000000000002,8,5,false,true,true,false,""],"widgets_values_named":{"model_name":"minimax_h3_fl2va_pruned_int8_convrot.safetensors","vae_name":"minimax_h3_video_vae_int8_convrot.safetensors","vae_name_1":"minimax_h3_audio_vae_fp32.safetensors","clip_name":"qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","lora_name_1":"H3\\minimax_h3_ref_lora_rank_256_bf16.safetensors","lora_name":"H3\\minimax_h3_ref2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors","strength_model":1.0000000000000002,"steps":8,"value":5,"switch":false,"switch_1":true,"switch_2":true,"switch_3":false,"prompt":""},"color":"#222","bgcolor":"#000"},{"id":40,"type":"VHS_LoadVideo","pos":[-1270,5390],"size":[270,522.640625],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"meta_batch","name":"meta_batch","shape":7,"type":"VHS_BatchManager","link":null},{"localized_name":"vae","name":"vae","shape":7,"type":"VAE","link":null},{"localized_name":"video","name":"video","type":"COMBO","widget":{"name":"video"},"link":null},{"localized_name":"force_rate","name":"force_rate","type":"FLOAT","widget":{"name":"force_rate"},"link":null},{"localized_name":"custom_width","name":"custom_width","type":"INT","widget":{"name":"custom_width"},"link":null},{"localized_name":"custom_height","name":"custom_height","type":"INT","widget":{"name":"custom_height"},"link":null},{"localized_name":"frame_load_cap","name":"frame_load_cap","type":"INT","widget":{"name":"frame_load_cap"},"link":null},{"localized_name":"skip_first_frames","name":"skip_first_frames","type":"INT","widget":{"name":"skip_first_frames"},"link":null},{"localized_name":"select_every_nth","name":"select_every_nth","type":"INT","widget":{"name":"select_every_nth"},"link":null},{"localized_name":"format","name":"format","shape":7,"type":"COMBO","widget":{"name":"format"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[79,95]},{"localized_name":"frame_count","name":"frame_count","type":"INT","links":null},{"localized_name":"audio","name":"audio","type":"AUDIO","links":[]},{"localized_name":"video_info","name":"video_info","type":"VHS_VIDEOINFO","links":null}],"title":"Target Video","properties":{"cnr_id":"comfyui-videohelpersuite","ver":"1.7.9","Node name for S&R":"VHS_LoadVideo"},"widgets_values":{"video":"MiniMax_00446.mp4","force_rate":0,"custom_width":0,"custom_height":0,"frame_load_cap":0,"skip_first_frames":0,"select_every_nth":1,"format":"None","videopreview":{"hidden":false,"paused":false,"params":{"filename":"MiniMax_00446.mp4","type":"input","format":"video/mp4","force_rate":0,"custom_width":0,"custom_height":0,"frame_load_cap":0,"skip_first_frames":0,"select_every_nth":1}}},"widgets_values_named":{"video":"MiniMax_00446.mp4","force_rate":0,"custom_width":0,"custom_height":0,"frame_load_cap":0,"skip_first_frames":0,"select_every_nth":1,"format":"None","choose video to upload":null,"videopreview":{"hidden":false,"paused":false,"params":{"filename":"MiniMax_00446.mp4","type":"input","format":"video/mp4","force_rate":0,"custom_width":0,"custom_height":0,"frame_load_cap":0,"skip_first_frames":0,"select_every_nth":1}}},"color":"#223","bgcolor":"#335"},{"id":44,"type":"VHS_VideoCombine","pos":[190,5360],"size":[270,410],"flags":{},"order":8,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":95},{"localized_name":"audio","name":"audio","shape":7,"type":"AUDIO","link":13844},{"localized_name":"meta_batch","name":"meta_batch","shape":7,"type":"VHS_BatchManager","link":null},{"localized_name":"vae","name":"vae","shape":7,"type":"VAE","link":null},{"localized_name":"frame_rate","name":"frame_rate","type":"FLOAT","widget":{"name":"frame_rate"},"link":null},{"localized_name":"loop_count","name":"loop_count","type":"INT","widget":{"name":"loop_count"},"link":null},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null},{"localized_name":"format","name":"format","type":"COMBO","widget":{"name":"format"},"link":null},{"localized_name":"pingpong","name":"pingpong","type":"BOOLEAN","widget":{"name":"pingpong"},"link":null},{"localized_name":"save_output","name":"save_output","type":"BOOLEAN","widget":{"name":"save_output"},"link":null},{"name":"pix_fmt","type":["yuv420p","p010le"],"widget":{"name":"pix_fmt"},"link":null},{"name":"bitrate","type":"INT","widget":{"name":"bitrate"},"link":null},{"name":"megabit","type":"BOOLEAN","widget":{"name":"megabit"},"link":null},{"name":"save_metadata","type":"BOOLEAN","widget":{"name":"save_metadata"},"link":null}],"outputs":[{"localized_name":"Filenames","name":"Filenames","type":"VHS_FILENAMES","links":null}],"properties":{"cnr_id":"comfyui-videohelpersuite","ver":"1.7.9","Node name for S&R":"VHS_VideoCombine"},"widgets_values":{"frame_rate":24,"loop_count":0,"filename_prefix":"audio/H3-V2A","format":"video/nvenc_h264-mp4","pix_fmt":"yuv420p","bitrate":10,"megabit":true,"save_metadata":true,"pingpong":false,"save_output":false,"videopreview":{"hidden":false,"paused":false,"params":{"filename":"H3-V2A_00002-audio.mp4","subfolder":"audio","type":"temp","format":"video/nvenc_h264-mp4","frame_rate":24,"workflow":"H3-V2A_00002.png","fullpath":"C:\\ComfyUI\\temp\\audio\\H3-V2A_00002-audio.mp4"}}},"widgets_values_named":{"frame_rate":24,"loop_count":0,"filename_prefix":"audio/H3-V2A","format":"video/nvenc_h264-mp4","pix_fmt":"yuv420p","bitrate":10,"megabit":true,"save_metadata":true,"pingpong":false,"save_output":false,"videopreview":{"hidden":false,"paused":false,"params":{"filename":"H3-V2A_00002-audio.mp4","subfolder":"audio","type":"temp","format":"video/nvenc_h264-mp4","frame_rate":24,"workflow":"H3-V2A_00002.png","fullpath":"C:\\ComfyUI\\temp\\audio\\H3-V2A_00002-audio.mp4"}}}},{"id":4603,"type":"1b57c27c-2176-4876-a458-298b3a1dd837","pos":[-980,5500],"size":[620,340],"flags":{},"order":3,"mode":0,"inputs":[{"name":"system","type":"STRING","widget":{"name":"system"},"link":null},{"name":"prompt","type":"STRING","widget":{"name":"prompt"},"link":null},{"name":"model","type":"COMBO","widget":{"name":"model"},"link":null}],"outputs":[{"name":"result","type":"STRING","links":[13820,13821]}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0","previewExposures":[]},"widgets_values":["You are an expert prompt writer for MiniMax-H3 TTS / Video-to-Audio generation.\n\nYour task is to convert the user's input and reference media into a precise, generation-oriented audio prompt.\n\nThe system supports two primary tasks:\n\n1. TTS / Character Voice Generation\n\n * Generate a voice appropriate for the person shown in a reference Picture.\n * Infer a plausible voice profile from relevant visual characteristics such as apparent age, gender presentation, character design, personality cues, and scene context.\n * Preserve all explicitly provided dialogue exactly.\n * Do not invent dialogue or narration.\n\n2. Video-to-Audio / Sound Effect Generation\n\n * Generate sound effects and environmental audio appropriate to the events shown in a reference Video.\n * Infer relevant diegetic sounds from visible actions, objects, environment, movement, and scene changes.\n * Match the timing and intensity of sounds to the visible events.\n * Do not invent events that are not visually supported by the Video.\n\nOutput ONLY:\n\nTTS_V2A:\n\nsubject_definitions:\n...\n\nsummary:\n...\n\nvoice_analysis:\n...\n\ndetailed_description:\n...\n\noverall_soundscape:\n...\n\nnon_diegetic_music:\n...\n\nWrite structural prose in English.\n\n## CORE RULES\n\nDescribe ONLY the target audio.\n\nUse:\n\n1. Explicit user instructions.\n2. Relevant visual information from assigned Picture references for voice characterization.\n3. Relevant visual and temporal information from assigned Video references for sound effects and environmental audio.\n4. Explicit audio or music information from assigned Audio references.\n\nPictures may be used to determine a plausible voice profile, but they do NOT provide dialogue, speech content, timing, sound effects, music, or audio events unless explicitly specified by the user.\n\nVideos may be used to determine visible actions, movement, objects, environment, timing, and scene changes for sound generation.\n\nAudio references may be used to determine explicitly referenced voice, sound, or music characteristics.\n\n## TTS VOICE GENERATION\n\nWhen a Picture contains a person or character, use relevant visual information to create an appropriate voice profile.\n\nVoice characteristics may include:\n\n* apparent age\n* gender presentation\n* vocal maturity\n* vocal weight\n* pitch\n* brightness or darkness\n* softness or roughness\n* breathiness\n* resonance\n* speaking energy\n* emotional intensity\n* speaking style\n* personality-related vocal qualities when visually supported by the character design or explicitly stated by the user\n\nDo NOT claim that a specific real person's voice is being reproduced unless explicitly requested and supported by an audio reference.\n\nDo NOT infer exact personality, emotions, accent, dialect, or speech mannerisms solely from appearance when they are not reasonably supported.\n\nWhen the user explicitly specifies a voice characteristic, it overrides visual inference.\n\nThe goal is a plausible and natural voice matching the character or scene, not a literal description of the person's appearance.\n\n## SPEECH — CRITICAL\n\nA speech event exists ONLY when:\n\n1. The surrounding text explicitly indicates speech, narration, voiceover, or singing.\n2. The actual words are enclosed in quotation marks.\n\nAccepted quotation marks:\n\n「...」\n“...”\n\"...\"\n‘...’\n'...'\n\nEvery valid quoted speech event is LOCKED CONTENT.\n\nFor every valid speech event:\n\n* preserve exact wording\n* preserve exact punctuation\n* preserve original language\n* preserve speaker when specified\n* preserve exact timestamp when specified\n* output it exactly once\n* place it in the corresponding timeline interval\n* wrap the actual spoken words in `<d>...</d>`\n\nExample:\n\n`[10-15s] The character speaks in Japanese 「Example phrase.」`\n\n→\n\n`[10-15s] Character voice: <d>Example phrase.</d>`\n\nNEVER:\n\n* translate\n* romanize\n* paraphrase\n* summarize\n* shorten\n* expand\n* correct\n* replace\n* omit\n* duplicate\n\nDo NOT generate dialogue from statements such as:\n\n* She speaks Japanese.\n* He talks to the camera.\n* The character says something.\n* Japanese dialogue occurs.\n\nWithout quoted words, there is NO dialogue.\n\nIf no dialogue is explicitly provided:\n\n`No dialogue or narration.`\n\nDo NOT invent words simply because a character appears to be speaking in a Picture or Video.\n\n## VISIBLE TEXT\n\nVisible text is NOT automatically speech.\n\nIf the user identifies text as a subtitle, sign, label, title, poster, screen text, written message, or other visible text, do not convert it into speech unless the user explicitly instructs that it should be spoken.\n\n## VIDEO-TO-AUDIO\n\nWhen a Video reference is provided, analyze the visible events for appropriate diegetic audio.\n\nRelevant information may include:\n\n* footsteps\n* impacts\n* object handling\n* doors opening or closing\n* cloth movement\n* body movement\n* vehicles\n* machinery\n* water\n* wind\n* weather\n* animals\n* crowds\n* environmental ambience\n* room tone\n* electronic devices\n* weapon-like impacts or other clearly visible physical events\n* changes in acoustic environment caused by scene transitions\n\nOnly generate sounds that are reasonably supported by visible events or the explicitly described scene.\n\nDo not generate sound merely because an object exists.\n\nFor example:\n\n* A visible person walking may produce footsteps.\n* A visible door closing may produce a door-closing sound.\n* A visible glass being placed on a table may produce a subtle object-contact sound.\n* A person standing still does not automatically create movement sounds.\n* A visible forest does not automatically require birds unless appropriate to the scene context.\n\nThe generated audio should correspond naturally to the visible action, timing, scale, and intensity.\n\n## SOUND TIMING\n\nWhen the user provides timestamps, preserve every explicit timestamp exactly.\n\nWhen a Video reference clearly establishes the timing of an action, align the corresponding sound effect with that visible event.\n\nDo not invent arbitrary timestamps when the Video itself does not establish them.\n\nWhen exact timing cannot be determined, describe the sound in relation to the corresponding visible event rather than inventing a precise timestamp.\n\n## SOUND CHARACTERISTICS\n\nFor each relevant sound, describe characteristics such as:\n\n* source\n* intensity\n* duration\n* texture\n* distance\n* acoustic environment\n* spatial impression\n* interaction with the environment\n\nKeep descriptions generation-oriented rather than analytical.\n\nAvoid unnecessary technical audio terminology unless it materially improves the generation result.\n\n## TIMELINE\n\nPreserve every explicit timestamp exactly.\n\nPreserve every explicit:\n\n* speech event\n* narration\n* voiceover\n* singing\n* sound effect\n* environmental sound\n* music instruction\n* voice characteristic\n* timing instruction\n\nUse `[Shot 1]` unless multiple shots are explicitly specified.\n\nKeep each interval concise.\n\nDo not merge away explicit audio events.\n\n## SUBJECT DEFINITIONS\n\nDescribe the relevant person or character for voice generation.\n\nUse:\n\n* user-provided subject information\n* relevant visual information from Picture references\n* explicitly specified voice characteristics\n\nDo not turn visual appearance into unsupported narrative or behavioral claims.\n\nFor Video-to-Audio, describe only subjects and objects that are relevant to the generated audio.\n\n## SUMMARY\n\nBriefly summarize the target audio.\n\nFor TTS:\n\n* identify the intended character or speaker\n* summarize the desired vocal character\n* identify the provided speech content if any\n\nFor Video-to-Audio:\n\n* summarize the acoustic scene\n* identify the major visible events that require sound\n\nDo not invent dialogue, sounds, music, or events.\n\n## VOICE ANALYSIS\n\nThis section is primarily for TTS.\n\nDescribe the intended voice in generation-oriented terms.\n\nInclude only characteristics supported by:\n\n* the Picture\n* explicit user instructions\n* relevant scene context\n\nExamples of useful characteristics:\n\n* young adult female voice\n* mature male voice\n* soft and gentle tone\n* clear and bright timbre\n* low and resonant voice\n* energetic delivery\n* restrained and calm delivery\n* slightly breathy texture\n\nDo not provide a voice analysis when no TTS voice generation is requested.\n\nIf not applicable:\n\n`N/A`\n\n## DETAILED DESCRIPTION\n\nThis is the authoritative audio timeline.\n\nEvery explicit speech event MUST appear here exactly once.\n\nEvery explicit sound event MUST appear here exactly once.\n\nEvery relevant Video event requiring inferred sound SHOULD appear here with an appropriate corresponding sound.\n\nFor TTS, specify:\n\n* speaker\n* voice characteristics\n* delivery style\n* spoken words\n* timing when provided\n\nFor Video-to-Audio, specify:\n\n* visible event\n* corresponding sound\n* timing\n* intensity\n* acoustic characteristics\n\nDo not invent dialogue.\n\nDo not invent unrelated sound effects.\n\nDo not invent events that are not supported by the references or user instructions.\n\n## OVERALL SOUNDSCAPE\n\nFor Video-to-Audio:\n\nGenerate an appropriate overall diegetic soundscape based on the visible environment and events.\n\nThis may include:\n\n* room tone\n* outdoor ambience\n* environmental noise\n* distant activity\n* weather\n* natural ambience\n* mechanical ambience\n* appropriate background sounds\n\nThe soundscape should support the scene without becoming unnecessarily busy.\n\nFor TTS-only generation:\n\n`N/A`\n\n## NON-DIEGETIC MUSIC\n\nUse music ONLY when:\n\n* explicitly requested by the user, or\n* explicitly provided by an Audio reference.\n\nDo not automatically add background music simply because it would sound appropriate.\n\nIf no music is specified:\n\n`N/A`\n\n## INFERENCE RULES\n\nTTS:\n\nPictures MAY be used to infer a plausible voice profile.\n\nPictures MUST NOT be used to invent dialogue, narration, sound effects, music, or timing.\n\nVideo MAY be used to infer speech delivery context when explicitly relevant, but MUST NOT create dialogue that was not supplied by the user.\n\nVideo-to-Audio:\n\nVideo MAY be used to infer appropriate sound effects and environmental audio from visible events.\n\nVideo MUST NOT be used to invent invisible events without reasonable visual support.\n\nFor example, do not add:\n\n* explosions when none are visible\n* gunshots when no corresponding action is visible\n* footsteps when the subject is clearly stationary\n* dialogue when no dialogue is supplied\n* music unless explicitly requested\n\n## EMOTIONAL DELIVERY\n\nWhen emotional delivery is explicitly stated by the user, preserve it.\n\nWhen a Video shows a clearly supported emotional context, use it to guide vocal delivery only when TTS is requested.\n\nDo not overinterpret facial expressions or visual appearance.\n\nUse restrained, plausible emotional direction rather than exaggerated emotion.\n\n## ENDING\n\nDo not invent:\n\n* a final sound\n* a transition\n* a fade-out\n* a musical ending\n* a final spoken line\n* a reaction\n* a silence\n\nunless explicitly requested or clearly required by the referenced Video event.\n\n## FINAL CHECK\n\nSilently verify:\n\n* Every explicit timeline interval is present.\n* Every explicit speech event is present exactly once.\n* Every speech event retains exact wording, punctuation, language, speaker, and timestamp.\n* `<d>` contains only the actual spoken words.\n* No unquoted text became dialogue.\n* No dialogue was invented.\n* Picture references are used only for relevant voice characteristics.\n* No unsupported voice characteristics are asserted as facts.\n* Video references are used to infer appropriate sound effects and environmental audio.\n* Every inferred sound is reasonably supported by a visible event or environment.\n* No unrelated sound effects were invented.\n* No unsupported music was added.\n* Explicit timing is preserved.\n* The generated audio matches the scale, intensity, and acoustic context of the scene.\n* No invented ending or transition was added.\n* Output contains ONLY the required TTS_V2A structure.\n\nNever output reasoning, analysis, warnings, explanations, or commentary.\n\nNever output text before `TTS_V2A:` or after the completed prompt.\n","","orcarouter/Qwen3.8-27B-Uncensored:q3_K_M"],"widgets_values_named":{"system":"You are an expert prompt writer for MiniMax-H3 TTS / Video-to-Audio generation.\n\nYour task is to convert the user's input and reference media into a precise, generation-oriented audio prompt.\n\nThe system supports two primary tasks:\n\n1. TTS / Character Voice Generation\n\n * Generate a voice appropriate for the person shown in a reference Picture.\n * Infer a plausible voice profile from relevant visual characteristics such as apparent age, gender presentation, character design, personality cues, and scene context.\n * Preserve all explicitly provided dialogue exactly.\n * Do not invent dialogue or narration.\n\n2. Video-to-Audio / Sound Effect Generation\n\n * Generate sound effects and environmental audio appropriate to the events shown in a reference Video.\n * Infer relevant diegetic sounds from visible actions, objects, environment, movement, and scene changes.\n * Match the timing and intensity of sounds to the visible events.\n * Do not invent events that are not visually supported by the Video.\n\nOutput ONLY:\n\nTTS_V2A:\n\nsubject_definitions:\n...\n\nsummary:\n...\n\nvoice_analysis:\n...\n\ndetailed_description:\n...\n\noverall_soundscape:\n...\n\nnon_diegetic_music:\n...\n\nWrite structural prose in English.\n\n## CORE RULES\n\nDescribe ONLY the target audio.\n\nUse:\n\n1. Explicit user instructions.\n2. Relevant visual information from assigned Picture references for voice characterization.\n3. Relevant visual and temporal information from assigned Video references for sound effects and environmental audio.\n4. Explicit audio or music information from assigned Audio references.\n\nPictures may be used to determine a plausible voice profile, but they do NOT provide dialogue, speech content, timing, sound effects, music, or audio events unless explicitly specified by the user.\n\nVideos may be used to determine visible actions, movement, objects, environment, timing, and scene changes for sound generation.\n\nAudio references may be used to determine explicitly referenced voice, sound, or music characteristics.\n\n## TTS VOICE GENERATION\n\nWhen a Picture contains a person or character, use relevant visual information to create an appropriate voice profile.\n\nVoice characteristics may include:\n\n* apparent age\n* gender presentation\n* vocal maturity\n* vocal weight\n* pitch\n* brightness or darkness\n* softness or roughness\n* breathiness\n* resonance\n* speaking energy\n* emotional intensity\n* speaking style\n* personality-related vocal qualities when visually supported by the character design or explicitly stated by the user\n\nDo NOT claim that a specific real person's voice is being reproduced unless explicitly requested and supported by an audio reference.\n\nDo NOT infer exact personality, emotions, accent, dialect, or speech mannerisms solely from appearance when they are not reasonably supported.\n\nWhen the user explicitly specifies a voice characteristic, it overrides visual inference.\n\nThe goal is a plausible and natural voice matching the character or scene, not a literal description of the person's appearance.\n\n## SPEECH — CRITICAL\n\nA speech event exists ONLY when:\n\n1. The surrounding text explicitly indicates speech, narration, voiceover, or singing.\n2. The actual words are enclosed in quotation marks.\n\nAccepted quotation marks:\n\n「...」\n“...”\n\"...\"\n‘...’\n'...'\n\nEvery valid quoted speech event is LOCKED CONTENT.\n\nFor every valid speech event:\n\n* preserve exact wording\n* preserve exact punctuation\n* preserve original language\n* preserve speaker when specified\n* preserve exact timestamp when specified\n* output it exactly once\n* place it in the corresponding timeline interval\n* wrap the actual spoken words in `<d>...</d>`\n\nExample:\n\n`[10-15s] The character speaks in Japanese 「Example phrase.」`\n\n→\n\n`[10-15s] Character voice: <d>Example phrase.</d>`\n\nNEVER:\n\n* translate\n* romanize\n* paraphrase\n* summarize\n* shorten\n* expand\n* correct\n* replace\n* omit\n* duplicate\n\nDo NOT generate dialogue from statements such as:\n\n* She speaks Japanese.\n* He talks to the camera.\n* The character says something.\n* Japanese dialogue occurs.\n\nWithout quoted words, there is NO dialogue.\n\nIf no dialogue is explicitly provided:\n\n`No dialogue or narration.`\n\nDo NOT invent words simply because a character appears to be speaking in a Picture or Video.\n\n## VISIBLE TEXT\n\nVisible text is NOT automatically speech.\n\nIf the user identifies text as a subtitle, sign, label, title, poster, screen text, written message, or other visible text, do not convert it into speech unless the user explicitly instructs that it should be spoken.\n\n## VIDEO-TO-AUDIO\n\nWhen a Video reference is provided, analyze the visible events for appropriate diegetic audio.\n\nRelevant information may include:\n\n* footsteps\n* impacts\n* object handling\n* doors opening or closing\n* cloth movement\n* body movement\n* vehicles\n* machinery\n* water\n* wind\n* weather\n* animals\n* crowds\n* environmental ambience\n* room tone\n* electronic devices\n* weapon-like impacts or other clearly visible physical events\n* changes in acoustic environment caused by scene transitions\n\nOnly generate sounds that are reasonably supported by visible events or the explicitly described scene.\n\nDo not generate sound merely because an object exists.\n\nFor example:\n\n* A visible person walking may produce footsteps.\n* A visible door closing may produce a door-closing sound.\n* A visible glass being placed on a table may produce a subtle object-contact sound.\n* A person standing still does not automatically create movement sounds.\n* A visible forest does not automatically require birds unless appropriate to the scene context.\n\nThe generated audio should correspond naturally to the visible action, timing, scale, and intensity.\n\n## SOUND TIMING\n\nWhen the user provides timestamps, preserve every explicit timestamp exactly.\n\nWhen a Video reference clearly establishes the timing of an action, align the corresponding sound effect with that visible event.\n\nDo not invent arbitrary timestamps when the Video itself does not establish them.\n\nWhen exact timing cannot be determined, describe the sound in relation to the corresponding visible event rather than inventing a precise timestamp.\n\n## SOUND CHARACTERISTICS\n\nFor each relevant sound, describe characteristics such as:\n\n* source\n* intensity\n* duration\n* texture\n* distance\n* acoustic environment\n* spatial impression\n* interaction with the environment\n\nKeep descriptions generation-oriented rather than analytical.\n\nAvoid unnecessary technical audio terminology unless it materially improves the generation result.\n\n## TIMELINE\n\nPreserve every explicit timestamp exactly.\n\nPreserve every explicit:\n\n* speech event\n* narration\n* voiceover\n* singing\n* sound effect\n* environmental sound\n* music instruction\n* voice characteristic\n* timing instruction\n\nUse `[Shot 1]` unless multiple shots are explicitly specified.\n\nKeep each interval concise.\n\nDo not merge away explicit audio events.\n\n## SUBJECT DEFINITIONS\n\nDescribe the relevant person or character for voice generation.\n\nUse:\n\n* user-provided subject information\n* relevant visual information from Picture references\n* explicitly specified voice characteristics\n\nDo not turn visual appearance into unsupported narrative or behavioral claims.\n\nFor Video-to-Audio, describe only subjects and objects that are relevant to the generated audio.\n\n## SUMMARY\n\nBriefly summarize the target audio.\n\nFor TTS:\n\n* identify the intended character or speaker\n* summarize the desired vocal character\n* identify the provided speech content if any\n\nFor Video-to-Audio:\n\n* summarize the acoustic scene\n* identify the major visible events that require sound\n\nDo not invent dialogue, sounds, music, or events.\n\n## VOICE ANALYSIS\n\nThis section is primarily for TTS.\n\nDescribe the intended voice in generation-oriented terms.\n\nInclude only characteristics supported by:\n\n* the Picture\n* explicit user instructions\n* relevant scene context\n\nExamples of useful characteristics:\n\n* young adult female voice\n* mature male voice\n* soft and gentle tone\n* clear and bright timbre\n* low and resonant voice\n* energetic delivery\n* restrained and calm delivery\n* slightly breathy texture\n\nDo not provide a voice analysis when no TTS voice generation is requested.\n\nIf not applicable:\n\n`N/A`\n\n## DETAILED DESCRIPTION\n\nThis is the authoritative audio timeline.\n\nEvery explicit speech event MUST appear here exactly once.\n\nEvery explicit sound event MUST appear here exactly once.\n\nEvery relevant Video event requiring inferred sound SHOULD appear here with an appropriate corresponding sound.\n\nFor TTS, specify:\n\n* speaker\n* voice characteristics\n* delivery style\n* spoken words\n* timing when provided\n\nFor Video-to-Audio, specify:\n\n* visible event\n* corresponding sound\n* timing\n* intensity\n* acoustic characteristics\n\nDo not invent dialogue.\n\nDo not invent unrelated sound effects.\n\nDo not invent events that are not supported by the references or user instructions.\n\n## OVERALL SOUNDSCAPE\n\nFor Video-to-Audio:\n\nGenerate an appropriate overall diegetic soundscape based on the visible environment and events.\n\nThis may include:\n\n* room tone\n* outdoor ambience\n* environmental noise\n* distant activity\n* weather\n* natural ambience\n* mechanical ambience\n* appropriate background sounds\n\nThe soundscape should support the scene without becoming unnecessarily busy.\n\nFor TTS-only generation:\n\n`N/A`\n\n## NON-DIEGETIC MUSIC\n\nUse music ONLY when:\n\n* explicitly requested by the user, or\n* explicitly provided by an Audio reference.\n\nDo not automatically add background music simply because it would sound appropriate.\n\nIf no music is specified:\n\n`N/A`\n\n## INFERENCE RULES\n\nTTS:\n\nPictures MAY be used to infer a plausible voice profile.\n\nPictures MUST NOT be used to invent dialogue, narration, sound effects, music, or timing.\n\nVideo MAY be used to infer speech delivery context when explicitly relevant, but MUST NOT create dialogue that was not supplied by the user.\n\nVideo-to-Audio:\n\nVideo MAY be used to infer appropriate sound effects and environmental audio from visible events.\n\nVideo MUST NOT be used to invent invisible events without reasonable visual support.\n\nFor example, do not add:\n\n* explosions when none are visible\n* gunshots when no corresponding action is visible\n* footsteps when the subject is clearly stationary\n* dialogue when no dialogue is supplied\n* music unless explicitly requested\n\n## EMOTIONAL DELIVERY\n\nWhen emotional delivery is explicitly stated by the user, preserve it.\n\nWhen a Video shows a clearly supported emotional context, use it to guide vocal delivery only when TTS is requested.\n\nDo not overinterpret facial expressions or visual appearance.\n\nUse restrained, plausible emotional direction rather than exaggerated emotion.\n\n## ENDING\n\nDo not invent:\n\n* a final sound\n* a transition\n* a fade-out\n* a musical ending\n* a final spoken line\n* a reaction\n* a silence\n\nunless explicitly requested or clearly required by the referenced Video event.\n\n## FINAL CHECK\n\nSilently verify:\n\n* Every explicit timeline interval is present.\n* Every explicit speech event is present exactly once.\n* Every speech event retains exact wording, punctuation, language, speaker, and timestamp.\n* `<d>` contains only the actual spoken words.\n* No unquoted text became dialogue.\n* No dialogue was invented.\n* Picture references are used only for relevant voice characteristics.\n* No unsupported voice characteristics are asserted as facts.\n* Video references are used to infer appropriate sound effects and environmental audio.\n* Every inferred sound is reasonably supported by a visible event or environment.\n* No unrelated sound effects were invented.\n* No unsupported music was added.\n* Explicit timing is preserved.\n* The generated audio matches the scale, intensity, and acoustic context of the scene.\n* No invented ending or transition was added.\n* Output contains ONLY the required TTS_V2A structure.\n\nNever output reasoning, analysis, warnings, explanations, or commentary.\n\nNever output text before `TTS_V2A:` or after the completed prompt.\n","prompt":"","model":"orcarouter/Qwen3.8-27B-Uncensored:q3_K_M"},"color":"#232","bgcolor":"#353"},{"id":4604,"type":"PreviewAny","pos":[-980,4990],"size":[620,460],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"source","name":"source","type":"*","link":13821}],"outputs":[{"localized_name":"STRING","name":"STRING","type":"STRING","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"PreviewAny"},"widgets_values":[],"widgets_values_named":{}},{"id":4608,"type":"Note","pos":[-1590,5390],"size":[300,110],"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["Video-to-Audio does not regenerate the video. In other words, it is not intended for lip sync. Its purpose is to generate new background sounds that are missing from the video.\n"],"widgets_values_named":{"text":"Video-to-Audio does not regenerate the video. In other words, it is not intended for lip sync. Its purpose is to generate new background sounds that are missing from the video.\n"},"color":"#432","bgcolor":"#653"}],"links":[[29,19,0,18,14,"IMAGE"],[30,18,0,20,0,"AUDIO"],[79,40,0,18,15,"IMAGE"],[95,40,0,44,0,"IMAGE"],[13820,4603,0,18,13,"STRING"],[13821,4603,0,4604,0,"STRING"],[13844,18,0,44,1,"AUDIO"]],"groups":[],"definitions":{"subgraphs":[{"id":"466b2449-e267-4ec5-9751-96c224d14021","version":1,"state":{"lastGroupId":51,"lastNodeId":4613,"lastLinkId":13850,"lastRerouteId":2},"revision":0,"config":{},"name":"MiniMax-H3 TTS","inputNode":{"id":-10,"bounding":[-2020,5440,142.388671875,368]},"outputNode":{"id":-20,"bounding":[1464.1432773930846,5577.947530186608,128,68]},"inputs":[{"id":"cc52a82f-aa3a-49c7-b77f-caf815308b3d","name":"model_name","type":"COMBO","linkIds":[62],"pos":[-1901.611328125,5464]},{"id":"6046d1ee-a743-4289-9cc1-6c19da26ce8c","name":"vae_name","type":"COMBO","linkIds":[20],"label":"vae_name_video","pos":[-1901.611328125,5484]},{"id":"fd6541b9-88a9-497d-b07d-b28bfc83017f","name":"vae_name_1","type":"COMBO","linkIds":[21],"label":"vae_name_audio","pos":[-1901.611328125,5504]},{"id":"b0361f4c-2d63-4ee0-aa69-63b143c8e9a9","name":"clip_name","type":"COMBO","linkIds":[22],"pos":[-1901.611328125,5524]},{"id":"e5292c06-517e-4514-86aa-956a92f2f04e","name":"lora_name_1","type":"COMBO","linkIds":[94],"label":"ref_lora_name","pos":[-1901.611328125,5544]},{"id":"ef2eeabe-8e84-4db6-9cf2-b1128abf8ce1","name":"lora_name","type":"COMBO","linkIds":[23],"pos":[-1901.611328125,5564]},{"id":"19db0437-ada6-4966-88d4-90efc96dd8e7","name":"strength_model","type":"FLOAT","linkIds":[24],"pos":[-1901.611328125,5584]},{"id":"6c726ae7-9eb7-4ba0-bf76-24eaa1a3f1e8","name":"steps","type":"INT","linkIds":[34],"pos":[-1901.611328125,5604]},{"id":"49655709-24fa-491d-b3cd-bae79c3b80dd","name":"value","type":"INT","linkIds":[35],"label":"duration","pos":[-1901.611328125,5624]},{"id":"cba43db9-6f5d-46ea-b001-25557a9e517b","name":"switch","type":"BOOLEAN","linkIds":[63],"label":"sage-attn","pos":[-1901.611328125,5644]},{"id":"7c9c2fd1-4df1-4bc9-b609-1a4067ec8961","name":"switch_1","type":"BOOLEAN","linkIds":[64],"label":"kitchen-attn","pos":[-1901.611328125,5664]},{"id":"6b10f072-30fd-41af-8bdf-3198fa5139e3","name":"switch_2","type":"BOOLEAN","linkIds":[65],"label":"sparse-attn","pos":[-1901.611328125,5684]},{"id":"ca164e47-ccdc-4583-8b18-1a69a50ce069","name":"switch_3","type":"BOOLEAN","linkIds":[76,13827,13835,13836],"label":"video to audio","pos":[-1901.611328125,5704]},{"id":"aff195f6-7133-4f25-87a6-61352807308d","name":"prompt","type":"STRING","linkIds":[13848],"pos":[-1901.611328125,5724]},{"id":"c21a6c6b-5eca-4619-8ca2-544238f39a07","name":"first_frame","type":"IMAGE","linkIds":[85],"label":"reference image","pos":[-1901.611328125,5744]},{"id":"0e4940aa-b0bf-4904-afb8-d51bfe9320d4","name":"pixels","type":"IMAGE","linkIds":[13828],"label":"target video","pos":[-1901.611328125,5764]}],"outputs":[{"id":"f33ed8ae-bba9-4fd9-8a9e-64259100d412","name":"AUDIO","type":"AUDIO","linkIds":[28],"pos":[1488.1432773930846,5601.947530186608]}],"widgets":[],"nodes":[{"id":11,"type":"RandomNoise","pos":[660,5170],"size":[270,90],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"noise_seed","name":"noise_seed","type":"INT","widget":{"name":"noise_seed"},"link":null}],"outputs":[{"localized_name":"NOISE","name":"NOISE","type":"NOISE","links":[9]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"RandomNoise"},"widgets_values":[653941918762194,"randomize"],"widgets_values_named":{"noise_seed":653941918762194,"control_after_generate":"randomize"}},{"id":13,"type":"BasicGuider","pos":[660,5300],"size":[230,60],"flags":{},"order":11,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":11},{"localized_name":"conditioning","name":"conditioning","type":"CONDITIONING","link":88}],"outputs":[{"localized_name":"GUIDER","name":"GUIDER","type":"GUIDER","links":[12]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"BasicGuider"}},{"id":14,"type":"KSamplerSelect","pos":[660,5410],"size":[270,70],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"sampler_name","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null}],"outputs":[{"localized_name":"SAMPLER","name":"SAMPLER","type":"SAMPLER","links":[13]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"KSamplerSelect"},"widgets_values":["euler"],"widgets_values_named":{"sampler_name":"euler"}},{"id":12,"type":"SamplerCustomAdvanced","pos":[980,5170],"size":[230,370],"flags":{},"order":10,"mode":0,"inputs":[{"localized_name":"noise","name":"noise","type":"NOISE","link":9},{"localized_name":"guider","name":"guider","type":"GUIDER","link":12},{"localized_name":"sampler","name":"sampler","type":"SAMPLER","link":13},{"localized_name":"sigmas","name":"sigmas","type":"SIGMAS","link":15},{"localized_name":"latent_image","name":"latent_image","type":"LATENT","link":75}],"outputs":[{"localized_name":"output","name":"output","type":"LATENT","links":[17]},{"localized_name":"denoised_output","name":"denoised_output","type":"LATENT","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"SamplerCustomAdvanced"}},{"id":4,"type":"VAELoader","pos":[-1670,5660],"size":[270,70],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"vae_name","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":20}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","links":[68,83]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"VAELoader"},"widgets_values":["minimax_h3_video_vae_int8_convrot.safetensors"],"widgets_values_named":{"vae_name":"minimax_h3_video_vae_int8_convrot.safetensors"}},{"id":5,"type":"VAELoader","pos":[-1670,5770],"size":[270,70],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"vae_name","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":21}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","links":[18,84]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"VAELoader"},"widgets_values":["minimax_h3_audio_vae_fp32.safetensors"],"widgets_values_named":{"vae_name":"minimax_h3_audio_vae_fp32.safetensors"}},{"id":6,"type":"CLIPLoader","pos":[-1670,5880],"size":[270,120],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"clip_name","name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":22},{"localized_name":"type","name":"type","type":"COMBO","widget":{"name":"type"},"link":null},{"localized_name":"device","name":"device","shape":7,"type":"COMBO","widget":{"name":"device"},"link":null}],"outputs":[{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[82]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"CLIPLoader"},"widgets_values":["qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","minimax","default"],"widgets_values_named":{"clip_name":"qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","type":"minimax","device":"default"}},{"id":3,"type":"LoraLoaderModelOnly","pos":[-1670,5530],"size":[270,90],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":93},{"localized_name":"lora_name","name":"lora_name","type":"COMBO","widget":{"name":"lora_name"},"link":23},{"localized_name":"strength_model","name":"strength_model","type":"FLOAT","widget":{"name":"strength_model"},"link":24}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[11,14]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"LoraLoaderModelOnly"},"widgets_values":["H3\\minimax_h3_fl2v_lightx2v_turbo_4step_v0.1_comfy.safetensors",0.75],"widgets_values_named":{"lora_name":"H3\\minimax_h3_fl2v_lightx2v_turbo_4step_v0.1_comfy.safetensors","strength_model":0.75}},{"id":17,"type":"VAEDecodeAudio","pos":[1240,5170],"size":[230,60],"flags":{},"order":13,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":17},{"localized_name":"vae","name":"vae","type":"VAE","link":18}],"outputs":[{"localized_name":"AUDIO","name":"AUDIO","type":"AUDIO","links":[28]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"VAEDecodeAudio"}},{"id":15,"type":"BasicScheduler","pos":[660,5530],"size":[270,120],"flags":{},"order":12,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":14},{"localized_name":"scheduler","name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":null},{"localized_name":"steps","name":"steps","type":"INT","widget":{"name":"steps"},"link":34},{"localized_name":"denoise","name":"denoise","type":"FLOAT","widget":{"name":"denoise"},"link":null}],"outputs":[{"localized_name":"SIGMAS","name":"SIGMAS","type":"SIGMAS","links":[15]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"BasicScheduler"},"widgets_values":["simple",8,1],"widgets_values_named":{"scheduler":"simple","steps":8,"denoise":1}},{"id":10,"type":"easy int","pos":[-770,5420],"size":[225,0],"flags":{"collapsed":true},"order":9,"mode":0,"inputs":[{"localized_name":"value","name":"value","type":"INT","widget":{"name":"value"},"link":35}],"outputs":[{"localized_name":"int","name":"int","type":"INT","links":[6]}],"properties":{"cnr_id":"comfyui-easy-use","ver":"595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7","Node name for S&R":"easy int"},"widgets_values":[0],"widgets_values_named":{"value":0}},{"id":9,"type":"ComfyMathExpression","pos":[-770,5460],"size":[230,150],"flags":{"collapsed":false},"order":8,"mode":0,"inputs":[{"label":"a","localized_name":"a","name":"values.a","type":"FLOAT,INT,BOOLEAN","link":6},{"localized_name":"b","name":"values.b","shape":7,"type":"FLOAT,INT,BOOLEAN","link":null},{"localized_name":"expression","name":"expression","type":"STRING","widget":{"name":"expression"},"link":null}],"outputs":[{"localized_name":"FLOAT","name":"FLOAT","type":"FLOAT","links":null},{"localized_name":"INT","name":"INT","type":"INT","links":[13825]},{"localized_name":"BOOL","name":"BOOL","type":"BOOLEAN","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"ComfyMathExpression"},"widgets_values":["max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17"],"widgets_values_named":{"expression":"max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17"}},{"id":7,"type":"MiniMaxH3SigmaShift","pos":[-270,4740],"size":[280,90],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":66},{"localized_name":"shift_video","name":"shift_video","type":"FLOAT","widget":{"name":"shift_video"},"link":null},{"localized_name":"shift_audio","name":"shift_audio","type":"FLOAT","widget":{"name":"shift_audio"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[92]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"MiniMaxH3SigmaShift"},"widgets_values":[12,3],"widgets_values_named":{"shift_video":12,"shift_audio":3}},{"id":26,"type":"UNETLoader","pos":[-1670,4740],"size":[330,100],"flags":{},"order":14,"mode":0,"inputs":[{"localized_name":"unet_name","name":"unet_name","type":"COMBO","widget":{"name":"unet_name"},"link":62},{"localized_name":"weight_dtype","name":"weight_dtype","type":"COMBO","widget":{"name":"weight_dtype"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[51]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"UNETLoader"},"widgets_values":["minimax_h3_fl2va_pruned_int8_convrot.safetensors","default"],"widgets_values_named":{"unet_name":"minimax_h3_fl2va_pruned_int8_convrot.safetensors","weight_dtype":"default"}},{"id":27,"type":"ModelPatchTorchSettings","pos":[-1670,4880],"size":[320,90],"flags":{},"order":15,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":51},{"localized_name":"enable_fp16_accumulation","name":"enable_fp16_accumulation","type":"BOOLEAN","widget":{"name":"enable_fp16_accumulation"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[53,54]}],"properties":{"cnr_id":"comfyui-kjnodes","ver":"e8e88f7c88e3f6205b122f5de87e69a09fbce5ac","Node name for S&R":"ModelPatchTorchSettings"},"widgets_values":[true],"widgets_values_named":{"enable_fp16_accumulation":true}},{"id":28,"type":"MiniMaxH3MemoryEfficientSageAttentionPatch","pos":[-1260,4900],"size":[330,60],"flags":{},"order":16,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":52}],"outputs":[{"localized_name":"model","name":"model","type":"MODEL","links":[55]}],"properties":{"cnr_id":"comfyui-kjnodes","ver":"60cd6bc1870db94c6eeb05fbe455147a8e91c4e9","Node name for S&R":"MiniMaxH3MemoryEfficientSageAttentionPatch"}},{"id":29,"type":"PathchSageAttentionKJ","pos":[-1260,4740],"size":[270,120],"flags":{},"order":17,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":53},{"localized_name":"sage_attention","name":"sage_attention","type":"COMBO","widget":{"name":"sage_attention"},"link":null},{"localized_name":"allow_compile","name":"allow_compile","shape":7,"type":"BOOLEAN","widget":{"name":"allow_compile"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[52]}],"properties":{"cnr_id":"comfyui-kjnodes","ver":"e8e88f7c88e3f6205b122f5de87e69a09fbce5ac","Node name for S&R":"PathchSageAttentionKJ"},"widgets_values":["auto",true],"widgets_values_named":{"sage_attention":"auto","allow_compile":true}},{"id":30,"type":"ComfySwitchNode","pos":[-1260,5000],"size":[230,110],"flags":{"collapsed":false},"order":18,"mode":0,"inputs":[{"localized_name":"on_false","name":"on_false","shape":7,"type":"MODEL","link":54},{"localized_name":"on_true","name":"on_true","shape":7,"type":"MODEL","link":55},{"localized_name":"switch","name":"switch","type":"BOOLEAN","widget":{"name":"switch"},"link":63}],"outputs":[{"localized_name":"output","name":"output","type":"MODEL","links":[56,57]}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"ComfySwitchNode"},"widgets_values":[false],"widgets_values_named":{"switch":false}},{"id":31,"type":"ModelAttentionBackend","pos":[-880,4740],"size":[270,70],"flags":{},"order":19,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":56},{"localized_name":"attention","name":"attention","type":"COMBO","widget":{"name":"attention"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[58]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"ModelAttentionBackend"},"widgets_values":["comfy kitchen attention"],"widgets_values_named":{"attention":"comfy kitchen attention"}},{"id":32,"type":"ComfySwitchNode","pos":[-880,4850],"size":[230,110],"flags":{"collapsed":false},"order":20,"mode":0,"inputs":[{"localized_name":"on_false","name":"on_false","shape":7,"type":"MODEL","link":57},{"localized_name":"on_true","name":"on_true","shape":7,"type":"MODEL","link":58},{"localized_name":"switch","name":"switch","type":"BOOLEAN","widget":{"name":"switch"},"link":64}],"outputs":[{"localized_name":"output","name":"output","type":"MODEL","links":[59,61]}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0","Node name for S&R":"ComfySwitchNode"},"widgets_values":[false],"widgets_values_named":{"switch":false}},{"id":33,"type":"ComfySwitchNode","pos":[-560,5110],"size":[230,110],"flags":{"collapsed":false},"order":21,"mode":0,"inputs":[{"localized_name":"on_false","name":"on_false","shape":7,"type":"MODEL","link":59},{"localized_name":"on_true","name":"on_true","shape":7,"type":"MODEL","link":60},{"localized_name":"switch","name":"switch","type":"BOOLEAN","widget":{"name":"switch"},"link":65}],"outputs":[{"localized_name":"output","name":"output","type":"MODEL","links":[66]}],"properties":{"cnr_id":"comfy-core","ver":"0.31.0","Node name for S&R":"ComfySwitchNode"},"widgets_values":[true],"widgets_values_named":{"switch":true}},{"id":34,"type":"BlockSparseAttention","pos":[-560,4740],"size":[270,318],"flags":{},"order":22,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":61},{"localized_name":"selection","name":"selection","type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"selection"},"link":null},{"localized_name":"keep_percent","name":"selection.keep_percent","type":"FLOAT","widget":{"name":"selection.keep_percent"},"link":null},{"localized_name":"start_percent","name":"start_percent","type":"FLOAT","widget":{"name":"start_percent"},"link":null},{"localized_name":"end_percent","name":"end_percent","type":"FLOAT","widget":{"name":"end_percent"},"link":null},{"localized_name":"dense_blocks","name":"dense_blocks","type":"STRING","widget":{"name":"dense_blocks"},"link":null},{"localized_name":"min_tokens","name":"min_tokens","type":"INT","widget":{"name":"min_tokens"},"link":null},{"localized_name":"extra_tokens","name":"extra_tokens","type":"INT","widget":{"name":"extra_tokens"},"link":null},{"localized_name":"sink_conditioning","name":"sink_conditioning","type":"COMBO","widget":{"name":"sink_conditioning"},"link":null},{"localized_name":"verbose","name":"verbose","type":"BOOLEAN","widget":{"name":"verbose"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[60]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"BlockSparseAttention"},"widgets_values":["top-k (SLA)",10,0.2,1,"",12288,256,"exact_kv_and_rows",false],"widgets_values_named":{"selection":"top-k (SLA)","selection.keep_percent":10,"start_percent":0.2,"end_percent":1,"dense_blocks":"","min_tokens":12288,"extra_tokens":256,"sink_conditioning":"exact_kv_and_rows","verbose":false}},{"id":35,"type":"LTXVSeparateAVLatent","pos":[200,5860],"size":[230,60],"flags":{},"order":23,"mode":0,"inputs":[{"localized_name":"av_latent","name":"av_latent","type":"LATENT","link":89}],"outputs":[{"localized_name":"video_latent","name":"video_latent","type":"LATENT","links":[]},{"localized_name":"audio_latent","name":"audio_latent","type":"LATENT","links":[71]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"LTXVSeparateAVLatent"}},{"id":36,"type":"VAEEncode","pos":[200,5960],"size":[230,60],"flags":{},"order":24,"mode":0,"inputs":[{"localized_name":"pixels","name":"pixels","type":"IMAGE","link":78},{"localized_name":"vae","name":"vae","type":"VAE","link":68}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[72]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"VAEEncode"}},{"id":37,"type":"LTXVConcatAVLatent","pos":[200,6060],"size":[230,60],"flags":{},"order":25,"mode":0,"inputs":[{"localized_name":"video_latent","name":"video_latent","type":"LATENT","link":72},{"localized_name":"audio_latent","name":"audio_latent","type":"LATENT","link":71}],"outputs":[{"localized_name":"latent","name":"latent","type":"LATENT","links":[73]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"LTXVConcatAVLatent"}},{"id":38,"type":"ComfySwitchNode","pos":[200,6170],"size":[270,110],"flags":{},"order":26,"mode":0,"inputs":[{"localized_name":"on_false","name":"on_false","shape":7,"type":"LATENT","link":90},{"localized_name":"on_true","name":"on_true","shape":7,"type":"LATENT","link":73},{"localized_name":"switch","name":"switch","type":"BOOLEAN","widget":{"name":"switch"},"link":76}],"outputs":[{"localized_name":"output","name":"output","type":"LATENT","links":[75]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"ComfySwitchNode"},"widgets_values":[false],"widgets_values_named":{"switch":false}},{"id":39,"type":"ResizeImageMaskNode","pos":[-200,5960],"size":[270,118],"flags":{},"order":27,"mode":0,"inputs":[{"localized_name":"input","name":"input","type":"IMAGE,MASK","link":13828},{"localized_name":"resize_type","name":"resize_type","type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"resize_type"},"link":null},{"localized_name":"shorter_size","name":"resize_type.shorter_size","type":"INT","widget":{"name":"resize_type.shorter_size"},"link":null},{"localized_name":"scale_method","name":"scale_method","type":"COMBO","widget":{"name":"scale_method"},"link":null}],"outputs":[{"localized_name":"resized","name":"resized","type":"IMAGE","links":[78,13832,13850]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"ResizeImageMaskNode"},"widgets_values":["scale shorter dimension",128,"area"],"widgets_values_named":{"resize_type":"scale shorter dimension","resize_type.shorter_size":128,"scale_method":"area"}},{"id":42,"type":"MiniMaxH3ReferenceToVideo","pos":[190,5170],"size":[400,380],"flags":{},"order":28,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":82},{"localized_name":"vae","name":"vae","shape":7,"type":"VAE","link":83},{"localized_name":"audio_vae","name":"audio_vae","shape":7,"type":"VAE","link":84},{"localized_name":"ref_image_0","name":"ref_images.ref_image_0","shape":7,"type":"IMAGE","link":85},{"localized_name":"ref_image_1","name":"ref_images.ref_image_1","shape":7,"type":"IMAGE","link":null},{"localized_name":"ref_video_0","name":"ref_videos.ref_video_0","shape":7,"type":"IMAGE","link":13850},{"localized_name":"ref_video_1","name":"ref_videos.ref_video_1","shape":7,"type":"IMAGE","link":null},{"localized_name":"ref_video_audio_0","name":"ref_video_audios.ref_video_audio_0","shape":7,"type":"AUDIO","link":null},{"localized_name":"ref_audio_0","name":"ref_audios.ref_audio_0","shape":7,"type":"AUDIO","link":null},{"localized_name":"prompt","name":"prompt","type":"STRING","widget":{"name":"prompt"},"link":13848},{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":13849},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":13838},{"localized_name":"length","name":"length","type":"INT","widget":{"name":"length"},"link":13826},{"localized_name":"ref_image_size","name":"ref_image_size","type":"COMBO","widget":{"name":"ref_image_size"},"link":null}],"outputs":[{"localized_name":"positive","name":"positive","type":"CONDITIONING","links":[88]},{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[89,90]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"MiniMaxH3ReferenceToVideo"},"widgets_values":["",32,32,124,"match"],"widgets_values_named":{"prompt":"","width":32,"height":32,"length":124,"ref_image_size":"match"}},{"id":43,"type":"LoraLoaderModelOnly","pos":[-1670,5390],"size":[270,90],"flags":{},"order":29,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":92},{"localized_name":"lora_name","name":"lora_name","type":"COMBO","widget":{"name":"lora_name"},"link":94},{"localized_name":"strength_model","name":"strength_model","type":"FLOAT","widget":{"name":"strength_model"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[93]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"LoraLoaderModelOnly"},"widgets_values":["H3\\minimax_h3_ref_lora_rank_256_bf16.safetensors",1],"widgets_values_named":{"lora_name":"H3\\minimax_h3_ref_lora_rank_256_bf16.safetensors","strength_model":1}},{"id":4605,"type":"GetImageSize","pos":[-770,5660],"size":[225,0],"flags":{"collapsed":true},"order":30,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"IMAGE","link":13832}],"outputs":[{"localized_name":"width","name":"width","type":"INT","links":[13833]},{"localized_name":"height","name":"height","type":"INT","links":[13834]},{"localized_name":"batch_size","name":"batch_size","type":"INT","links":[13823]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"GetImageSize"}},{"id":4606,"type":"ComfyMathExpression","pos":[-770,5710],"size":[230,150],"flags":{},"order":31,"mode":0,"inputs":[{"localized_name":"a","name":"values.a","type":"FLOAT,INT,BOOLEAN","link":13823},{"localized_name":"b","name":"values.b","shape":7,"type":"FLOAT,INT,BOOLEAN","link":null},{"localized_name":"expression","name":"expression","type":"STRING","widget":{"name":"expression"},"link":null}],"outputs":[{"localized_name":"FLOAT","name":"FLOAT","type":"FLOAT","links":null},{"localized_name":"INT","name":"INT","type":"INT","links":[13824]},{"localized_name":"BOOL","name":"BOOL","type":"BOOLEAN","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"ComfyMathExpression"},"widgets_values":["floor((a - 5) / 17) * 17 + 5"],"widgets_values_named":{"expression":"floor((a - 5) / 17) * 17 + 5"}},{"id":4607,"type":"ComfySwitchNode","pos":[-200,5650],"size":[270,110],"flags":{},"order":32,"mode":0,"inputs":[{"localized_name":"on_false","name":"on_false","shape":7,"type":"INT","link":13825},{"localized_name":"on_true","name":"on_true","shape":7,"type":"INT","link":13824},{"localized_name":"switch","name":"switch","type":"BOOLEAN","widget":{"name":"switch"},"link":13827}],"outputs":[{"localized_name":"output","name":"output","type":"INT","links":[13826]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"ComfySwitchNode"},"widgets_values":[false],"widgets_values_named":{"switch":false}},{"id":4611,"type":"ComfySwitchNode","pos":[-200,5330],"size":[270,110],"flags":{},"order":33,"mode":0,"inputs":[{"localized_name":"on_false","name":"on_false","shape":7,"type":"INT","link":13839},{"localized_name":"on_true","name":"on_true","shape":7,"type":"INT","link":13833},{"localized_name":"switch","name":"switch","type":"BOOLEAN","widget":{"name":"switch"},"link":13836}],"outputs":[{"localized_name":"output","name":"output","type":"INT","links":[13849]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"ComfySwitchNode"},"widgets_values":[false],"widgets_values_named":{"switch":false}},{"id":4612,"type":"ComfySwitchNode","pos":[-200,5480],"size":[270,110],"flags":{},"order":34,"mode":0,"inputs":[{"localized_name":"on_false","name":"on_false","shape":7,"type":"INT","link":13840},{"localized_name":"on_true","name":"on_true","shape":7,"type":"INT","link":13834},{"localized_name":"switch","name":"switch","type":"BOOLEAN","widget":{"name":"switch"},"link":13835}],"outputs":[{"localized_name":"output","name":"output","type":"INT","links":[13838]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"ComfySwitchNode"},"widgets_values":[false],"widgets_values_named":{"switch":false}},{"id":4613,"type":"PrimitiveInt","pos":[-200,5210],"size":[270,90],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"value","name":"value","type":"INT","widget":{"name":"value"},"link":null}],"outputs":[{"localized_name":"INT","name":"INT","type":"INT","links":[13839,13840]}],"properties":{"cnr_id":"comfy-core","ver":"0.34.0","Node name for S&R":"PrimitiveInt"},"widgets_values":[32,"fixed"],"widgets_values_named":{"value":32,"fixed":"fixed"}}],"groups":[],"links":[{"id":6,"origin_id":10,"origin_slot":0,"target_id":9,"target_slot":0,"type":"INT"},{"id":11,"origin_id":3,"origin_slot":0,"target_id":13,"target_slot":0,"type":"MODEL"},{"id":14,"origin_id":3,"origin_slot":0,"target_id":15,"target_slot":0,"type":"MODEL"},{"id":9,"origin_id":11,"origin_slot":0,"target_id":12,"target_slot":0,"type":"NOISE"},{"id":12,"origin_id":13,"origin_slot":0,"target_id":12,"target_slot":1,"type":"GUIDER"},{"id":13,"origin_id":14,"origin_slot":0,"target_id":12,"target_slot":2,"type":"SAMPLER"},{"id":15,"origin_id":15,"origin_slot":0,"target_id":12,"target_slot":3,"type":"SIGMAS"},{"id":17,"origin_id":12,"origin_slot":0,"target_id":17,"target_slot":0,"type":"LATENT"},{"id":18,"origin_id":5,"origin_slot":0,"target_id":17,"target_slot":1,"type":"VAE"},{"id":20,"origin_id":-10,"origin_slot":1,"target_id":4,"target_slot":0,"type":"COMBO"},{"id":21,"origin_id":-10,"origin_slot":2,"target_id":5,"target_slot":0,"type":"COMBO"},{"id":22,"origin_id":-10,"origin_slot":3,"target_id":6,"target_slot":0,"type":"COMBO"},{"id":23,"origin_id":-10,"origin_slot":5,"target_id":3,"target_slot":1,"type":"COMBO"},{"id":24,"origin_id":-10,"origin_slot":6,"target_id":3,"target_slot":2,"type":"FLOAT"},{"id":28,"origin_id":17,"origin_slot":0,"target_id":-20,"target_slot":0,"type":"AUDIO"},{"id":34,"origin_id":-10,"origin_slot":7,"target_id":15,"target_slot":2,"type":"INT"},{"id":35,"origin_id":-10,"origin_slot":8,"target_id":10,"target_slot":0,"type":"INT"},{"id":51,"origin_id":26,"origin_slot":0,"target_id":27,"target_slot":0,"type":"MODEL"},{"id":52,"origin_id":29,"origin_slot":0,"target_id":28,"target_slot":0,"type":"MODEL"},{"id":53,"origin_id":27,"origin_slot":0,"target_id":29,"target_slot":0,"type":"MODEL"},{"id":54,"origin_id":27,"origin_slot":0,"target_id":30,"target_slot":0,"type":"MODEL"},{"id":55,"origin_id":28,"origin_slot":0,"target_id":30,"target_slot":1,"type":"MODEL"},{"id":56,"origin_id":30,"origin_slot":0,"target_id":31,"target_slot":0,"type":"MODEL"},{"id":57,"origin_id":30,"origin_slot":0,"target_id":32,"target_slot":0,"type":"MODEL"},{"id":58,"origin_id":31,"origin_slot":0,"target_id":32,"target_slot":1,"type":"MODEL"},{"id":59,"origin_id":32,"origin_slot":0,"target_id":33,"target_slot":0,"type":"MODEL"},{"id":60,"origin_id":34,"origin_slot":0,"target_id":33,"target_slot":1,"type":"MODEL"},{"id":61,"origin_id":32,"origin_slot":0,"target_id":34,"target_slot":0,"type":"MODEL"},{"id":62,"origin_id":-10,"origin_slot":0,"target_id":26,"target_slot":0,"type":"COMBO"},{"id":63,"origin_id":-10,"origin_slot":9,"target_id":30,"target_slot":2,"type":"BOOLEAN"},{"id":64,"origin_id":-10,"origin_slot":10,"target_id":32,"target_slot":2,"type":"BOOLEAN"},{"id":65,"origin_id":-10,"origin_slot":11,"target_id":33,"target_slot":2,"type":"BOOLEAN"},{"id":66,"origin_id":33,"origin_slot":0,"target_id":7,"target_slot":0,"type":"MODEL"},{"id":68,"origin_id":4,"origin_slot":0,"target_id":36,"target_slot":1,"type":"VAE"},{"id":71,"origin_id":35,"origin_slot":1,"target_id":37,"target_slot":1,"type":"LATENT"},{"id":72,"origin_id":36,"origin_slot":0,"target_id":37,"target_slot":0,"type":"LATENT"},{"id":73,"origin_id":37,"origin_slot":0,"target_id":38,"target_slot":1,"type":"LATENT"},{"id":75,"origin_id":38,"origin_slot":0,"target_id":12,"target_slot":4,"type":"LATENT"},{"id":76,"origin_id":-10,"origin_slot":12,"target_id":38,"target_slot":2,"type":"BOOLEAN"},{"id":78,"origin_id":39,"origin_slot":0,"target_id":36,"target_slot":0,"type":"IMAGE"},{"id":82,"origin_id":6,"origin_slot":0,"target_id":42,"target_slot":0,"type":"CLIP"},{"id":83,"origin_id":4,"origin_slot":0,"target_id":42,"target_slot":1,"type":"VAE"},{"id":84,"origin_id":5,"origin_slot":0,"target_id":42,"target_slot":2,"type":"VAE"},{"id":85,"origin_id":-10,"origin_slot":14,"target_id":42,"target_slot":3,"type":"IMAGE"},{"id":88,"origin_id":42,"origin_slot":0,"target_id":13,"target_slot":1,"type":"CONDITIONING"},{"id":89,"origin_id":42,"origin_slot":1,"target_id":35,"target_slot":0,"type":"LATENT"},{"id":90,"origin_id":42,"origin_slot":1,"target_id":38,"target_slot":0,"type":"LATENT"},{"id":92,"origin_id":7,"origin_slot":0,"target_id":43,"target_slot":0,"type":"MODEL"},{"id":93,"origin_id":43,"origin_slot":0,"target_id":3,"target_slot":0,"type":"MODEL"},{"id":94,"origin_id":-10,"origin_slot":4,"target_id":43,"target_slot":1,"type":"COMBO"},{"id":13823,"origin_id":4605,"origin_slot":2,"target_id":4606,"target_slot":0,"type":"INT"},{"id":13824,"origin_id":4606,"origin_slot":1,"target_id":4607,"target_slot":1,"type":"INT"},{"id":13825,"origin_id":9,"origin_slot":1,"target_id":4607,"target_slot":0,"type":"INT"},{"id":13826,"origin_id":4607,"origin_slot":0,"target_id":42,"target_slot":12,"type":"INT"},{"id":13827,"origin_id":-10,"origin_slot":12,"target_id":4607,"target_slot":2,"type":"BOOLEAN"},{"id":13828,"origin_id":-10,"origin_slot":15,"target_id":39,"target_slot":0,"type":"IMAGE"},{"id":13832,"origin_id":39,"origin_slot":0,"target_id":4605,"target_slot":0,"type":"IMAGE"},{"id":13833,"origin_id":4605,"origin_slot":0,"target_id":4611,"target_slot":1,"type":"INT"},{"id":13834,"origin_id":4605,"origin_slot":1,"target_id":4612,"target_slot":1,"type":"INT"},{"id":13835,"origin_id":-10,"origin_slot":12,"target_id":4612,"target_slot":2,"type":"BOOLEAN"},{"id":13836,"origin_id":-10,"origin_slot":12,"target_id":4611,"target_slot":2,"type":"BOOLEAN"},{"id":13838,"origin_id":4612,"origin_slot":0,"target_id":42,"target_slot":11,"type":"INT"},{"id":13839,"origin_id":4613,"origin_slot":0,"target_id":4611,"target_slot":0,"type":"INT"},{"id":13840,"origin_id":4613,"origin_slot":0,"target_id":4612,"target_slot":0,"type":"INT"},{"id":13848,"origin_id":-10,"origin_slot":13,"target_id":42,"target_slot":9,"type":"STRING"},{"id":13849,"origin_id":4611,"origin_slot":0,"target_id":42,"target_slot":10,"type":"INT"},{"id":13850,"origin_id":39,"origin_slot":0,"target_id":42,"target_slot":5,"type":"IMAGE"}],"extra":{}},{"id":"1b57c27c-2176-4876-a458-298b3a1dd837","version":1,"state":{"lastGroupId":51,"lastNodeId":4613,"lastLinkId":13850,"lastRerouteId":2},"revision":0,"config":{},"name":"Ollama","inputNode":{"id":-10,"bounding":[2832,6901,128,108]},"outputNode":{"id":-20,"bounding":[3800,6901,128,68]},"inputs":[{"id":"47eaa6f4-e8b5-429f-887c-a6853f55cece","name":"system","type":"STRING","linkIds":[41],"pos":[2936,6925]},{"id":"aa7e11ba-56df-4451-9339-6dcbe941215c","name":"prompt","type":"STRING","linkIds":[42],"pos":[2936,6945]},{"id":"c6f36590-36c4-4025-b842-0c0ce3ca5158","name":"model","type":"COMBO","linkIds":[90],"pos":[2936,6965]}],"outputs":[{"id":"f30fae29-17a0-4f4f-8449-28158758a60d","name":"result","type":"STRING","linkIds":[43],"pos":[3824,6925]}],"widgets":[],"nodes":[{"id":45,"type":"OllamaOptionsV2","pos":[3020,6660],"size":[300,880],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"enable_mirostat","name":"enable_mirostat","type":"BOOLEAN","widget":{"name":"enable_mirostat"},"link":null},{"localized_name":"mirostat","name":"mirostat","type":"INT","widget":{"name":"mirostat"},"link":null},{"localized_name":"enable_mirostat_eta","name":"enable_mirostat_eta","type":"BOOLEAN","widget":{"name":"enable_mirostat_eta"},"link":null},{"localized_name":"mirostat_eta","name":"mirostat_eta","type":"FLOAT","widget":{"name":"mirostat_eta"},"link":null},{"localized_name":"enable_mirostat_tau","name":"enable_mirostat_tau","type":"BOOLEAN","widget":{"name":"enable_mirostat_tau"},"link":null},{"localized_name":"mirostat_tau","name":"mirostat_tau","type":"FLOAT","widget":{"name":"mirostat_tau"},"link":null},{"localized_name":"enable_num_ctx","name":"enable_num_ctx","type":"BOOLEAN","widget":{"name":"enable_num_ctx"},"link":null},{"localized_name":"num_ctx","name":"num_ctx","type":"INT","widget":{"name":"num_ctx"},"link":null},{"localized_name":"enable_repeat_last_n","name":"enable_repeat_last_n","type":"BOOLEAN","widget":{"name":"enable_repeat_last_n"},"link":null},{"localized_name":"repeat_last_n","name":"repeat_last_n","type":"INT","widget":{"name":"repeat_last_n"},"link":null},{"localized_name":"enable_repeat_penalty","name":"enable_repeat_penalty","type":"BOOLEAN","widget":{"name":"enable_repeat_penalty"},"link":null},{"localized_name":"repeat_penalty","name":"repeat_penalty","type":"FLOAT","widget":{"name":"repeat_penalty"},"link":null},{"localized_name":"enable_temperature","name":"enable_temperature","type":"BOOLEAN","widget":{"name":"enable_temperature"},"link":null},{"localized_name":"temperature","name":"temperature","type":"FLOAT","widget":{"name":"temperature"},"link":null},{"localized_name":"enable_seed","name":"enable_seed","type":"BOOLEAN","widget":{"name":"enable_seed"},"link":null},{"localized_name":"seed","name":"seed","type":"INT","widget":{"name":"seed"},"link":null},{"localized_name":"enable_stop","name":"enable_stop","type":"BOOLEAN","widget":{"name":"enable_stop"},"link":null},{"localized_name":"stop","name":"stop","type":"STRING","widget":{"name":"stop"},"link":null},{"localized_name":"enable_tfs_z","name":"enable_tfs_z","type":"BOOLEAN","widget":{"name":"enable_tfs_z"},"link":null},{"localized_name":"tfs_z","name":"tfs_z","type":"FLOAT","widget":{"name":"tfs_z"},"link":null},{"localized_name":"enable_num_predict","name":"enable_num_predict","type":"BOOLEAN","widget":{"name":"enable_num_predict"},"link":null},{"localized_name":"num_predict","name":"num_predict","type":"INT","widget":{"name":"num_predict"},"link":null},{"localized_name":"enable_top_k","name":"enable_top_k","type":"BOOLEAN","widget":{"name":"enable_top_k"},"link":null},{"localized_name":"top_k","name":"top_k","type":"INT","widget":{"name":"top_k"},"link":null},{"localized_name":"enable_top_p","name":"enable_top_p","type":"BOOLEAN","widget":{"name":"enable_top_p"},"link":null},{"localized_name":"top_p","name":"top_p","type":"FLOAT","widget":{"name":"top_p"},"link":null},{"localized_name":"enable_min_p","name":"enable_min_p","type":"BOOLEAN","widget":{"name":"enable_min_p"},"link":null},{"localized_name":"min_p","name":"min_p","type":"FLOAT","widget":{"name":"min_p"},"link":null},{"localized_name":"debug","name":"debug","type":"BOOLEAN","widget":{"name":"debug"},"link":null}],"outputs":[{"localized_name":"options","name":"options","type":"OLLAMA_OPTIONS","links":[39]}],"properties":{"cnr_id":"comfyui-ollama","ver":"6db7560576e5a59488708e6be13e07b5aba2432a","Node name for S&R":"OllamaOptionsV2"},"widgets_values":[false,0,false,0.1,false,5,false,2048,false,64,true,1.1,false,0.8,true,62611541,"randomize",false,"",false,1,false,-1,false,40,false,0.9,false,0,false],"widgets_values_named":{"enable_mirostat":false,"mirostat":0,"enable_mirostat_eta":false,"mirostat_eta":0.1,"enable_mirostat_tau":false,"mirostat_tau":5,"enable_num_ctx":false,"num_ctx":2048,"enable_repeat_last_n":false,"repeat_last_n":64,"enable_repeat_penalty":true,"repeat_penalty":1.1,"enable_temperature":false,"temperature":0.8,"enable_seed":true,"seed":62611541,"control_after_generate":"randomize","enable_stop":false,"stop":"","enable_tfs_z":false,"tfs_z":1,"enable_num_predict":false,"num_predict":-1,"enable_top_k":false,"top_k":40,"enable_top_p":false,"top_p":0.9,"enable_min_p":false,"min_p":0,"debug":false}},{"id":46,"type":"OllamaGenerateV2","pos":[3340,6460],"size":[400,360],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"connectivity","name":"connectivity","shape":7,"type":"OLLAMA_CONNECTIVITY","link":38},{"localized_name":"options","name":"options","shape":7,"type":"OLLAMA_OPTIONS","link":39},{"localized_name":"images","name":"images","shape":7,"type":"IMAGE","link":null},{"localized_name":"context","name":"context","shape":7,"type":"OLLAMA_CONTEXT","link":null},{"localized_name":"meta","name":"meta","shape":7,"type":"OLLAMA_META","link":null},{"localized_name":"system","name":"system","type":"STRING","widget":{"name":"system"},"link":41},{"localized_name":"prompt","name":"prompt","type":"STRING","widget":{"name":"prompt"},"link":42},{"localized_name":"think","name":"think","type":"BOOLEAN","widget":{"name":"think"},"link":null},{"localized_name":"keep_context","name":"keep_context","type":"BOOLEAN","widget":{"name":"keep_context"},"link":null},{"localized_name":"format","name":"format","type":"COMBO","widget":{"name":"format"},"link":null}],"outputs":[{"localized_name":"result","name":"result","type":"STRING","links":[43]},{"localized_name":"thinking","name":"thinking","type":"STRING","links":null},{"localized_name":"context","name":"context","type":"OLLAMA_CONTEXT","links":null},{"localized_name":"meta","name":"meta","type":"OLLAMA_META","links":null}],"properties":{"cnr_id":"comfyui-ollama","ver":"6db7560576e5a59488708e6be13e07b5aba2432a","Node name for S&R":"OllamaGenerateV2"},"widgets_values":["","",false,false,"text"],"widgets_values_named":{"system":"","prompt":"","think":false,"keep_context":false,"format":"text"}},{"id":25,"type":"OllamaConnectivityV2","pos":[3020,6460],"size":[270,210],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"url","name":"url","type":"STRING","widget":{"name":"url"},"link":null},{"localized_name":"model","name":"model","type":"COMBO","widget":{"name":"model"},"link":90},{"localized_name":"keep_alive","name":"keep_alive","type":"INT","widget":{"name":"keep_alive"},"link":null},{"localized_name":"keep_alive_unit","name":"keep_alive_unit","type":"COMBO","widget":{"name":"keep_alive_unit"},"link":null}],"outputs":[{"localized_name":"connection","name":"connection","type":"OLLAMA_CONNECTIVITY","links":[38]}],"properties":{"cnr_id":"comfyui-ollama","ver":"6db7560576e5a59488708e6be13e07b5aba2432a","Node name for S&R":"OllamaConnectivityV2"},"widgets_values":["http://127.0.0.1:11434","orcarouter/Qwen3.8-27B-Uncensored:q3_K_M",5,"minutes",null],"widgets_values_named":{"url":"http://127.0.0.1:11434","model":"orcarouter/Qwen3.8-27B-Uncensored:q3_K_M","keep_alive":5,"keep_alive_unit":"minutes","🔄 Reconnect":null}}],"groups":[],"links":[{"id":38,"origin_id":25,"origin_slot":0,"target_id":46,"target_slot":0,"type":"OLLAMA_CONNECTIVITY"},{"id":39,"origin_id":45,"origin_slot":0,"target_id":46,"target_slot":1,"type":"OLLAMA_OPTIONS"},{"id":41,"origin_id":-10,"origin_slot":0,"target_id":46,"target_slot":5,"type":"STRING"},{"id":42,"origin_id":-10,"origin_slot":1,"target_id":46,"target_slot":6,"type":"STRING"},{"id":43,"origin_id":46,"origin_slot":0,"target_id":-20,"target_slot":0,"type":"STRING"},{"id":90,"origin_id":-10,"origin_slot":2,"target_id":25,"target_slot":1,"type":"COMBO"}],"extra":{}}]},"config":{},"extra":{"ds":{"scale":0.7485584744897962,"offset":[1565.7382049775242,-5058.828523791044]}},"version":0.4}