r/StableDiffusion • • 3h ago

Question - Help Minimax H3 video compositing experiment

Thumbnail
youtube.com
3 Upvotes

I did a lot of experimentations with 2d image with comfyUI / turboCLI and turbopixel in order to composite still frames instead of regenerating each time thus preserving the quality and "editability" of a given scene.

Now I'm experimenting the same with video layering and composition with Minimax H3 video to video. I was wondering if you'd be interested about the process and have feedback or suggestion to make about the process ?

--- Software baseline ---

MiniMax H3 with Comfy-Org's bf16 weights (bf16 transformer and Qwen3-VL text encoder, fp16 video VAE), run headless; 20 steps res_multistep, cfg 1, no Turbo LoRA, beta scheduler for the reference passes. 2x via ComfyUI's H3 latent upscaler plus an 8-step refine at denoise 0.25.

--- Here's the breakdown ---

The idea: lock a baseline shot first, then edit it like layers in an image editor, changing only the pixels that need to change.

  1. First frame. A 21:9 still (1376x576), made in Midjourney and refined with masked FLUX and Qwen-Image edits.
  2. Pass 1, the base. MiniMax H3 (quality), 5 s, with the first frame pinned and two picture references (the building and the car). This locks the camera move, the scene and the action. Latents are saved.
  3. Pass 2, the edit. The base goes back into H3 as a reference video, with the same first frame and seed, and a [video editing] prompt naming one change: "the fanlight blows out in an explosion about two seconds in". The camera matches the base to the pixel on every frame; only the rain and grain get redrawn.
  4. Composite. A per-frame difference mask between the two passes, with a threshold and glow, limited to a box around the change, smoothed over neighbouring frames and feathered. Everything outside the mask stays pass 1. The edit's audio is kept, for the blast.
  5. Upscale. Both passes are refined at 2x (2752x1152) from their own latents at denoise 0.25, and they still line up to the pixel. They're blended through the 1x mask scaled up, rather than a new diff, so the two independent redraws don't leak in.

Costs (Modal B200 at $0.002081/s, about $7.49/h, GPU time only):

  • Pass 1: about 2.5 min, about $0.30 (estimated)
  • Pass 2: about 4 min, about $0.50. The reference video roughly doubles the tokens: about 7 s per step against 2.4.
  • 2x of both passes: about 10 min, about $1.25
  • Compositing: runs locally, free

That's about $2 for a 5 s shot at 2752x1152 with one edit. Each extra edit adds about $1.20 (its pass plus its 2x).


r/StableDiffusion • • 2h ago

Question - Help Comfy-ui blue screen of death

2 Upvotes

I am experiencing somewhat random blue screen of deaths on my Windows machine with 16gb 4060 ti and 64gb of ram.

I am quite sure it is not a hardware issues. Comfyui runs fine with heavy and lighter loads as long as I don’t multitask too much.

I opened github-desktop today while comfy was running and boom.

I’ve dug through the windows crash logs and nothing significant has come up.

I am tempted to format my drive and just re-install bit before I do maybe some of you have some tips, things I can try.

Thanks


r/StableDiffusion • • 21h ago

News ComfyUI v0.47.0 released

Thumbnail
github.com
64 Upvotes

r/StableDiffusion • • 1d ago

News Ideogram4.6 open weights next week! Krea will try to undermine again with Krea3

Post image
238 Upvotes

r/StableDiffusion • • 11h ago

Discussion Despite being inferior nowadays in every regard except speed , but LTX2.0 is still wonderful in understanding certain retro Visual styles using very few words

9 Upvotes

I am trying to do some classic 50's/60's/70's American Movies/TV series Style scenes in Minimax H3 , I am struggling nailing the styles and the output most of time is too clean and too HD for a video in that style , and i use +50 words for a chance to get it right once in a couple of tries. I had to use a lora in the end to get the desired style

Meanwhile , when i was using LTX2.0 , it only took me like 6-7 words to get the desired styles that i want out of the box , it even got the classic warm semi-color style nicely , Same for Saturday morning Cartoon style.

