MiniMax-H3 RefMod Upgrade: Packing JPEGs Into Safetensors Cuts Encoding Time and Kills Identity Bleed
acedelgado · reddit · 2026-09-30
A developer updated the open-source Fantastic MiniMax-H3 Prompt Builder (ComfyUI nodes), with improvements centered on RefMod conditioning and caching:
- Background: vanilla refmods only feed latents to the DiT; the text encoder never sees references. The author's earlier version fed sampled frames to the TE as anchors, but re-encoded them every generation.
- Speedup trick: since .safetensors is just a container, actual JPEG data is packed alongside the latents in the same file (like subtitles in a video). JPEGs go straight to the text encoder without the VAE, and TE conditioning is cached between runs as long as refmod order/strength is unchanged.
- New stackpictures modes: every 4th (default, lightest), up to 8 (samples 8 frames individually, more detail), all (all frames to the TE — slowest but max detail with little to no character bleed).
- Benchmarks: 6 images per character plus seconds of audio; 3 refmods (14,900 tokens) ran at 32s/it at 0.98mp on a 5090 with 8-step HyperFlow and an audio refiner suite. Also added edit masking for video edits. Dataset and companion repos are open source.
More from Multimodal
- Testing Qwen Image 2.1 and Minimax H3 on anime-to-photo conversion and film photo restoration — Ant_6431 · 2026-11-16
- Second take of a 'Cubee run' video generated with Minimax H3 — JahJedi · 2026-11-16
- Non-artist builds 14-chapter hand-painted storybook game with Fable 5.2 in 4 hours — jradoff · 2026-11-16
- Subject LoRAs on Minimax H3 Image learn poor likenesses while identical datasets excel on Qwen 2.1 — Ad_Organic · 2026-11-16
- Seedance-generated anime train scene stuns Reddit with cinematic quality — Ok-Solution-7889 · 2026-11-16
- AI-generated 'Men in Black' reimagined in 1977 goes viral — techhalla · 2026-11-16