diff --git a/MANIFEST.sha256 b/MANIFEST.sha256 index d1166dc..e703d78 100644 --- a/MANIFEST.sha256 +++ b/MANIFEST.sha256 @@ -1,32 +1,33 @@ 0005be4e1e56a88d5b2168dc3fe203d5f87944922aa400d87e8c840805d2a4e1 AGENTS.md 008c7df6864af948d8e51ba1063b3a450ad6f463984e719f6dd147eb9f12a054 v3/assembly.py 041289556cc621ea1857cbb8931ae41d817f69e084b2e8a7622e184a3197b61b tests/test_compatibility.py +0644ccafb1fb6615086422a204a6d2d868a668e5fb81d82d394b43aa03d88150 v2/nodes.py 0a2f69d4cec89d440f5d5aa1ec68a7c9a741382d313f80dcddf96d13f70b3e68 .gitignore 0a520b34b12e1d2556d50480c43318de7eab4221afb96ef4760127c8bc90c890 tests/test_v2_seam.py 0b5b20a8318862d167f135720e0489b8d4f93406d67c6646e052e35b03dcb876 tests/test_v2_session.py 0dbe8a5f71c92f3523942343b40787104c8b96781461ba3ba82934a6bdbe5834 THIRD_PARTY_NOTICES.md +0de2660f997556c329ad948bac3cfa6f1bd58adfd2dcac9ee3632e934e64c83c README_JA.md 0e59ea821081cb93165aa3f88c6949736dd225837fe1cdcf1173aa5cd54c6d29 examples/v2_prompt_timeline_example.txt +0f507812a3ed4490c0539a4b7fd1e9cd33de3908e72c09f82824c57a04ad3cf8 reference.py 10fb950fba44f7dcbdc25d3e2b9b62bc63c217876c0eaaaf60bb0f707c47ee5d PACKAGE_INFO_JA.txt 11877692d4aadea79ff35d4d5035457c26ac2ace7443889ed3fd7ee51e99a103 continuation.py 12cfcc0c71ca087fe39a5ce2922959a62b2bb311bfe664f05c4480affce03708 v2/seeds.py 13213e7709fd02bb810af3c18e4cd7d010f8cdfb121a4b99866a9f2333331089 v2/session_io.py 1326183b1eb681381bb22704740a6cc8636c7c5606e1d6b0a38c5115c2e27275 nodes.py +14f1b338440d0531ded56ea0ed543cb6fcd615a32ee98d2e8b24f588f45d821c version.py 15b900d02624bea6cfe8ea25b22266a0c68b38b9f10c9089be0e38988bf2e34d .github/workflows/tests.yml 1ae0369943ba2fb13f21ad0cf56ee58621ba09bf20174379595e157a1775c7fd tests/test_public_api.py -1b8b0069bc9792bffe73c48bc8cb7c59d961bac2e624acac4759a21320998dfb v2/sequence.py 1fa97d86da61149116dec41e836dda8cab32e341fe79414bddde6c0be36cd1cf tests/test_v31_run_storage.py -20b8132fb231c5b8ce61da2c1fbad310c22f332d66926a706523009deed54f65 v2/h3_builder.py 20f4e7c4ad085791f8b578f575d03e52ef09d0d4550aa58ad086c9857b59bf29 examples/H3_Continuum_V2.json 23bddc5a41d2e997f4fbf789c7128e32f4f197f1405b2aef1c76794f57482446 install_windows.bat 2c13aefd137db92a3dbf5576e9442d58012b1f0de1240c07d039ceeb702e7c1f docs/V2_1_4_UI_SIMPLIFICATION.md -2fb3dfee32c829e216198001621c55d146b848251d7b22f8c99e70b1737426f4 web/project_id.js 2fd811794c4cc0f2ce050250b80484876454926b9f20fce6af3a97d728e5acdf v2/seam_guard.py 31012ec48a64c7467ad869c79982b7f8502c1785c33f51ee1b5727ce8b4243fb v2/diagnostics.py -3919f01977599591f534f797d90424520d12fa5dce84486d5700d5dd3daafb30 PACKAGE_VALIDATION.txt 3a359a0467725cc292ccb4c86cf0c3d30bb6a114d01f5345792b09ea3d45441d state.py 3d57276669e4ce95f8537c67c6437250b52dd843ee0817c2e262018ead200107 hardening.py 3df21245f5fd1e124755343f294453dfa945942cd73b0c49478dc26b7d5ccde2 tests/test_v32_reference.py 3eeed61b7ee519631825e5f89e9a441644c66e552fce4207927cb8536867c8b1 tests/conftest.py +3f92a20e291ef41c900ccd1a1bf7a7fd028cb459ca8b484daa81a3b430dbd805 v3/nodes.py 3fec541a675c1e4e5e287cc8e498036001f34f7a62460321e16f9ba27b5e4c18 docs/VALIDATION_RESULTS.md 4080f1875b958b316e8e76852c4be5527a6de5c71d604e7642d3098478eb4a36 v2/sampling.py 43ec4023dc06c941e5d7a04db4b8a89fb58d744ceb986f6eb9bf534d4fdcb87b temporal.py @@ -35,23 +36,23 @@ 467edb2c188d024c2392aafe7423b3f835e16b10f570da76e2f7dda8a962c1c5 requirements.txt 4966a5ad0d418e85cb2bbf22d322915dd1fc4bc6848effce0977cbd83482a35e model_patch.py 4b94f779a98bfc555f6999113a694da07746cc3cf400bfc70ebc580592034d52 examples/H3_Continuum_V2_reference.webp +4e410aed8d7f6ebf11c98d4f71571e46855e4619c2bcbec921df70f29189b6b1 examples/workflows/MiniMax_H3_Continuum_V32.json 52b69d4f7858f9adc1030a5d3102ab9b0384283bf9df05953c0e5552d1e3336c v2/prompts.py -535316a53a656916acc8ad5c6e69b4569227feaef6a351f50febf8111454ac4c README_JA.md +55bc60447d6cd783b9df049d04b6cebb6e4a633981434ac2b28e5a1527d4f4b4 examples/workflows/MiniMax_H3_Continuum_V32_turbo.json 58438c3ed814adf40cefde098a37cae00ddcb703b7e5548bbbb295e54bed5a6d tests/test_v2_widget_migration.py 58c06925ccf06c4feee19b927b3515c540c0536aa5f3f8d29be35b8e919915a7 tests/test_temporal.py 5a26408c770381cdb259cb710de7dab12d7ddecca262bdbf35ba1566056050f5 examples/recommended_settings_v2.json 5d89c366b4f076fa73a2695557e0af749bf95df1dad0d55dbb2fe5b1c2519ad7 reference_audio.py 5dfdd4b108ba7444c0f5f371c3b1e244b5735d23136127b9818fd60738c78b68 tests/test_v2_registration.py 6056de6c0a5322a8a51ba5a114538dca2ef67788cd1afba10fedd483b95f6afa state_io.py -659df97c35a6f473360d6312da6f275d4d4cb7e068fc83fd42c7d26301442016 pyproject.toml 66bd67c9ec7d8a7f32c7d1c1fc4ce1c19b42fda5d7cece67b171c3cffc49f0a8 v3/plan.py 6771c9905d35666121c4892d2ec26202505f96d244ce814ad9a87a02878952cd examples/H3_CONTINUUM_V1_WIRING.md -686fe4b4c228abbafc7cee37c8e8db198f5afdddfd9ba0a80184c87ab4ee0287 tests/test_v217_stable_facade.py 68e1a724d3b99458b86b8f643dcb916183e7e8dd12d7b4b3850991feb8077694 examples/recommended_settings_v1.json 6993e2f7eebe276f2a18824a193b5c615833e4aabf8ee83336035d1a2e089098 v3/seam_test_source.py 6abdbc29472c7f9d447085b189fc47b69e110b94ef83192f9689d04000408843 INSTALL_JA.txt 6b43294ebf00fde03acc3f2ac52f841f3c4323085c21643aa075a347cf4a432c layout_adapter.py 6c72d9a9e35648355c4dd4c8f060a6b7667e322f4b6c86690df9d6769ba182b7 docs/images/h3-continuum-advanced.png +6da6fdf885389cc690080de7d063508f46facde1365dc8760f1cf9fd9efd8232 metadata.ini 707884ea5ec950165044713ba70f54ce721470cab86821fead5259120ecbe66a conditioning.py 71e3df269e226b1ecad597f9831c2a10b2215c8a3783652e9e9f536e99ce46c9 constants.py 74e623120a963cb96b68651b44f47a836ea8449d30ce89d749c71ffad4766d4e tests/test_v2_seeds_motion.py @@ -60,18 +61,20 @@ 78bc478a5e4edda902c80849c911782a99e75c06dfb04127391b6cc5b27b28e1 tests/test_v3_hardening.py 78c830cdf49034c6e3b2cd3da5914d5cfc5638eb63ec6dbd1bab13c50d6d4caf v3/__init__.py 7a1138fa8619247787039ddeb2f3692ba1f680b4553a13e472fadfbea1c88d07 tests/test_conditioning_modes.py -7aa30ffdb1ed818c0ffcc0caa05bd9320466c6c39a5f3008f70f30d180084981 CHANGELOG.md 7dbbc8ce1018d6ac07c53eaa40f2d8d144babf9c6fe6bd94b7ec1d08adffa215 compatibility.py -83a650322dcf02e0b2d83888ec858d9c6ad558096559c7b76982d81157b11f06 run_storage.py +87b054be8754ebfcd85e106a7b221604611d3bf05de03380565ee3562d1c823b v2/h3_builder.py +880bfd9372dae880bb65dbba810b0d56bc3226eb73a2598133c7615a767a91b0 PACKAGE_VALIDATION.txt 892f319f0688a6f4fcac2e3a809601e63febd08065a34ff1a9f5f7521cef5dae v3/video_seam.py 912661d91c7f11f5fcaf0bd14d7d3ecf5c74c33b1507272f0ae72af6e5bffa6f tests/test_v2_decoder.py 93f07aa727b34802bce3d333426b8ba2af522500882a6d222d00cf577ca82e49 docs/SEAM_TEST_SOURCE_JA.md 94fdc2d545b2d4077a4d70229fd22ba3ccac21d49d1097d2873f76d04e9a3c7a pytest.ini +9555259b8ac8973279d210bedb52bd6cf6cac9fa2deb267293e4c244c751c01c CHANGELOG.md 98a33c75b33ff0c10a68e04bd856e4e43b3e70b6ae1ea458a2b21b4e4d74f46d tests/test_state.py +9a634b4ff6c9ca98285f6b250402a3d0e67d29f031e134d9bfcab54c119ed337 docs/images/comfyui-manager-h3-continuum.png a032738b0bc5acb136e92d8bf7694643a5f518b9c7fc0fc878d66d81ba8b1b04 docs/V2_1_6_UNIFIED_UI.md a384e26f3b088607c616be1a2b038365147d92da0961d8f47060fed09f795062 docs/images/h3-continuum-sampler.png +a9a9f694474427783ddfc89c1a7b6bedb6d6d3b997bcb29b3056a1d62b52e879 pyproject.toml aea01a48a8c03a25ed97ea05e5b137f89e388832d1be7d38f2da2be3d1b9830b v2/motion.py -aeffa4fe7b598a31741dbe2a57c9bc5ce3904cced5ad8084cad2ca12947f74e1 v3/nodes.py af38813b6b4c7f091269c56f0ccace7c1f47f7794059bfe3e703058e58c60eaf tests/test_timeline_video.py b08022df068576c759c8bf80ac6b6519693f3c65c917f1822aeb06ea359aa5b1 docs/V2_1_5_UI_SERIALIZATION_STABILITY.md b42bcc0983147462d96c6b71cc4a38e846995dafa6eebefc3ae0d9bb36caf359 tests/test_v2_sequence_orchestration.py @@ -79,31 +82,31 @@ b470819f16fc179654dc1600721a63f0a5a14e777f4c004d574b499da6886ba5 public_api.py b708599c0f6ffba4556e77536558a415104b0d4c1d043f335197bfb6960f07df v2/session.py b8275c8cecde12aee0418cea456d1e7f4b875cbb1bce32f1f3d9e06a44dd0be1 examples/v2_prompt_list_example.txt b9f1dca35706a1cd963ba892d218568ea30173c6cf6a3bdc896f7a2266eb9407 docs/images/h3-continuum-detailed-report.png +bd02284f00fe1eff495a15cb7143d1753e4fb3c7c79d84589c2189113a285ec3 web/project_id.js bdb5e2f0557b6ea27819356e671b9be08ea6e7cedc6d5dad05f82c032ea0fb79 tests/test_v3_seam_test_source.py +bdfd13dbd6c288eb17d6a4dbeaca423cfe97df72e64747f52352460112c1191c v2/sequence.py be0d8585fa57e0ccd6d02577bbc7299629e5bfe20e186747f571fccc98b67d7e v2/seam_types.py be419d6c773784823af7b58a3423ef2e21d3cc3e23c40e60e274560895ca034b examples/H3_Continuum_V2_README.txt c3cefcdf50df9d6609f583a008453b587c011a0fb41e290d5f1196ce62f58877 examples/H3_CONTINUUM_V2_WIRING_JA.md c44abbd789091bbead01250dbd5453e60539d2665c69f162335fdbd2936019c2 LICENSE c93a3e52e4deabe5ef0db7f34a7605856a543089574ba17227e697e9a2c0139a docs/ARCHITECTURE.md +cbc5737386c23fa89ca504b8ba51feaf70080c50b74dddf2f1793f3ceb414206 README.md cde27db19b677e318cc4dfb4235be7a11429c19945f4083052a91fe117e74c82 v2/decoder.py +cebf96c596c0f8b120608fef04a9ae9a4ea32efb2980508d553991a568741cbb tests/test_v217_stable_facade.py d3e213005670e94dee33a240349a4d245cf9a3b6602099f11ed30cf5a32e2c21 media.py d4c53d2c260b635d70fa211029d608f63776e0a56c20253475fa47c58363f8a7 tests/test_state_io.py d74073e7ee292ebeba913af4288284f9f197cd91fceed6c62bf6c66b784c7cec install_windows.ps1 dca65fb1393e67f59c6f81f9411e3e745eb8f1097e9a2adf7ffc6f4e3901ca9f __init__.py ddd2df829bc72deeef5029db2ecd46ff8843556100646312e1fce42025af29f9 tests/test_v3_video_seam.py de5f8fbce6bc423817acf7dc86bb0c8805a1fd962afdb2722cde7395f117eb56 docs/images/h3-continuum-image-scale.png -dfc20369ab87b7e2a598078f4adc0d3f95c0f3cecfadd817b100c62ae8ebe781 version.py e480c599daf0ede07bba8b90efbae627461c1797a5ebacf228630fd74ebc48d4 tests/test_model_patch.py e5f758180df3eaeff58fc1826fab4e889835d30015cf9879c5e6a20271b6649b tools/verify_runtime.py -e6bf5d90513982f093d7c41540fcad55926b17834fa12d39f9bec7d21d2b6044 README.md e6fecb17e373333b315f0ce89e8dda3bda9dfdd34dac2656ae8785d26256c422 tests/test_layout_adapter.py -e7905ea8ce7b3bcfc699c232c35a23131ad4b983fbe2d9e233b562ba032e5ac1 reference.py e9d20ba270238aec135b09887c12c4cd10eb529a4db384918440838bbbf0e0d9 graph_contract.py -ebef201b63a417ad6706a4f4e36f4a911ef6975452554f6404be99c6a5132497 metadata.ini +ee9c4cc923f98c649b283c180cea779e79eb1a5dd58f64539e981bd5709f1552 run_storage.py f0806bb2b999794ddda072e98424dbd1b613df1cd8a096b12d979f124e066d8a docs/VALIDATION_JA.md f218e1a93c42467c6057c5c1d04d57cc82f6331b97ec9257e4e2dfb9c831876a timeline_video.py f67febfdd7b2bfca2ad4e477c87a9a74dbe636231f9db3e1158b944d7b9f8397 examples/H3_Continuum_V2.zip f85ba3c69a473f0ac4bb96895c6d6532e8270121da65f858e364b19d31f05ef5 examples/H3_Continuum_V2_3x5s.json f9375629fa1a2c4d3538442f0c3192d7ba2f46fe9544fb2e21f0c144b53d608c docs/AB_TEST_LOG_JA.md -ff959da37f08f0d433a7584478f5146aa10043da5bd52a40c9af5da9731aeb2e v2/nodes.py ffd61f3f31c9b6430e1169007ee906c8f5000eba63ee44e2976ad4f5f1112671 v2/__init__.py diff --git a/README.md b/README.md index e3e4aff..00ba119 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ -# ComfyUI-H3-Continuum 3.3.0 +# ComfyUI-H3-Continuum 3.2.4 +workflow (8) + + Native long-form MiniMax H3 video and audio continuation for ComfyUI. @@ -10,6 +13,15 @@ https://github.com/user-attachments/assets/bfa8c683-fc9d-48f1-9cdb-477ca110cdf2 V3 delegates video and audio decoding to normal **ComfyUI Core VAE Decode nodes**. No model weights or third-party accelerator code are bundled. +## Sample workflows + +- [Standard workflow](examples/workflows/MiniMax_H3_Continuum_V32.json) - quality-oriented `res_multistep` profile with Spectrum enabled. +- [Turbo workflow](examples/workflows/MiniMax_H3_Continuum_V32_turbo.json) - 8-step `euler` profile with Spectrum bypassed. + +Download a JSON file and drag it onto the ComfyUI canvas. The examples use optional external custom nodes and local image/audio inputs; replace or bypass unavailable assets for your environment. + +Turbo weights are available from [LightX2V MiniMax H3 Turbo](https://huggingface.co/lightx2v/Minimax-h3-Turbo/tree/main). + ## Key features - Raw paired video/audio latent continuation without decode/re-encode between chunks. @@ -28,6 +40,16 @@ V3 delegates video and audio decoding to normal **ComfyUI Core VAE Decode nodes* ## Installation +### ComfyUI Manager + +Open **ComfyUI Manager**, search for **H3 Continuum** or **Continuum**, and select **Install**. + +![H3 Continuum in ComfyUI Manager](docs/images/comfyui-manager-h3-continuum.png) + +Restart ComfyUI after installation, then search for **H3 Continuum Sampler V3.2** in the node menu. + +### Manual installation + From `ComfyUI/custom_nodes/`: ```bash @@ -125,6 +147,51 @@ Recommended safe defaults: | Run Storage | Off for short tests; Save + Auto Resume for long runs | | SageAttention | Auto when backend compatibility is unknown | +## H3 Continuum Sampler UI + +The production node keeps normal generation controls visible and marks infrequent controls as native ComfyUI **Advanced** widgets. Most users only need the main controls. + +### Main inputs and controls + +| Group | Input or control | Purpose | +| --- | --- | --- | +| H3 pipeline | `model`, `clip`, `video_vae`, `sampler`, `sigmas` | Connect the normal MiniMax H3 MODEL, text encoder, Video VAE, sampler, and sigma schedule. | +| Prompt | `Sequence Prompt` | Fixed, List, or Timeline text for the complete Continuum run. | +| Keyframes | `first_frame`, `last_frame` | Optional I2VA, last-frame-conditioned, or FL2VA keyframes. | +| Reference images | `reference_image_1`, `reference_image_2`, `reference_image_3` | Up to three ordered Picture references. Bypassed inputs are ignored. | +| Reference audio | `reference_audio_1`, `reference_audio_vae` | Optional native H3 Reference Audio. Connect the Audio VAE only when Reference Audio is used. | +| Duration | `chunks`, `chunk_seconds` | Number of linked chunks and duration of each chunk. Start with `3 x 5.0` seconds. | +| Canvas | `width`, `height` | Output dimensions. Use values compatible with the current H3 Core path, normally multiples of 32. | +| Continuity | `continuity` | Number of previous raw frames carried into the next chunk. `Balanced - 22 frames` is the practical default. | +| Seed | `base_seed` | Base seed used to derive deterministic per-chunk seeds. | + +Reference images and First/Last Frame are mutually exclusive. Reference Audio can be combined with either keyframe conditioning or Reference Image conditioning. + +### Advanced controls + +| Control | Default | Use | +| --- | --- | --- | +| Prompt Format | Auto | Detect Fixed, List, or Timeline prompts. | +| Audio Continuity | On | Carry raw audio context between chunks. | +| Report Detail | Basic | Select the amount of status and diagnostic text. | +| Regenerate From | Auto | Resume normally, or regenerate from a selected saved chunk. | +| `reroll_nonce` | 0 | Automatic Revision behavior. Positive values provide explicit legacy branch selection. | +| Strict Compatibility | On | Stop only on H3 contracts that are actually unsafe or unsupported. | +| Debug | Off | Enable additional troubleshooting output. | +| Show Preview | On | Show normal progress and preview information. | +| Run Storage | Off | Use `Save + Auto Resume` for long or interruptible runs. | +| Run Name | blank | Optional manual storage-name override. Automatic identification is used when blank. | +| Reference Size | Match Output | Choose practical output-area matching or larger identity preservation. | + +### Outputs + +| Output | Connect to | +| --- | --- | +| `video_latents` | One normal ComfyUI Core Video VAE Decode node. | +| `audio_latents` | One normal ComfyUI Core Audio VAE Decode node. | +| `assembly_plan` | **H3 Continuum Assemble V3**. | +| `status` | Core **Preview as Text** when a readable run report is needed. | + ## Sequence Prompt ### Fixed @@ -233,6 +300,18 @@ Spectrum H3: accepted H3 Continuum API v1, actual prefix=2 Actual Prefix 2 is active only when the Spectrum log reports that the Continuum API request was accepted. Older or incompatible Spectrum versions continue without that receiver behavior. +### Benefits after the Spectrum upstream merge + +Once the Continuum receiver is included in an official Spectrum release, users no longer need a Continuum-specific Spectrum fork or local patch. Installing or updating Spectrum through its normal distribution path will preserve the integration. + +- **Automatic handshake:** Continuum emits the request only for continuation chunks, and Spectrum applies Actual Prefix 2 when it recognizes Interop API v1. +- **Safer chunk transitions:** the first two Transformer evaluations after a new raw AV Context are evaluated normally before Spectrum forecasting resumes. This is intended to reduce forecast instability immediately after a chunk boundary; it does not guarantee that every visible seam or flicker will disappear. +- **No additional solver steps:** Actual Prefix 2 changes which existing evaluations are calculated as Actual steps; it does not increase the configured step count. +- **Update-friendly operation:** the receiver becomes part of upstream Spectrum, so a normal Spectrum update does not overwrite a separate local interoperability patch. +- **Optional composition:** Continuum still works without Spectrum. MODEL selection, Turbo/LoRA, SageAttention, and Spectrum remain external workflow choices, and Continuum does not install or switch them automatically. + +After updating Spectrum, confirm that Chunk 2 and later print the acceptance log shown above. Its presence is the runtime proof that the upstream receiver is active. + ### Standard and Turbo profiles ```text @@ -251,6 +330,8 @@ Experimental Turbo + Spectrum is not the recommended default because local testing showed a higher risk of artifacts. Sol-Attn is also not part of the current recommended continuity profile. +Turbo LoRA files are available from [LightX2V MiniMax H3 Turbo](https://huggingface.co/lightx2v/Minimax-h3-Turbo/tree/main). The ComfyUI-specific FL2VA and Ref2VA variants can be selected in the upstream MODEL/LoRA chain; Continuum does not bundle or switch them automatically. + ## Timeline Video `H3 Continuum Timeline Video` adds an optional `VIDEO` source to the existing continuation pipeline. The source is sliced per 5-second chunk, resized independently from the output, encoded only for chunks that must be generated, and released after use. @@ -284,6 +365,35 @@ Full raw chunks are decoded before Continuum trims repeated context. Trimming la V3.3.0 passed the automated suite and Windows runtime checks for the production sampler, Reference Image/Audio, Run Storage, Timeline Video, Spectrum Actual Prefix 2, Audio Seam Auto, and guarded Video Seam Auto. `Auto 2` is included as an experimental fallback when `Auto` does not sufficiently reduce a boundary exposure ramp. Detailed test conditions, results, and remaining limits are recorded in [docs/VALIDATION_RESULTS.md](docs/VALIDATION_RESULTS.md). +## Diagnostics + +`status` is a normal STRING output. Connect it to Core **Preview as Text** when you need the sampling and Run Storage report. + +Useful lines include: + +```text +Conditioning mode: Reference + Continuation. +interop=emitted actual_prefix=2 +3 reused, 0 generated +resume=complete +``` + +`accelerator markers not detected (informational only)` is not an error. It only means the optional accelerator marker was not observable. + +Use `Report Detail = Basic` normally. Enable detailed diagnostics and `debug` only when troubleshooting. + +## Compatibility and scope + +- Native MiniMax H3 PackedLayout is preserved. +- Video and audio VAEs are not run between sampling chunks. +- Accepted raw chunk latents are retained on CPU. +- MODEL input is cloned once per chunk; the workflow MODEL is not mutated. +- SageAttention, LoRA/Turbo, Spectrum, and model weights remain external. +- Unknown H3 layout contracts fail clearly. +- Legacy V1/V2/V3 node identifiers remain registered for older workflows but are not the recommended starting point. + +Continuum is independently implemented. It does not copy or bundle source code from Spectrum or [H3 Motion Context](https://github.com/NikoDemon80/ComfyUI-H3-Motion-Context). + ## Development checks ```bash diff --git a/README_JA.md b/README_JA.md index 9269431..76f2cef 100644 --- a/README_JA.md +++ b/README_JA.md @@ -1,246 +1,88 @@ -# ComfyUI-H3-Continuum 3.3.0 +# ComfyUI-H3-Continuum 3.2.4 **V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 MiniMax H3を複数チャンクで連続生成し、直前チャンク末尾の**映像latent / 音声latentを直接**次チャンクへ継承するComfyUIカスタムノードです。チャンク間でVideo/Audio VAEのDecode→Encodeは行いません。 -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 +## V3.3.0 Stable +V3.3.0は、V3.2.4のReference Audio、最大3枚のReference Image、Run Storage、Spectrum Interopを維持し、Chunk単位のTimeline VideoとDecode後のAudio / Video Seam補正を追加します。Video SeamはAutoを標準とし、Auto 2は露出ランプ向けの実験的な追加モードです。 -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 -## V3.2.4 Stable - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 -V3.2.4は、T2VA / I2VA / FL2VA / Reference + Continuationに対応し、最大3枚のReference ImageとReference Audio 1をCore互換の順序で扱います。First/Last FrameとReference Audioを併用する場合も、Tokenizer側のPicture/Audio表示とDiT側のKeyframe/Audio conditioningを分離して処理します。Run Storage、Spectrum Interop、外部Core VAE Decodeは従来どおりです。 - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 Reference入力のバイパスされたソケットは無視され、有効な画像だけがPicture 1から連続採番されます。プロンプト内の利用できないPicture/Audioタグは警告として扱い、生成は継続します。 -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 +## Timeline Video / Seam +Timeline Videoは入力動画を5秒Chunkごとに切り出し、既定の0.4 MPで処理します。Match Outputは高負荷です。H3 Continuum Assemble + SeamはAudio Seam Auto、Video Seam Auto、Basic Reportを既定とし、フレーム削除を行わずに境界の一時的な露出・色変化を補正します。Auto 2は実験的です。 -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 ## Legacy V2.1.7 Stable Facade UI -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 V2.1.7では、V2.1.6の動的表示制御を廃止し、標準ComfyUI描画だけを使用する静的Facadeへ移行しました。生成処理は互換用`H3ContinuumSamplerV2`を再利用し、State、Session、Prompt Plan、Spectrum Interop、保存Schemaは変更していません。 -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 通常表示は次を中心にします。 -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 ```text - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 model / clip / video_vae / audio_vae / sampler / sigmas - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 Sequence Prompt - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 first_frame - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 prompt_overrides(任意pack) - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 advanced(任意pack) -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 Prompt Format - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 chunks - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 chunk_seconds - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 width / height - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 continuity - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 base_seed - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 control after generate - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 +Seam Correction Seam Correction -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 -Seam Correction - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 outputs: images / audio / result - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 ``` -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 ### 補助ノード -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - `H3 Continuum Clip Overrides`: Clip別Promptを1本のpackへまとめます。 - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - `H3 Continuum Advanced`: resume/session入力と低頻度設定をまとめます。 - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - `H3 Continuum Result`: resultから`last_state / session / report`を展開します。 - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - 補助ノードを使わない通常生成では、Sampler本体だけで動作します。 -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 ### Legacy互換 -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 旧`H3ContinuumSamplerV2`は削除せずLegacy/Coreノードとして登録を維持します。既存WorkflowのノードID、入力順、出力順は変更していません。 -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 ## Continuity -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - `Auto — conservative` - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - `Balanced — 22 frames`(標準) - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - `Fast — 5 frames` - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - `Strong — 39 frames (Experimental)` -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 5/22/39フレームはH3の時間latent周期`1,4,4,4,4`に対して、それぞれ2/7/12 temporal latent stepsです。 -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 ## Spectrum -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 Continuumは有効な前チャンクContextがある場合だけ`h3_continuum` Interop API v1をMODEL optionsへ付与し、対応Spectrumへ`min_actual_prefix_steps=2`を要求します。初回チャンクにはInterop keyを付与しません。未知・未対応Spectrumでは通常Spectrumとしてfail-openします。 -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 ## 推奨配線 -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 ```text - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 UNET -> SageAttention -> Sol-Attn -> LoRA -> Spectrum -> H3 Continuum Sampler - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 ``` -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 まず`chunks=2 / chunk_seconds=5 / Balanced 22f / Seam Correction=Off`でNative Continuityを確認し、その後`Seam Correction=Auto`を比較してください。 -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 ## インストール -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 ZIPを展開して、`ComfyUI-H3-Continuum`フォルダーを`ComfyUI/custom_nodes/`へ置き、ComfyUIを再起動します。 -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 旧`ComfyUI-H3-Continuum-Join`が残っている場合は同時ロードを避けるため削除または退避してください。同梱`install_windows.bat`は旧名・新名の既存フォルダーを日時付きでバックアップします。 -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 ## 検査 -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 ```text - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 python -m compileall -q . - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 pytest -q - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 ``` -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 - - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 -GPL-3.0-or-later。 - -**V3.3.0 Stable:** Timeline Video、Audio Seam Auto、Video Seam Auto、Reference Audio、Run Storageを含む安定版です。 +MIT License。 diff --git a/docs/images/comfyui-manager-h3-continuum.png b/docs/images/comfyui-manager-h3-continuum.png new file mode 100644 index 0000000..9e3351d Binary files /dev/null and b/docs/images/comfyui-manager-h3-continuum.png differ diff --git a/examples/workflows/MiniMax_H3_Continuum_V32.json b/examples/workflows/MiniMax_H3_Continuum_V32.json new file mode 100644 index 0000000..ee51e02 --- /dev/null +++ b/examples/workflows/MiniMax_H3_Continuum_V32.json @@ -0,0 +1,2010 @@ +{ + "id": "fc4dd14d-29d4-40d0-be52-15c36e42c446", + "revision": 0, + "last_node_id": 268, + "last_link_id": 156, + "nodes": [ + { + "id": 142, + "type": "CLIPLoader", + "pos": [ + -390, + 980 + ], + "size": [ + 530, + 110 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 129 + ] + } + ], + "title": "MiniMax H3 Text Encoder", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "CLIPLoader", + "models": [ + { + "name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors", + "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors", + "directory": "text_encoders" + } + ] + }, + "widgets_values": [ + "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors", + "minimax", + "default" + ] + }, + { + "id": 135, + "type": "VAELoader", + "pos": [ + -390, + 1140 + ], + "size": [ + 530, + 60 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 103, + 130 + ] + } + ], + "title": "Video VAE", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "VAELoader", + "models": [ + { + "name": "minimax_h3_video_vae_fp16.safetensors", + "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_fp16.safetensors", + "directory": "vae" + } + ] + }, + "widgets_values": [ + "minimax_h3_video_vae_fp16.safetensors" + ] + }, + { + "id": 150, + "type": "SpectrumApplyMiniMaxH3", + "pos": [ + 200, + 980 + ], + "size": [ + 340, + 640 + ], + "flags": {}, + "order": 23, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 9 + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": [ + 15, + 128 + ] + } + ], + "title": "Spectrum", + "properties": { + "cnr_id": "comfyui-spectrum-minimax-h3", + "ver": "9395bf98fc60a04c5f588de7b2bb33516a0b622f", + "Node name for S&R": "SpectrumApplyMiniMaxH3" + }, + "widgets_values": [ + true, + 0.5, + 1, + 0.1, + 2, + 0.75, + 1, + 1, + 8, + false, + "system_ram", + true, + false, + false, + true, + 0, + "system_ram", + "off", + 0.65, + false, + false, + "coordinate_rls", + "hard_clip", + 0.4, + "no_attenuation" + ] + }, + { + "id": 154, + "type": "Power Lora Loader (rgthree)", + "pos": [ + -390, + 1420 + ], + "size": [ + 530, + 190 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "dir": 3, + "name": "model", + "type": "MODEL", + "link": 123 + }, + { + "dir": 3, + "name": "clip", + "type": "CLIP", + "link": null + } + ], + "outputs": [ + { + "dir": 4, + "name": "MODEL", + "shape": 3, + "type": "MODEL", + "links": [ + 9 + ] + }, + { + "dir": 4, + "name": "CLIP", + "shape": 3, + "type": "CLIP", + "links": [] + } + ], + "title": "LoRA (optional)", + "properties": { + "cnr_id": "rgthree-comfy", + "ver": "1.0.2607232129", + "Show Strengths": "Single Strength", + "Match": "" + }, + "widgets_values": [ + {}, + { + "type": "PowerLoraLoaderHeaderWidget" + }, + {}, + "" + ] + }, + { + "id": 240, + "type": "MiniMaxH3MemoryEfficientSageAttentionPatch", + "pos": [ + 190, + 860 + ], + "size": [ + 330, + 30 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 124 + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": [ + 123 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "1.5.0", + "Node name for S&R": "MiniMaxH3MemoryEfficientSageAttentionPatch" + }, + "widgets_values": [] + }, + { + "id": 114, + "type": "LoadImage", + "pos": [ + -2240, + 800 + ], + "size": [ + 740, + 840 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "exec-9461406b-7ce6-492c-b271-e18958f68a90.png", + "image" + ] + }, + { + "id": 139, + "type": "KSamplerSelect", + "pos": [ + 210, + 1730 + ], + "size": [ + 310, + 60 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "SAMPLER", + "type": "SAMPLER", + "links": [ + 131 + ] + } + ], + "title": "Sampler", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "KSamplerSelect" + }, + "widgets_values": [ + "res_multistep" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 120, + "type": "GetImageSize", + "pos": [ + -1890, + 1700 + ], + "size": [ + 220, + 140 + ], + "flags": { + "collapsed": true + }, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 2 + } + ], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": [ + 143 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 144 + ] + }, + { + "name": "batch_size", + "type": "INT", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "GetImageSize" + }, + "widgets_values": [] + }, + { + "id": 258, + "type": "LoadImage", + "pos": [ + -2240, + 1950 + ], + "size": [ + 540, + 520 + ], + "flags": {}, + "order": 4, + "mode": 4, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 150 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": [] + } + ], + "title": "Reference 1", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "exec-1953128e-6ac9-4b71-846d-c4b210d44539.png", + "image" + ] + }, + { + "id": 261, + "type": "MarkdownNote", + "pos": [ + -2720, + 1340 + ], + "size": [ + 440, + 420 + ], + "flags": { + "collapsed": false + }, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note: MiniMax H3", + "properties": {}, + "widgets_values": [ + "## MiniMax H3\n\n[MiniMax H3](https://www.minimax.io/blog/minimax-h3) is MiniMax's general-purpose, omni-modal generation model. It jointly understands text, image, video, and audio, and generates video with **native stereo audio**: voice, sound effects, and music are modeled jointly in a single forward pass, not layered on afterward. Output is up to 2K resolution, 24fps, and up to about 15 seconds.\n\n## About this workflow\n\nThis template runs the **Image to Video** task (`MiniMaxH3ImageToVideo` node), which covers both:\n\n- **t2va** (text-to-video), when no images are connected\n- **fl2va** (first/last-frame image-to-video), when `first_frame` and/or `last_frame` are connected\n\n**Key inputs**\n\n- **first_frame / last_frame**: optional keyframes; the model generates the motion between them\n- **prompt**: describe the shots, motion, and the accompanying audio (dialogue, SFX, music) in one block\n- **width / height**: set via Resolution Selector. H3's native canvas is a 768px short edge, capped at 768x1344 pixels, rounded to a multiple of 32\n- **duration (seconds)**: converted to a valid frame `length` by the Math Expression node, snapping up to the model's 17-frame-per-block (17k+5) grid at 24fps" + ], + "color": "#222", + "bgcolor": "#000" + }, + { + "id": 254, + "type": "Any Switch (rgthree)", + "pos": [ + -90, + 1760 + ], + "size": [ + 270, + 110 + ], + "flags": { + "collapsed": true + }, + "order": 22, + "mode": 0, + "inputs": [ + { + "dir": 3, + "name": "any_01", + "type": "INT", + "link": 144 + }, + { + "dir": 3, + "name": "any_02", + "type": "INT", + "link": 146 + }, + { + "dir": 3, + "name": "any_03", + "type": "INT", + "link": null + }, + { + "dir": 3, + "name": "any_04", + "type": "INT", + "link": null + }, + { + "name": "any_05", + "type": "INT", + "link": null + } + ], + "outputs": [ + { + "dir": 4, + "label": "INT", + "name": "*", + "shape": 3, + "type": "INT", + "links": [ + 148 + ] + } + ], + "properties": { + "cnr_id": "rgthree-comfy", + "ver": "1.0.2607232129" + }, + "widgets_values": [] + }, + { + "id": 255, + "type": "Any Switch (rgthree)", + "pos": [ + -320, + 1760 + ], + "size": [ + 270, + 110 + ], + "flags": { + "collapsed": true + }, + "order": 21, + "mode": 0, + "inputs": [ + { + "dir": 3, + "name": "any_01", + "type": "INT", + "link": 143 + }, + { + "dir": 3, + "name": "any_02", + "type": "INT", + "link": 145 + }, + { + "dir": 3, + "name": "any_03", + "type": "INT", + "link": null + }, + { + "dir": 3, + "name": "any_04", + "type": "INT", + "link": null + }, + { + "dir": 3, + "name": "any_05", + "type": "INT", + "link": null + } + ], + "outputs": [ + { + "dir": 4, + "label": "INT", + "name": "*", + "shape": 3, + "type": "INT", + "links": [ + 147 + ] + } + ], + "properties": { + "cnr_id": "rgthree-comfy", + "ver": "1.0.2607232129" + }, + "widgets_values": [] + }, + { + "id": 224, + "type": "H3ContinuumAssembleV3", + "pos": [ + 940, + 1230 + ], + "size": [ + 290, + 150 + ], + "flags": {}, + "order": 29, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 105 + }, + { + "name": "audio", + "type": "AUDIO", + "link": 104 + }, + { + "name": "assembly_plan", + "type": "H3_CONTINUUM_ASSEMBLY_PLAN", + "link": 127 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 151 + ] + }, + { + "name": "audio", + "type": "AUDIO", + "links": [ + 107 + ] + }, + { + "name": "report", + "type": "STRING", + "links": [ + 141 + ] + } + ], + "properties": { + "Node name for S&R": "H3ContinuumAssembleV3" + }, + "widgets_values": [ + true, + "Off", + "Basic" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 183, + "type": "easy cleanGpuUsed", + "pos": [ + 1400, + 720 + ], + "size": [ + 200, + 30 + ], + "flags": { + "collapsed": true + }, + "order": 33, + "mode": 0, + "inputs": [ + { + "name": "anything", + "type": "*", + "link": 108 + } + ], + "outputs": [ + { + "name": "output", + "type": "*", + "links": [ + 31 + ] + } + ], + "properties": { + "cnr_id": "comfyui-easy-use", + "ver": "1.3.6", + "Node name for S&R": "easy cleanGpuUsed" + }, + "widgets_values": [] + }, + { + "id": 228, + "type": "CreateVideo", + "pos": [ + 940, + 850 + ], + "size": [ + 290, + 110 + ], + "flags": { + "collapsed": false + }, + "order": 32, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 152 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": 107 + } + ], + "outputs": [ + { + "name": "VIDEO", + "type": "VIDEO", + "links": [ + 108 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.31.0", + "Node name for S&R": "CreateVideo" + }, + "widgets_values": [ + 24, + 8 + ] + }, + { + "id": 227, + "type": "VAEDecodeAudio", + "pos": [ + 1000, + 1620 + ], + "size": [ + 170, + 50 + ], + "flags": { + "collapsed": false + }, + "order": 27, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 126 + }, + { + "name": "vae", + "type": "VAE", + "link": 102 + } + ], + "outputs": [ + { + "name": "AUDIO", + "type": "AUDIO", + "links": [ + 104 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "VAEDecodeAudio" + }, + "widgets_values": [] + }, + { + "id": 226, + "type": "VAEDecode", + "pos": [ + 1010, + 1470 + ], + "size": [ + 170, + 50 + ], + "flags": { + "collapsed": false + }, + "order": 26, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 125 + }, + { + "name": "vae", + "type": "VAE", + "link": 103 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 105 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "VAEDecode" + }, + "widgets_values": [] + }, + { + "id": 264, + "type": "MarkdownNote", + "pos": [ + -2720, + 770 + ], + "size": [ + 440, + 510 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note: Model Links", + "properties": {}, + "widgets_values": [ + "## Model Links\n\n**vae**\n\n- [minimax_h3_video_vae_fp16.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_fp16.safetensors)\n- [minimax_h3_audio_vae_fp32.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors)\n\n**diffusion_models**\n\n- [minimax_h3_fl2va_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors)\n\n- [minimax_h3_ref2va_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors)\n\n**text_encoders**\n\n- [qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 vae/\n│ │ ├── minimax_h3_video_vae_fp16.safetensors\n│ │ └── minimax_h3_audio_vae_fp32.safetensors\n│ ├── 📂 diffusion_models/\n│ │ └── minimax_h3_fl2va_pruned_int8_convrot.safetensors\n│ └── 📂 text_encoders/\n│ └── qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n" + ], + "color": "#222", + "bgcolor": "#000" + }, + { + "id": 263, + "type": "RTXVideoSuperResolution", + "pos": [ + 950, + 1040 + ], + "size": [ + 290, + 110 + ], + "flags": {}, + "order": 30, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 151 + } + ], + "outputs": [ + { + "name": "upscaled_images", + "type": "IMAGE", + "links": [ + 152 + ] + } + ], + "properties": { + "cnr_id": "comfyui_nvidia_rtx_nodes", + "ver": "0.1.3", + "Node name for S&R": "RTXVideoSuperResolution" + }, + "widgets_values": [ + "scale by multiplier", + 1.5, + "ULTRA" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 119, + "type": "ImageScaleToTotalPixels", + "pos": [ + -2220, + 1700 + ], + "size": [ + 280, + 110 + ], + "flags": {}, + "order": 16, + "mode": 0, + "showAdvanced": true, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 2, + 21 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "ImageScaleToTotalPixels" + }, + "widgets_values": [ + "area", + 0.6, + 32 + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 153, + "type": "BasicScheduler", + "pos": [ + 210, + 1570 + ], + "size": [ + 320, + 110 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 15 + } + ], + "outputs": [ + { + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 132 + ] + } + ], + "title": "Scheduler", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "BasicScheduler" + }, + "widgets_values": [ + "simple", + 25, + 1 + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 257, + "type": "LoadImage", + "pos": [ + -1660, + 1950 + ], + "size": [ + 540, + 520 + ], + "flags": {}, + "order": 7, + "mode": 4, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 149 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": [] + } + ], + "title": "Reference 2", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "exec-3b159fb4-8638-4e7d-90c3-4cdda6352735.png", + "image" + ] + }, + { + "id": 265, + "type": "LoadImage", + "pos": [ + -1100, + 1960 + ], + "size": [ + 540, + 520 + ], + "flags": {}, + "order": 8, + "mode": 4, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 153 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": [] + } + ], + "title": "Reference 2", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "exec-c5c27703-c2c2-4112-87d3-9f693d9edc3d.png", + "image" + ] + }, + { + "id": 136, + "type": "VAELoader", + "pos": [ + -390, + 1270 + ], + "size": [ + 530, + 60 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 102, + 155 + ] + } + ], + "title": "Audio VAE", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "VAELoader", + "models": [ + { + "name": "minimax_h3_audio_vae_fp32.safetensors", + "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors", + "directory": "vae" + } + ] + }, + "widgets_values": [ + "minimax_h3_audio_vae_fp32.safetensors" + ] + }, + { + "id": 191, + "type": "SaveVideo", + "pos": [ + 1390, + 760 + ], + "size": [ + 940, + 110 + ], + "flags": { + "collapsed": false + }, + "order": 34, + "mode": 0, + "inputs": [ + { + "name": "video", + "type": "VIDEO", + "link": 31 + } + ], + "outputs": [ + { + "name": "video", + "type": "VIDEO", + "links": [] + } + ], + "title": "Save 3x5s Video", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "SaveVideo" + }, + "widgets_values": [ + "video/MiniMax_H3_Continuum_V31", + "auto", + "auto" + ] + }, + { + "id": 249, + "type": "PreviewAny", + "pos": [ + 720, + 1920 + ], + "size": [ + 620, + 430 + ], + "flags": { + "collapsed": true + }, + "order": 28, + "mode": 0, + "inputs": [ + { + "name": "source", + "type": "*", + "link": 140 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.32.0", + "Node name for S&R": "PreviewAny" + }, + "widgets_values": [] + }, + { + "id": 250, + "type": "PreviewAny", + "pos": [ + 1350, + 1900 + ], + "size": [ + 410, + 280 + ], + "flags": { + "collapsed": true + }, + "order": 31, + "mode": 0, + "inputs": [ + { + "name": "source", + "type": "*", + "link": 141 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.32.0", + "Node name for S&R": "PreviewAny" + }, + "widgets_values": [] + }, + { + "id": 262, + "type": "Fast Groups Bypasser (rgthree)", + "pos": [ + -2000, + 660 + ], + "size": [ + 280, + 90 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "OPT_CONNECTION", + "type": "*", + "links": null + } + ], + "properties": { + "matchColors": "", + "matchTitle": "first frame", + "showNav": false, + "showAllGraphs": true, + "sort": "position", + "customSortAlphabet": "", + "toggleRestriction": "default" + }, + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 242, + "type": "H3ContinuumSamplerProduction", + "pos": [ + 590, + 850 + ], + "size": [ + 290, + 900 + ], + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 128 + }, + { + "name": "clip", + "type": "CLIP", + "link": 129 + }, + { + "name": "video_vae", + "type": "VAE", + "link": 130 + }, + { + "name": "sampler", + "type": "SAMPLER", + "link": 131 + }, + { + "name": "sigmas", + "type": "SIGMAS", + "link": 132 + }, + { + "label": "Sequence Prompt", + "name": "sequence_prompt", + "type": "STRING", + "link": 133 + }, + { + "name": "first_frame", + "shape": 7, + "type": "IMAGE", + "link": 134 + }, + { + "name": "last_frame", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "name": "reference_image_1", + "shape": 7, + "type": "IMAGE", + "link": 150 + }, + { + "name": "reference_image_2", + "shape": 7, + "type": "IMAGE", + "link": 149 + }, + { + "name": "reference_image_3", + "shape": 7, + "type": "IMAGE", + "link": 153 + }, + { + "name": "reference_audio_1", + "shape": 7, + "type": "AUDIO", + "link": 156 + }, + { + "name": "reference_audio_vae", + "shape": 7, + "type": "VAE", + "link": 155 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 147 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 148 + } + ], + "outputs": [ + { + "name": "video_latents", + "shape": 6, + "type": "LATENT", + "links": [ + 125 + ] + }, + { + "name": "audio_latents", + "shape": 6, + "type": "LATENT", + "links": [ + 126 + ] + }, + { + "name": "assembly_plan", + "type": "H3_CONTINUUM_ASSEMBLY_PLAN", + "links": [ + 127 + ] + }, + { + "name": "status", + "type": "STRING", + "links": [ + 140 + ] + } + ], + "properties": { + "Node name for S&R": "H3ContinuumSamplerProduction" + }, + "widgets_values": [ + "Auto", + 3, + 5, + 1344, + 768, + "Balanced — 22 frames", + 191266507843236, + "randomize", + true, + "Basic", + "Auto", + 0, + true, + false, + true, + "Off", + "", + "Match Output", + "14fae873-8d31-45e3-bace-4f60da1213f0" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 147, + "type": "UNETLoader", + "pos": [ + -390, + 840 + ], + "size": [ + 530, + 90 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 124 + ] + } + ], + "title": "H3 Model", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "UNETLoader", + "models": [ + { + "name": "minimax_h3_fl2va_pruned_int8_convrot.safetensors", + "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors", + "directory": "diffusion_models" + } + ] + }, + "widgets_values": [ + "minimax\\minimax_h3_fl2va_pruned_int8_convrot.safetensors", + "default" + ] + }, + { + "id": 188, + "type": "PrimitiveStringMultiline", + "pos": [ + -1430, + 810 + ], + "size": [ + 1010, + 1030 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 133 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.31.0", + "Node name for S&R": "PrimitiveStringMultiline" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 256, + "type": "ResolutionSelector", + "pos": [ + -510, + 2040 + ], + "size": [ + 270, + 170 + ], + "flags": {}, + "order": 13, + "mode": 0, + "showAdvanced": false, + "inputs": [], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": [ + 145 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 146 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "ResolutionSelector" + }, + "widgets_values": [ + "1:1 (Square)", + 0.6, + 32 + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 259, + "type": "Fast Groups Bypasser (rgthree)", + "pos": [ + -510, + 2250 + ], + "size": [ + 280, + 90 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "OPT_CONNECTION", + "type": "*", + "links": null + } + ], + "properties": { + "matchColors": "", + "matchTitle": "Reference image", + "showNav": false, + "showAllGraphs": true, + "sort": "position", + "customSortAlphabet": "", + "toggleRestriction": "default" + }, + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 267, + "type": "LoadAudio", + "pos": [ + 280, + 1940 + ], + "size": [ + 290, + 140 + ], + "flags": { + "collapsed": false + }, + "order": 15, + "mode": 4, + "inputs": [], + "outputs": [ + { + "name": "AUDIO", + "type": "AUDIO", + "links": [ + 156 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.1", + "Node name for S&R": "LoadAudio" + }, + "widgets_values": [ + "prnas_.mp3", + null, + null + ] + }, + { + "id": 182, + "type": "easy cleanGpuUsed", + "pos": [ + -1900, + 1800 + ], + "size": [ + 170, + 30 + ], + "flags": { + "collapsed": true + }, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "anything", + "type": "*", + "link": 21 + } + ], + "outputs": [ + { + "name": "output", + "type": "*", + "links": [ + 134 + ] + } + ], + "properties": { + "cnr_id": "comfyui-easy-use", + "ver": "1.3.6", + "Node name for S&R": "easy cleanGpuUsed" + }, + "widgets_values": [] + } + ], + "links": [ + [ + 1, + 114, + 0, + 119, + 0, + "IMAGE" + ], + [ + 2, + 119, + 0, + 120, + 0, + "IMAGE" + ], + [ + 9, + 154, + 0, + 150, + 0, + "MODEL" + ], + [ + 15, + 150, + 0, + 153, + 0, + "MODEL" + ], + [ + 21, + 119, + 0, + 182, + 0, + "IMAGE" + ], + [ + 31, + 183, + 0, + 191, + 0, + "VIDEO" + ], + [ + 102, + 136, + 0, + 227, + 1, + "VAE" + ], + [ + 103, + 135, + 0, + 226, + 1, + "VAE" + ], + [ + 104, + 227, + 0, + 224, + 1, + "AUDIO" + ], + [ + 105, + 226, + 0, + 224, + 0, + "IMAGE" + ], + [ + 107, + 224, + 1, + 228, + 1, + "AUDIO" + ], + [ + 108, + 228, + 0, + 183, + 0, + "VIDEO" + ], + [ + 123, + 240, + 0, + 154, + 0, + "MODEL" + ], + [ + 124, + 147, + 0, + 240, + 0, + "MODEL" + ], + [ + 125, + 242, + 0, + 226, + 0, + "LATENT" + ], + [ + 126, + 242, + 1, + 227, + 0, + "LATENT" + ], + [ + 127, + 242, + 2, + 224, + 2, + "H3_CONTINUUM_ASSEMBLY_PLAN" + ], + [ + 128, + 150, + 0, + 242, + 0, + "MODEL" + ], + [ + 129, + 142, + 0, + 242, + 1, + "CLIP" + ], + [ + 130, + 135, + 0, + 242, + 2, + "VAE" + ], + [ + 131, + 139, + 0, + 242, + 3, + "SAMPLER" + ], + [ + 132, + 153, + 0, + 242, + 4, + "SIGMAS" + ], + [ + 133, + 188, + 0, + 242, + 5, + "STRING" + ], + [ + 134, + 182, + 0, + 242, + 6, + "IMAGE" + ], + [ + 140, + 242, + 3, + 249, + 0, + "STRING" + ], + [ + 141, + 224, + 2, + 250, + 0, + "STRING" + ], + [ + 143, + 120, + 0, + 255, + 0, + "INT" + ], + [ + 144, + 120, + 1, + 254, + 0, + "INT" + ], + [ + 145, + 256, + 0, + 255, + 1, + "INT" + ], + [ + 146, + 256, + 1, + 254, + 1, + "INT" + ], + [ + 147, + 255, + 0, + 242, + 13, + "INT" + ], + [ + 148, + 254, + 0, + 242, + 14, + "INT" + ], + [ + 149, + 257, + 0, + 242, + 9, + "IMAGE" + ], + [ + 150, + 258, + 0, + 242, + 8, + "IMAGE" + ], + [ + 151, + 224, + 0, + 263, + 0, + "IMAGE" + ], + [ + 152, + 263, + 0, + 228, + 0, + "IMAGE" + ], + [ + 153, + 265, + 0, + 242, + 10, + "IMAGE" + ], + [ + 155, + 136, + 0, + 242, + 12, + "VAE" + ], + [ + 156, + 267, + 0, + 242, + 11, + "AUDIO" + ] + ], + "groups": [ + { + "id": 1, + "title": "Shared H3 Models and Accelerators", + "bounding": [ + -1470, + 730, + 2800, + 1130 + ], + "color": "#3f789e", + "flags": {} + }, + { + "id": 2, + "title": "first frame", + "bounding": [ + -2250, + 730, + 760, + 1130 + ], + "color": "#3f789e", + "flags": {} + }, + { + "id": 3, + "title": "Reference image", + "bounding": [ + -2250, + 1880, + 1730, + 620 + ], + "color": "#3f789e", + "flags": {} + } + ], + "config": {}, + "extra": { + "frontendVersion": "1.48.7", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "ds": { + "scale": 0.47484324324328625, + "offset": [ + 2612.541018481368, + -367.93618674755515 + ] + }, + "VHS_MetadataImage": false, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file diff --git a/examples/workflows/MiniMax_H3_Continuum_V32_turbo.json b/examples/workflows/MiniMax_H3_Continuum_V32_turbo.json new file mode 100644 index 0000000..9f90e05 --- /dev/null +++ b/examples/workflows/MiniMax_H3_Continuum_V32_turbo.json @@ -0,0 +1,2030 @@ +{ + "id": "69dd6225-1e79-4e72-a48d-87dd580a7a03", + "revision": 0, + "last_node_id": 268, + "last_link_id": 156, + "nodes": [ + { + "id": 142, + "type": "CLIPLoader", + "pos": [ + -390, + 980 + ], + "size": [ + 530, + 110 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 129 + ] + } + ], + "title": "MiniMax H3 Text Encoder", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "CLIPLoader", + "models": [ + { + "name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors", + "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors", + "directory": "text_encoders" + } + ] + }, + "widgets_values": [ + "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors", + "minimax", + "default" + ] + }, + { + "id": 135, + "type": "VAELoader", + "pos": [ + -390, + 1140 + ], + "size": [ + 530, + 60 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 103, + 130 + ] + } + ], + "title": "Video VAE", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "VAELoader", + "models": [ + { + "name": "minimax_h3_video_vae_fp16.safetensors", + "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_fp16.safetensors", + "directory": "vae" + } + ] + }, + "widgets_values": [ + "minimax_h3_video_vae_fp16.safetensors" + ] + }, + { + "id": 114, + "type": "LoadImage", + "pos": [ + -2240, + 800 + ], + "size": [ + 740, + 840 + ], + "flags": {}, + "order": 2, + "mode": 4, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "exec-9461406b-7ce6-492c-b271-e18958f68a90.png", + "image" + ] + }, + { + "id": 119, + "type": "ImageScaleToTotalPixels", + "pos": [ + -2220, + 1700 + ], + "size": [ + 280, + 110 + ], + "flags": {}, + "order": 16, + "mode": 4, + "showAdvanced": true, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 2, + 21 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "ImageScaleToTotalPixels" + }, + "widgets_values": [ + "area", + 0.3, + 32 + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 120, + "type": "GetImageSize", + "pos": [ + -1890, + 1700 + ], + "size": [ + 220, + 140 + ], + "flags": { + "collapsed": true + }, + "order": 18, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 2 + } + ], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": [ + 143 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 144 + ] + }, + { + "name": "batch_size", + "type": "INT", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "GetImageSize" + }, + "widgets_values": [] + }, + { + "id": 258, + "type": "LoadImage", + "pos": [ + -2240, + 1950 + ], + "size": [ + 540, + 520 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 150 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": [] + } + ], + "title": "Reference 1", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "exec-1953128e-6ac9-4b71-846d-c4b210d44539.png", + "image" + ] + }, + { + "id": 261, + "type": "MarkdownNote", + "pos": [ + -2720, + 1340 + ], + "size": [ + 440, + 420 + ], + "flags": { + "collapsed": false + }, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note: MiniMax H3", + "properties": {}, + "widgets_values": [ + "## MiniMax H3\n\n[MiniMax H3](https://www.minimax.io/blog/minimax-h3) is MiniMax's general-purpose, omni-modal generation model. It jointly understands text, image, video, and audio, and generates video with **native stereo audio**: voice, sound effects, and music are modeled jointly in a single forward pass, not layered on afterward. Output is up to 2K resolution, 24fps, and up to about 15 seconds.\n\n## About this workflow\n\nThis template runs the **Image to Video** task (`MiniMaxH3ImageToVideo` node), which covers both:\n\n- **t2va** (text-to-video), when no images are connected\n- **fl2va** (first/last-frame image-to-video), when `first_frame` and/or `last_frame` are connected\n\n**Key inputs**\n\n- **first_frame / last_frame**: optional keyframes; the model generates the motion between them\n- **prompt**: describe the shots, motion, and the accompanying audio (dialogue, SFX, music) in one block\n- **width / height**: set via Resolution Selector. H3's native canvas is a 768px short edge, capped at 768x1344 pixels, rounded to a multiple of 32\n- **duration (seconds)**: converted to a valid frame `length` by the Math Expression node, snapping up to the model's 17-frame-per-block (17k+5) grid at 24fps" + ], + "color": "#222", + "bgcolor": "#000" + }, + { + "id": 254, + "type": "Any Switch (rgthree)", + "pos": [ + -90, + 1760 + ], + "size": [ + 270, + 110 + ], + "flags": { + "collapsed": true + }, + "order": 22, + "mode": 0, + "inputs": [ + { + "dir": 3, + "name": "any_01", + "type": "INT", + "link": 144 + }, + { + "dir": 3, + "name": "any_02", + "type": "INT", + "link": 146 + }, + { + "dir": 3, + "name": "any_03", + "type": "INT", + "link": null + }, + { + "dir": 3, + "name": "any_04", + "type": "INT", + "link": null + }, + { + "dir": 3, + "name": "any_05", + "type": "INT", + "link": null + } + ], + "outputs": [ + { + "dir": 4, + "label": "INT", + "name": "*", + "shape": 3, + "type": "INT", + "links": [ + 148 + ] + } + ], + "properties": { + "cnr_id": "rgthree-comfy", + "ver": "1.0.2607232129" + }, + "widgets_values": [] + }, + { + "id": 255, + "type": "Any Switch (rgthree)", + "pos": [ + -320, + 1760 + ], + "size": [ + 270, + 110 + ], + "flags": { + "collapsed": true + }, + "order": 21, + "mode": 0, + "inputs": [ + { + "dir": 3, + "name": "any_01", + "type": "INT", + "link": 143 + }, + { + "dir": 3, + "name": "any_02", + "type": "INT", + "link": 145 + }, + { + "dir": 3, + "name": "any_03", + "type": "INT", + "link": null + }, + { + "dir": 3, + "name": "any_04", + "type": "INT", + "link": null + }, + { + "name": "any_05", + "type": "INT", + "link": null + } + ], + "outputs": [ + { + "dir": 4, + "label": "INT", + "name": "*", + "shape": 3, + "type": "INT", + "links": [ + 147 + ] + } + ], + "properties": { + "cnr_id": "rgthree-comfy", + "ver": "1.0.2607232129" + }, + "widgets_values": [] + }, + { + "id": 228, + "type": "CreateVideo", + "pos": [ + 940, + 850 + ], + "size": [ + 290, + 110 + ], + "flags": { + "collapsed": false + }, + "order": 32, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 152 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": 107 + } + ], + "outputs": [ + { + "name": "VIDEO", + "type": "VIDEO", + "links": [ + 108 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.31.0", + "Node name for S&R": "CreateVideo" + }, + "widgets_values": [ + 24, + 8 + ] + }, + { + "id": 227, + "type": "VAEDecodeAudio", + "pos": [ + 1000, + 1620 + ], + "size": [ + 170, + 50 + ], + "flags": { + "collapsed": false + }, + "order": 27, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 126 + }, + { + "name": "vae", + "type": "VAE", + "link": 102 + } + ], + "outputs": [ + { + "name": "AUDIO", + "type": "AUDIO", + "links": [ + 104 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "VAEDecodeAudio" + }, + "widgets_values": [] + }, + { + "id": 226, + "type": "VAEDecode", + "pos": [ + 1010, + 1470 + ], + "size": [ + 170, + 50 + ], + "flags": { + "collapsed": false + }, + "order": 26, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 125 + }, + { + "name": "vae", + "type": "VAE", + "link": 103 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 105 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "VAEDecode" + }, + "widgets_values": [] + }, + { + "id": 260, + "type": "MarkdownNote", + "pos": [ + -2720, + 780 + ], + "size": [ + 440, + 510 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note: Model Links", + "properties": {}, + "widgets_values": [ + "## Model Links\n\n**vae**\n\n- [minimax_h3_video_vae_fp16.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_fp16.safetensors)\n- [minimax_h3_audio_vae_fp32.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors)\n\n**diffusion_models**\n\n- [minimax_h3_fl2va_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors)\n\n- [minimax_h3_ref2va_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors)\n\n**text_encoders**\n\n- [qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 vae/\n│ │ ├── minimax_h3_video_vae_fp16.safetensors\n│ │ └── minimax_h3_audio_vae_fp32.safetensors\n│ ├── 📂 diffusion_models/\n│ │ └── minimax_h3_fl2va_pruned_int8_convrot.safetensors\n│ └── 📂 text_encoders/\n│ └── qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n" + ], + "color": "#222", + "bgcolor": "#000" + }, + { + "id": 183, + "type": "easy cleanGpuUsed", + "pos": [ + 1400, + 720 + ], + "size": [ + 200, + 30 + ], + "flags": { + "collapsed": true + }, + "order": 33, + "mode": 0, + "inputs": [ + { + "name": "anything", + "type": "*", + "link": 108 + } + ], + "outputs": [ + { + "name": "output", + "type": "*", + "links": [ + 31 + ] + } + ], + "properties": { + "cnr_id": "comfyui-easy-use", + "ver": "1.3.6", + "Node name for S&R": "easy cleanGpuUsed" + }, + "widgets_values": [], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 182, + "type": "easy cleanGpuUsed", + "pos": [ + -1900, + 1800 + ], + "size": [ + 170, + 30 + ], + "flags": { + "collapsed": true + }, + "order": 19, + "mode": 4, + "inputs": [ + { + "name": "anything", + "type": "*", + "link": 21 + } + ], + "outputs": [ + { + "name": "output", + "type": "*", + "links": [ + 134 + ] + } + ], + "properties": { + "cnr_id": "comfyui-easy-use", + "ver": "1.3.6", + "Node name for S&R": "easy cleanGpuUsed" + }, + "widgets_values": [], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 263, + "type": "RTXVideoSuperResolution", + "pos": [ + 950, + 1040 + ], + "size": [ + 290, + 110 + ], + "flags": {}, + "order": 30, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 151 + } + ], + "outputs": [ + { + "name": "upscaled_images", + "type": "IMAGE", + "links": [ + 152 + ] + } + ], + "properties": { + "cnr_id": "comfyui_nvidia_rtx_nodes", + "ver": "0.1.3", + "Node name for S&R": "RTXVideoSuperResolution" + }, + "widgets_values": [ + "scale by multiplier", + 1.5, + "ULTRA" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 257, + "type": "LoadImage", + "pos": [ + -1660, + 1950 + ], + "size": [ + 540, + 520 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 149 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": [] + } + ], + "title": "Reference 2", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "exec-3b159fb4-8638-4e7d-90c3-4cdda6352735.png", + "image" + ] + }, + { + "id": 136, + "type": "VAELoader", + "pos": [ + -390, + 1270 + ], + "size": [ + 530, + 60 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 102, + 155 + ] + } + ], + "title": "Audio VAE", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "VAELoader", + "models": [ + { + "name": "minimax_h3_audio_vae_fp32.safetensors", + "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors", + "directory": "vae" + } + ] + }, + "widgets_values": [ + "minimax_h3_audio_vae_fp32.safetensors" + ] + }, + { + "id": 191, + "type": "SaveVideo", + "pos": [ + 1390, + 760 + ], + "size": [ + 940, + 110 + ], + "flags": { + "collapsed": false + }, + "order": 34, + "mode": 0, + "inputs": [ + { + "name": "video", + "type": "VIDEO", + "link": 31 + } + ], + "outputs": [ + { + "name": "video", + "type": "VIDEO", + "links": [] + } + ], + "title": "Save 3x5s Video", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "SaveVideo" + }, + "widgets_values": [ + "video/MiniMax_H3_Continuum_V31", + "auto", + "auto" + ] + }, + { + "id": 147, + "type": "UNETLoader", + "pos": [ + -390, + 840 + ], + "size": [ + 530, + 90 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 124 + ] + } + ], + "title": "H3 Model", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "UNETLoader", + "models": [ + { + "name": "minimax_h3_fl2va_pruned_int8_convrot.safetensors", + "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors", + "directory": "diffusion_models" + } + ] + }, + "widgets_values": [ + "minimax\\minimax_h3_ref2va_pruned_int8_convrot.safetensors", + "default" + ] + }, + { + "id": 224, + "type": "H3ContinuumAssembleV3", + "pos": [ + 940, + 1230 + ], + "size": [ + 290, + 150 + ], + "flags": {}, + "order": 29, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 105 + }, + { + "name": "audio", + "type": "AUDIO", + "link": 104 + }, + { + "name": "assembly_plan", + "type": "H3_CONTINUUM_ASSEMBLY_PLAN", + "link": 127 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 151 + ] + }, + { + "name": "audio", + "type": "AUDIO", + "links": [ + 107 + ] + }, + { + "name": "report", + "type": "STRING", + "links": [ + 141 + ] + } + ], + "properties": { + "Node name for S&R": "H3ContinuumAssembleV3" + }, + "widgets_values": [ + true, + "Off", + "Detailed Report" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 256, + "type": "ResolutionSelector", + "pos": [ + -510, + 2050 + ], + "size": [ + 270, + 170 + ], + "flags": {}, + "order": 9, + "mode": 0, + "showAdvanced": false, + "inputs": [], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": [ + 145 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 146 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "ResolutionSelector" + }, + "widgets_values": [ + "1:1 (Square)", + 0.8, + 32 + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 268, + "type": "LoadAudio", + "pos": [ + 240, + 1910 + ], + "size": [ + 330, + 140 + ], + "flags": {}, + "order": 10, + "mode": 4, + "inputs": [], + "outputs": [ + { + "name": "AUDIO", + "type": "AUDIO", + "links": [ + 156 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.33.1", + "Node name for S&R": "LoadAudio" + }, + "widgets_values": [ + "prnas_.mp3", + null, + null + ] + }, + { + "id": 188, + "type": "PrimitiveStringMultiline", + "pos": [ + -1430, + 810 + ], + "size": [ + 1010, + 1030 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 133 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.31.0", + "Node name for S&R": "PrimitiveStringMultiline" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 154, + "type": "Power Lora Loader (rgthree)", + "pos": [ + -390, + 1420 + ], + "size": [ + 530, + 270 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "dir": 3, + "name": "model", + "type": "MODEL", + "link": 123 + }, + { + "dir": 3, + "name": "clip", + "type": "CLIP", + "link": null + } + ], + "outputs": [ + { + "dir": 4, + "name": "MODEL", + "shape": 3, + "type": "MODEL", + "links": [ + 9 + ] + }, + { + "dir": 4, + "name": "CLIP", + "shape": 3, + "type": "CLIP", + "links": [] + } + ], + "title": "LoRA (optional)", + "properties": { + "cnr_id": "rgthree-comfy", + "ver": "1.0.2607232129", + "Show Strengths": "Single Strength", + "Match": "" + }, + "widgets_values": [ + {}, + { + "type": "PowerLoraLoaderHeaderWidget" + }, + { + "on": true, + "lora": "minimax\\minimax_h3_fl2v_turbo_8step_v1.0_comfyui_bf16.safetensors", + "strength": 1, + "strengthTwo": null + }, + { + "on": false, + "lora": "minimax\\minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors", + "strength": 1, + "strengthTwo": null + }, + { + "on": false, + "lora": "minimax\\minimax_h3_fl2v_turbo_4step_v1.0_768p_comfyui_bf16.safetensors", + "strength": 1, + "strengthTwo": null + }, + {}, + "" + ] + }, + { + "id": 150, + "type": "SpectrumApplyMiniMaxH3", + "pos": [ + 190, + 950 + ], + "size": [ + 340, + 640 + ], + "flags": {}, + "order": 23, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 9 + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": [ + 15, + 128 + ] + } + ], + "title": "Spectrum", + "properties": { + "cnr_id": "comfyui-spectrum-minimax-h3", + "ver": "9395bf98fc60a04c5f588de7b2bb33516a0b622f", + "Node name for S&R": "SpectrumApplyMiniMaxH3" + }, + "widgets_values": [ + false, + 0.5, + 1, + 0.1, + 2, + 0.75, + 1, + 1, + 8, + false, + "system_ram", + true, + false, + false, + true, + 0, + "system_ram", + "off", + 0.65, + false, + false, + "coordinate_rls", + "hard_clip", + 0.4, + "no_attenuation" + ] + }, + { + "id": 240, + "type": "MiniMaxH3MemoryEfficientSageAttentionPatch", + "pos": [ + 200, + 860 + ], + "size": [ + 330, + 30 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 124 + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": [ + 123 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "1.5.0", + "Node name for S&R": "MiniMaxH3MemoryEfficientSageAttentionPatch" + }, + "widgets_values": [] + }, + { + "id": 153, + "type": "BasicScheduler", + "pos": [ + 200, + 1630 + ], + "size": [ + 320, + 110 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 15 + } + ], + "outputs": [ + { + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 132 + ] + } + ], + "title": "Scheduler", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "BasicScheduler" + }, + "widgets_values": [ + "simple", + 8, + 1 + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 139, + "type": "KSamplerSelect", + "pos": [ + 210, + 1790 + ], + "size": [ + 310, + 60 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "SAMPLER", + "type": "SAMPLER", + "links": [ + 131 + ] + } + ], + "title": "Sampler", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "KSamplerSelect" + }, + "widgets_values": [ + "euler" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 242, + "type": "H3ContinuumSamplerProduction", + "pos": [ + 590, + 850 + ], + "size": [ + 290, + 900 + ], + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 128 + }, + { + "name": "clip", + "type": "CLIP", + "link": 129 + }, + { + "name": "video_vae", + "type": "VAE", + "link": 130 + }, + { + "name": "sampler", + "type": "SAMPLER", + "link": 131 + }, + { + "name": "sigmas", + "type": "SIGMAS", + "link": 132 + }, + { + "label": "Sequence Prompt", + "name": "sequence_prompt", + "type": "STRING", + "link": 133 + }, + { + "name": "first_frame", + "shape": 7, + "type": "IMAGE", + "link": 134 + }, + { + "name": "last_frame", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "name": "reference_image_1", + "shape": 7, + "type": "IMAGE", + "link": 150 + }, + { + "name": "reference_image_2", + "shape": 7, + "type": "IMAGE", + "link": 149 + }, + { + "name": "reference_image_3", + "shape": 7, + "type": "IMAGE", + "link": 153 + }, + { + "name": "reference_audio_1", + "shape": 7, + "type": "AUDIO", + "link": 156 + }, + { + "name": "reference_audio_vae", + "shape": 7, + "type": "VAE", + "link": 155 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 147 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 148 + } + ], + "outputs": [ + { + "name": "video_latents", + "shape": 6, + "type": "LATENT", + "links": [ + 125 + ] + }, + { + "name": "audio_latents", + "shape": 6, + "type": "LATENT", + "links": [ + 126 + ] + }, + { + "name": "assembly_plan", + "type": "H3_CONTINUUM_ASSEMBLY_PLAN", + "links": [ + 127 + ] + }, + { + "name": "status", + "type": "STRING", + "links": [ + 140 + ] + } + ], + "properties": { + "Node name for S&R": "H3ContinuumSamplerProduction" + }, + "widgets_values": [ + "Auto", + 3, + 5, + 1344, + 768, + "Balanced — 22 frames", + 1234, + "fixed", + true, + "Basic", + "Auto", + 0, + true, + false, + true, + "Off", + "", + "Match Output", + "14fae873-8d31-45e3-bace-4f60da1213f0" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 259, + "type": "Fast Groups Bypasser (rgthree)", + "pos": [ + -510, + 2270 + ], + "size": [ + 280, + 90 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "OPT_CONNECTION", + "type": "*", + "links": null + } + ], + "properties": { + "matchColors": "", + "matchTitle": "Reference image", + "showNav": false, + "showAllGraphs": true, + "sort": "position", + "customSortAlphabet": "", + "toggleRestriction": "default" + }, + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 264, + "type": "LoadImage", + "pos": [ + -1080, + 1960 + ], + "size": [ + 540, + 520 + ], + "flags": {}, + "order": 14, + "mode": 4, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 153 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": [] + } + ], + "title": "Reference 2", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.30.0", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "exec-c5c27703-c2c2-4112-87d3-9f693d9edc3d.png", + "image" + ] + }, + { + "id": 262, + "type": "Fast Groups Bypasser (rgthree)", + "pos": [ + -2010, + 690 + ], + "size": [ + 280, + 90 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "OPT_CONNECTION", + "type": "*", + "links": null + } + ], + "properties": { + "matchColors": "", + "matchTitle": "first frame", + "showNav": false, + "showAllGraphs": true, + "sort": "position", + "customSortAlphabet": "", + "toggleRestriction": "default" + }, + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 250, + "type": "PreviewAny", + "pos": [ + 940, + 1990 + ], + "size": [ + 410, + 420 + ], + "flags": { + "collapsed": true + }, + "order": 31, + "mode": 0, + "inputs": [ + { + "name": "source", + "type": "*", + "link": 141 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.32.0", + "Node name for S&R": "PreviewAny" + }, + "widgets_values": [] + }, + { + "id": 249, + "type": "PreviewAny", + "pos": [ + 1360, + 1970 + ], + "size": [ + 620, + 430 + ], + "flags": { + "collapsed": true + }, + "order": 28, + "mode": 0, + "inputs": [ + { + "name": "source", + "type": "*", + "link": 140 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.32.0", + "Node name for S&R": "PreviewAny" + }, + "widgets_values": [] + } + ], + "links": [ + [ + 1, + 114, + 0, + 119, + 0, + "IMAGE" + ], + [ + 2, + 119, + 0, + 120, + 0, + "IMAGE" + ], + [ + 9, + 154, + 0, + 150, + 0, + "MODEL" + ], + [ + 15, + 150, + 0, + 153, + 0, + "MODEL" + ], + [ + 21, + 119, + 0, + 182, + 0, + "IMAGE" + ], + [ + 31, + 183, + 0, + 191, + 0, + "VIDEO" + ], + [ + 102, + 136, + 0, + 227, + 1, + "VAE" + ], + [ + 103, + 135, + 0, + 226, + 1, + "VAE" + ], + [ + 104, + 227, + 0, + 224, + 1, + "AUDIO" + ], + [ + 105, + 226, + 0, + 224, + 0, + "IMAGE" + ], + [ + 107, + 224, + 1, + 228, + 1, + "AUDIO" + ], + [ + 108, + 228, + 0, + 183, + 0, + "VIDEO" + ], + [ + 123, + 240, + 0, + 154, + 0, + "MODEL" + ], + [ + 124, + 147, + 0, + 240, + 0, + "MODEL" + ], + [ + 125, + 242, + 0, + 226, + 0, + "LATENT" + ], + [ + 126, + 242, + 1, + 227, + 0, + "LATENT" + ], + [ + 127, + 242, + 2, + 224, + 2, + "H3_CONTINUUM_ASSEMBLY_PLAN" + ], + [ + 128, + 150, + 0, + 242, + 0, + "MODEL" + ], + [ + 129, + 142, + 0, + 242, + 1, + "CLIP" + ], + [ + 130, + 135, + 0, + 242, + 2, + "VAE" + ], + [ + 131, + 139, + 0, + 242, + 3, + "SAMPLER" + ], + [ + 132, + 153, + 0, + 242, + 4, + "SIGMAS" + ], + [ + 133, + 188, + 0, + 242, + 5, + "STRING" + ], + [ + 134, + 182, + 0, + 242, + 6, + "IMAGE" + ], + [ + 140, + 242, + 3, + 249, + 0, + "STRING" + ], + [ + 141, + 224, + 2, + 250, + 0, + "STRING" + ], + [ + 143, + 120, + 0, + 255, + 0, + "INT" + ], + [ + 144, + 120, + 1, + 254, + 0, + "INT" + ], + [ + 145, + 256, + 0, + 255, + 1, + "INT" + ], + [ + 146, + 256, + 1, + 254, + 1, + "INT" + ], + [ + 147, + 255, + 0, + 242, + 13, + "INT" + ], + [ + 148, + 254, + 0, + 242, + 14, + "INT" + ], + [ + 149, + 257, + 0, + 242, + 9, + "IMAGE" + ], + [ + 150, + 258, + 0, + 242, + 8, + "IMAGE" + ], + [ + 151, + 224, + 0, + 263, + 0, + "IMAGE" + ], + [ + 152, + 263, + 0, + 228, + 0, + "IMAGE" + ], + [ + 153, + 264, + 0, + 242, + 10, + "IMAGE" + ], + [ + 155, + 136, + 0, + 242, + 12, + "VAE" + ], + [ + 156, + 268, + 0, + 242, + 11, + "AUDIO" + ] + ], + "groups": [ + { + "id": 1, + "title": "Shared H3 Models and Accelerators", + "bounding": [ + -1470, + 730, + 2800, + 1130 + ], + "color": "#3f789e", + "flags": {} + }, + { + "id": 2, + "title": "first frame", + "bounding": [ + -2250, + 730, + 760, + 1130 + ], + "color": "#3f789e", + "flags": {} + }, + { + "id": 3, + "title": "Reference image", + "bounding": [ + -2250, + 1880, + 1730, + 640 + ], + "color": "#3f789e", + "flags": {} + } + ], + "config": {}, + "extra": { + "frontendVersion": "1.48.7", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "ds": { + "scale": 0.3924324324324659, + "offset": [ + 2241.6716135264705, + -82.07837688443738 + ] + }, + "VHS_MetadataImage": false, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file