Minimax H3 blows LTX2.0 in everything , and 2.3/2.5 are superior to 2.0 and all their prompt understanding is day and night difference to 2.0 but i am amazed how LTX2.0 was able to understand the desired styles with very few words unlike the other models , Guess it was trained nicely in that regard


r/StableDiffusion • • 4m ago

Question - Help Images came wrong

1 Upvotes

I starded today using stable diffusion forge and some test worked well but after closing and open again when i tried to generate something ir came out like unfinished, static, wird colors. Same parametes, sampler and everything. I dont know what im doing


r/StableDiffusion • • 6h ago

Animation - Video Quest | Day 0 | Animated Short

Thumbnail
youtu.be
3 Upvotes

Hello,

This is the first episode of a series I'm making. In this episode, a young adventurer falls through a portal into a swamp, meets a tiny frog who's convinced he's a rabbit, and a "Great Rabbit" wizard who maybe shouldn't have eaten those mushrooms.

Visuals and voices are generated with Minimax H3 on my own machine using WanGP. Story, characters, shot choices, editing, timing and sound are done by me in DaVinci Resolve.

Honest feedback on the pacing and jokes is very welcome, Episode 2 is in the edit right now.

Thank you!


r/StableDiffusion • • 27m ago

Workflow Included Textured MOSS-Image workflow (no upscale)

Thumbnail github.com
1 Upvotes

https://civitai.red/models/3072976/thm-mossworfklow

This photograph features fine detail, showing skin texture and tiny hairs, dramatic side light with shadow, a woman with fair skin and long, wavy brown hair that cascades over her shoulders. She is wearing a sleeveless, bright red top with a gathered neckline. Around her neck, she has two pieces of jewelry: a black, floral-patterned choker and a silver necklace with a circular pendant. eyes are brown and she has a slight, confident smile on her face. Her eyebrows are natural and her makeup is minimal, highlighting her natural beauty. She has small, silver stud earrings in her ears.

Check out my simple workflow for MOSS-Image. Hopefully it is helpful.

Get the missing node from here:
https://github.com/TripleHeadedMonkey/ComfyUI-Zlycoris/tree/main


r/StableDiffusion • • 14h ago

Animation - Video terminator police station shoutout with endiskeleton t800 test

10 Upvotes

the hard part is to get a good image ref of the t800, the metalic chrome aspect really seems to give minmax h3 some troubles


r/StableDiffusion • • 1h ago

Resource - Update Free tool that removes C2PA / Content Credentials from video, images and audio in your browser — no upload, no re-encoding

1 Upvotes

r/StableDiffusion • • 1d ago Bravo

Discussion The Incredible Local AI (MiniMax H3 + ComfyUI)

817 Upvotes

y'all liked my GTA one so here's another! ~80 renders (27 of those were inpaints). too lazy to clean up the audio, I'll work on how to manage that in the future...

Here is a simple wf how the chains are made: https://github.com/LucianoCirino/h3-side-by-side-chain

note: I use comfy, but these are chained with a tool I vibe coded for myself to make it easier.
note2: Higher quality version here unlisted on Youtube

just for fun, enjoy!


r/StableDiffusion • • 1d ago

Resource - Update I made ComfyUI 2–3.7× faster on Apple Silicon, no MLX conversions needed (open source node pack)

Thumbnail
gallery
104 Upvotes

I wanted ComfyUI to be fast on my Mac without leaving ComfyUI. No MLX conversions or multiple copies of every model and no special nodes to load them. I wanted ComfyUI to work as intended, with the nodes and workflows everyone is using.

So I built ComfyUI-AppleSilicon-Optimized. Just install it like any custom node and restart. It patches ComfyUI at startup and swaps the slow parts (attention, sampling, VAEs) for Metal kernels I wrote for Apple GPUs. No changes to your workflows or special models to be downloaded.

The main focus is the INT8 ConvRot models, which is where the biggest gains are, and where the pack performs the best.

Stock ComfyUI v0.47.1 vs the pack, on M5 Ultra, during the same session. Times are end to end with the models warm and in memory.

Text to image

ModelStockPackSpeedup
MOSS-Image SFT, 1024²68.9 s18.8 s3.66×
Fibo 2.0 Dev87.9 s31.6 s2.78×
Krea 2 Turbo, 1024²15.4 s6.0 s2.54×
Ideogram 443.3 s17.4 s2.49×
Flux.2 Klein5.6 s2.4 s2.32×
Qwen-Image 2.128.8 s12.6 s2.30×
Z-Image Turbo7.8 s3.5 s2.26×
Flux.3 Base69.6 s33.0 s2.11×
Flux.3 distilled12.0 s5.8 s2.09×
Krea 227.5 s13.5 s2.04×

Image editing

ModelStockPackSpeedup
Fibo 2.0 Edit Turbo16.2 s6.9 s2.36×
Qwen-Image 2.1 edit49.9 s23.1 s2.16×
Flux.2 Klein edit9.2 s4.9 s1.87×
Flux.3 distilled edit21.8 s12.7 s1.71×
Flux.3 Base edit118.7 s75.3 s1.58×

Video

ModelStockPackSpeedup
LTX 2.5 (diffusion upscale)90.6 s46.0 s1.97×
LTX 2.5 (conv upscale)51.0 s33.5 s1.52×
MiniMax H3258.2 s158.6 s1.63×
Wan 2.2 Turbo44.9 s30.5 s1.47×

Upscaling

ModelStockPackSpeedup
RelayVSR ×4, 294 frames from 864×480 *227.3 s91.2 s2.49×
RelayVSR ×2, same clip *48.3 s25.4 s1.90×
SeedVR2, image64.9 s44.8 s1.45×
SeedVR2, 120-frame videostopped at 69 GB by my test's memory limit126.3 sn/a

Image to 3D

ModelStockPackSpeedup
Trellis 2 *299.3 s118.1 s2.53×
Pixal3D, single view *172.7 s72.1 s2.40×
Pixal3D, multi-view *crashes118.5 sn/a

Music

ModelStockPackSpeedup
YuE2, full song38 min 40 s31.6 s73×
YuE2 Mothersuperior15 min 20 s19.9 s46×
YuE2, 8-second clip179.6 s5.2 s34×

Preprocessors

ModelStockPackSpeedup
BiRefNet background removal, 4 frames21.5 s0.74 s29×
SDPose + detector3.1 s1.5 s2.17×
Depth Anything 3 Mono Large0.46 s0.41 s1.12×
Depth Anything 3 Base, multi-viewcrashes0.11 sn/a

* YuE2 and BiRefNet run on CPU by default on Mac, and the pack now runs them optimized on GPU, that's the reason for the big speedup. The same goes for the text encoders: for example it's about 21 s of each new MOSS prompt in stock ComfyUI.

Most models have the kernels checked byte for byte against ComfyUI's own code. The few exceptions are listed in the README, and anything approximate is opt-in.

MiniMax H3 got the most work. Out of the box the pack runs it 1.63× faster than stock (258 s → 159 s for 124 frames at 864×480, 20 steps), using Metal kernels for the DiT's INT8 layers, norms and RoPE, plus a faster VAE decode.

There's also an optional acceleration node with everything I built or ported for it: NVIDIA's Sol-Attn sparse attention as an INT8 Metal kernel (118 s, 2.2× vs stock), a dense INT8 attention kernel (138 s), MotionCache and Spectrum caching, and the token reduction schedule from antirez's h3.c.

A LoRA node and a latent upscaler that run on MPS are included too. The attention, cache and token-reduction modes trade quality for speed, so they are completely optional and off by default.

There are various presets i built with a big range of time savings vs quality loss, easily switchable from drop-down menus.

What to know before installing:

  • I've only measured it on an M5 Ultra with macOS 27. M1–M4 is untested, and some kernels need an M5, so speedups on anything prior to M5 will be of a lesser degree.
  • On first launch it installs PyTorch 2.15.

https://github.com/luix93/ComfyUI-AppleSilicon-Optimized

If you try it on another chip, I'd like to see your timings.


r/StableDiffusion • • 5h ago

Question - Help Krea 2 LoRA for the character, Qwen for the scene. How do you keep both consistent across camera angles?

2 Upvotes

I’m trying to make a 10-image carousel of the same character in the same room, with real camera-angle changes. Think of a breakfast table where the same juice glass, plate and fruit bowl should still be in the same places when the camera moves.

1. Krea 2 + character LoRA from an empty latent. This gives me the best face, skin and character proportions. But Krea redraws the room in every shot. Furniture changes, props move, and sometimes objects disappear altogether.

2. Qwen 2511 → SAM3 → masked Krea pass at 0.4 → stitch back. This keeps the Qwen background outside the mask in each shot. The trade-off is that Krea carries over a lot of the person already in the Qwen image, especially the silhouette, pose and clothing. The lighting can still feel pasted on. I also tried depth control, which helped with the broad layout but didn’t keep small props in place.

The next thing I’m considering is doing the character swap in the starting image before generating the angles. I’d use my existing Krea LoRA to get the character right in that first shot, let Qwen generate the new angles from it, then use a light masked Krea pass for identity and skin. I want to keep this in ComfyUI without a separate character sheet or a pay-per-image API.

Has anyone tried this and managed to keep both the character and the room consistent across actual camera moves? What did you feed into the masked pass, and how did you get the lighting to blend with the Qwen image?


r/StableDiffusion • • 2h ago

Resource - Update Release] Hunyuan3D-2.1 Windows 1-Click Helper (v1.0.2) — Auto-fixes PyTorch 2.6+ / 0xC0000005 crashes, converts .ckpt to .safetensors with <300 MB RAM, and adds headless CLI mode for Cline/AI agents

0 Upvotes

Hey everyone,

If you've tried running Tencent's Hunyuan3D-2.1 locally on Windows recently—especially on a fresh Python install or a 12 GB GPU—you've probably hit a wall of crashes: broken deepspeed/bpy wheels, transformers DINOv2 key mismatches, PyTorch 2.6+ weights_only=True blocks, or silent 0xC0000005 access violations when unpacking the 7.37 GB model.fp16.ckpt file.

I put together a lightweight, MIT-licensed drop-in helper (Hunyuan3D-2.1-Windows-1Click) consisting of two small scripts (Hunyuan3D_1Click.bat + patch_hunyuan.py) that drop straight into the official repository without redistributing bloated forks or model weights.

GitHub Repo: https://github.com/amtexas98/Hunyuan3D-2.1-Windows-1Click

(Fun fact: tracking down, debugging, and stress-testing all of these Windows issues took me almost 24 hours straight so nobody else has to go through it.)

What it does: A lightweight, 1-click Windows launcher and idempotent compatibility patcher (Hunyuan3D_1Click.bat + patch_hunyuan.py) that automatically resolves dependency conflicts, PyTorch 2.6+ unpickling crashes, Windows 0xC0000005 memory violations, and 12 GB VRAM Out-Of-Memory errors when running Tencent's Hunyuan3D-2.1 Gradio app locally.

Who it's for: Indie game developers, 3D artists, mid-range GPU owners (8 GB–16 GB VRAM), and AI agent builders (Cline, Cursor, CLI scripts) who want to generate .glb 3D meshes locally on Windows without bloated forks or ComfyUI node graphs.

Source code: github.com

License: MIT License

What mine adds:

• Zero-RAM .ckpt → .safetensors Stream Converter: Existing installers and forks crash with MemoryError or 0xC0000005 when unpacking Tencent's 7.37 GB model.fp16.ckpt on Windows systems with tight free RAM. Mine reads data.pkl metadata first (MetaUnpickler) and streams individual tensor slices into a memory-mapped .safetensors file using <300 MB of RAM, cutting startup time to under 1 second.

• Modern Stack Auto-Patching: Automatically bypasses PyTorch 2.6+ weights_only=True blocks, translates legacy DINOv2 attention keys (query/key/value/output.dense → q_proj/k_proj/v_proj/o_proj) at runtime for transformers 5.x, injects trust_remote_code=True for PBR pipelines, strips Linux-only wheels (deepspeed, bpy), and repairs corrupted RealESRGAN_x4plus.pth weights—all non-destructively with .bak backups.

• Headless CLI Mode for AI Agents (v1.0.2): Supports positional arguments (Hunyuan3D_1Click.bat 1–4) to bypass interactive prompts and exit pauses so autonomous coding agents like Cline can start the server and batch-generate 3D assets via gradio_client.

Builds on: Tencent Hunyuan3D-2.1, PyTorch, Hugging Face transformers / diffusers, safetensors, and Gradio.

How it was built: AI-assisted — Spent almost 24 hours straight tracking down, debugging, and stress-testing Windows-specific PyTorch serialization bugs, transformers key mismatches, and 12 GB VRAM limits on an RTX 5070 Ti laptop until the whole pipeline worked reliably in one click.

Feedback/contributions wanted: Testing reports across different Windows 10/11 builds, Python versions (3.10–3.14), and 8 GB–16 GB GPUs, as well as PRs or suggestions for expanding automated PBR texture batching.


r/StableDiffusion • • 21h ago

Animation - Video Used MiniMax H3 to create a live-action teaser trailer for my favorite manga: BLAME!

33 Upvotes
  • Flux.2 Klein 9B — image generation.
  • Qwen Image 2.1 — keyframe editing and vertical reframing
  • MiniMax H3 + Turbo v4 LoRA — video generation (I2V, Ref2VA, and last-frame-anchored animation)

r/StableDiffusion • • 2h ago

Animation - Video Horrible Mischief – Gummery (Official Music Video)

Thumbnail
youtu.be
0 Upvotes

A music video I made for my "band," Horrible Mischief. It opens at dawn on a single tulip, descends through a factory of strange machines (petal press, crayon mill, cartoon emulsifier, gummification line), and ends badly for everyone except the gummies.

Everything was generated locally on a 5090: keyframes in Krea 2, video in MiniMax H3 in ComfyUI, edited in Premiere, upscaled in Topaz. Happy to answer questions about any of it.

Full video: https://youtu.be/TNFxPD0Ynsk?si=ofYvmCESgni7RrwE


r/StableDiffusion • • 14h ago

Discussion Stylized houses concept art LoRA

9 Upvotes

I've been training a style LoRA on a dataset of ~1,500 stylized architectural concept images — buildings, settlements, environment props. Base model is Krea 2: trained on Raw, running inference on Turbo in ComfyUI.

The video is unedited generations across a range of prompts — different building types, scales and environments, all in the same trained style. No cherry-picking beyond picking a representative set.

Two things I'd genuinely like feedback on:

  1. Production viability. Could something like this slot into a real concept ideation or environment design pipeline? What specifically would block it?
  2. What's worth documenting. I'm planning to put the full process on GitHub: training config, dataset prep and captioning methodology, and the ComfyUI workflows. Will the description of the process actually be useful to you?

Happy to answer questions about the setup.


r/StableDiffusion • • 1d ago Bravo Heartwarming

Resource - Update You guys forced my hand... You want the clown? Fine.

566 Upvotes

Also, going to be changing the defaults for keystone attention soon plus show a tutorial on how to use the suite.

This video was made using my suite and the beta version of my up-scaler soon to be released.

Edit: I just did a bunch of memory fixes with Keystone Attention because it was causing people with low vram to go oom, and just not running for others.

I fixed the majority of them. I also added a setting on Keystone Attention that allows you to chunk the attention setting so if it goes OOM you can increase it to prevent that. I'm currently testing the defaults because I believe the strength is too high so I'll be updating the defaults soon.

Sparse, Kitchen, Sage, Pytorch, LowVRam, Streamed Blocks, and even Flash should all work with Keystone Attention, now. And you should be able to chunk as much as you need to keep from going oom right on the attention node.

https://github.com/roycho87/geiru_context_suite

officially hit 100 stars today! woot.

hybrid windows workflow:
https://github.com/roycho87/geiru_context_suite/blob/main/example_workflows/clown_biker_babe.json

keystone attention workflow:
https://github.com/roycho87/geiru_context_suite/blob/main/example_workflows/geiru_toneido_default.json

keystone capstone workflow
(if you're getting background changes use this until i update defaults on keystone attention):
https://github.com/roycho87/geiru_context_suite/blob/main/example_workflows/noisy_clown_example.json

nerdnotes:
https://github.com/roycho87/NerdNotes/tree/main

You can check everything i've done. contributions from other awesome nerds, and the stuff i'm currently testing.

Edit: After much reflection i feel I’ve made a mistake. I apologize.

Too late now, tho.


r/StableDiffusion • • 1d ago

News WeGen2: a 61B A7B MoE pixel-space generation and editing model

Post image
107 Upvotes

Basically, subj. A new fat open-weight model around the block. It's a MoE, so maybe it can be usable locally at a 4-bit quant. Supports generation, editing, and reference images, pixel-space.

https://huggingface.co/GrayShine/WeGen2


r/StableDiffusion • • 3h ago

Question - Help Why my output is garbage?

0 Upvotes

Hello guys beginner here, im using wangp with wan2.2 i2v 14b with lightning lora, 5 seconds clip, is it possible that my prompt is the problem? Or do i need to tweak the settings of my wangp?

My prompt 2D hand-drawn cartoon animation with crisp bold black outlines in a photorealistic 3D room. The blue cartoon elephant's expression turns fierce and determined as he pulls his fist back, then swings forward and smashes hard through the wall calendar, cracking the plaster wall with chunks of debris flying out. Expressive 2D cartoon squash-and-stretch motion, smooth steady dolly-out camera gliding backward slowly, cinematic stabilized lens, no camera shake.


r/StableDiffusion • • 15h ago

News nihui/h3-ncnn-vulkan: ncnn implementation of MiniMax-H3

Thumbnail
github.com
9 Upvotes

My usual disclaimer: I am not associated with the project in any way.

The code is supposed to allow any platform that support vulkan to run MMH3. Could be useful for people with very limited RAM (needs only 14G?) such as older laptops with discrete GPUs.

Quoting from the project page:

ncnn implementation of MiniMax-H3 for video and stereo audio generation from text, keyframes or multimodal references.

h3-ncnn-vulkan uses ncnn project as the universal neural network inference framework.

Features

  • BF16 text encoder and DiT, FP32 vision and VAEs
  • Vulkan GPU acceleration
  • Portable standalone executable
  • No CUDA, PyTorch, Python or FFmpeg dependency for inference
  • Automatic weight streaming and tiled video VAE inference
  • Text, first and last frames, or multimodal references
  • Dynamic resolution and frame count -
  • Stereo audio generation
  • Intermediate keyframes for longer videos
  • LoRA adapters, portable modulation banks and optional rough modes
  • Lossy - WebM and lossless Matroska output

minimax-h3 text-to-video 832x480, 124 frames, 14GiB RAM budget

dit transformer 2nd step(s/it) less is betterRX9060XTRTX3060
stable-diffusion.cpp (vulkan) 2026112783.81375.59
h3-ncnn-vulkan 2026120151.15101.46

minimax-h3 FL2VA 832x480, 56 frames, 14GiB RAM budget

dit transformer step(s/it) less is betterRX9060XT
stable-diffusion.cpp (vulkan) 2026112746.19
h3-ncnn-vulkan 20261201 rough-mode 025.50
h3-ncnn-vulkan 20261201 rough-mode 123.54
h3-ncnn-vulkan 20261201 rough-mode 222.53
h3-ncnn-vulkan 20261201 rough-mode 319.43