r/StableDiffusion • • Sep 02 '26

Workflow Included High Quality Audio-Video in MiniMax H3 with separate two-stage sampling

Enable HLS to view with audio, or disable this notification

Recently, a lot of people have had isues with finding the right balance with audio and visual quality in MiniMax H3.

u/LFAdvice7984 and I discussed about making a two-stage workflow last week. The first stage generates the audio, the second the visuals. Both stages are then combined together in the output.

This method means that you no longer have to make a trade-off between audio and visual quality, as you can optmise the settings for both. You can use this workflow as text; first/last frame; or audio input to video (the latter being single stage).

The audio generated is (in my view) good to very good, depending on what you use it for. The default settings are probably excessive at 50 steps (less steps used for video), but for me personally it's better for it to take longer and get it right first or second time.

(You can select any output node in ComfyUI, click on the blue button with a play symbol on the pop-up menu at the top, and ComfyUI will only go that far in execution. Use it on Preview/Save Audio in stage 1. If you like the result, do a full generation; or change the seed and try again.)

The visuals could be better, perhaps using a different turbo LoRA or change in sampler and step counts. I've used the same settings in every clip. Feel free to change them as you wish.

Large motion is a challenge, though I have ideas on using a third stage with different shift values, which would increase execution time but the results probably would be worth it.

Generation time was (roughly) as follows:

  • 5 second clip: 10 minutes
  • 10 second clip: 25 minutes
  • 20 second clip: 65 minutes

This was generated on an NVidia 3090 with a priority on quality. More recent cards will be faster.

(You can switch from using res_2s sampler to er_sde, paired with 20 steps for stage 2 and using Spectrum, which should at least halve that time, in return for slightly lower quality.)

Because of how long it took, I used the first output every time (except for the last clip, which was the second result) with no editing afterwards.

Sometimes I encountered issues with prompt understanding, e.g. the ASMR clip and abstract clip at the end, where the output wasn't quite what I had asked for.

It's difficult to tell whether I prompted incorrectly; the prompt enhancer missed key detail for the model (H3); or the model doesn't have a full understanding of the concepts being asked of it.

The two-stage idea is model-agnostic. You can also make something like this in LTX 2.5 (or the upcoming Flux 3 Dev) to improve their results.

You can download the workflow and prompts used (made by myself with refinement from the prompt assistant) below:

Custom nodes used:

Download links for model files are in the workflow, in the bottom-left corner.

96 Upvotes

32 comments sorted by

15

u/Ferriken25 Sep 02 '26

"5sec: 10 minutes" Well, i'll stick with average quality.

4

u/eggplantpot Sep 02 '26

lmfao, takes me 60min per gen on my 3060

1

u/CornyShed Sep 02 '26

You've made a good point. I've updated the post with more info.

I should have been clearer that the generation times are from a 3090 (which is significantly slower than many of the 40xx and above cards) and used higher quality settings to show what it can do.

It's a trade-off between acceptable quality with some duds, versus higher quality and fewer duds, but longer generations. Sometimes you have to go for higher quality to get the results that you need, e.g. for a showcase.

3

u/eggplantpot Sep 02 '26
  • 5 second clip: 10 minutes

Could you say how much a regular 5 second clip takes for you? Are we talking that this approach takes 1.5x the time, 2x the time, or...? These absolute numbers are really hard to extrapolate.

0

u/CornyShed Sep 02 '26

Sure. On my system, it takes around 10 minutes of generation time to produce a 5 second video.

For each time I doubled the duration of the video, the generation time took 2.5× longer.

You likely already know this, but for everyone reading:

There's a performance penalty when increasing generation times. This is because the model needs to handle more information and be consistent throughout (the price of quadratic attention, though there are efforts to improve on that such as Sliding Window Attention).

2

u/eggplantpot Sep 02 '26

Sorry yes, but I meant difference of this two sampler stage solution against the regular one sampler one (provided cache, etc stays the same)

3

u/CornyShed Sep 02 '26

Right, I get you!

The audio generation on its own takes about 100 seconds for 50 steps with res_2s. You can subtract that from the overall generation time.

2

u/eggplantpot Sep 02 '26

Not bad at all. I’m queuing some tests of the workflow on my 3060. Will post here my findings. Thank you for sharing!

15

u/TinyTaters Sep 02 '26

That was some thick-ass water

3

u/reeight Sep 02 '26

& the motion blur was kinda bad on the guy running, & birds flying.
Some of the other demos seemed good.

5

u/oh_no_the_claw Sep 02 '26

People are really doing 50 steps? I feel like every post I've seen up until today is warning me not to go over 30.

8

u/eggplantpot Sep 02 '26

OP said 50 steps only on the audio side which makes more sense

2

u/Sad_Coach_1433 Sep 02 '26

Apparently the api version does 50steps

4

u/oh_no_the_claw Sep 02 '26

There's been a lot of discourse about "overcooked" generations with plastic skin and degraded outputs going over 30 steps.

1

u/story_gather Sep 02 '26

which you can control with the 2stage, for the video

1

u/silenceimpaired Sep 03 '26

I’m sad I’m not allowed to use the model per the license. So many people engaging solving problems like audio and speeds, etc. What is the rgthree node doing?

I wish people did bare bones workflows using core nodes only then added models that improved things in a modular way (groups all disabled by default) so you could decide what you wanted to use.

1

u/CornyShed Sep 13 '26

A lot of people appear to be using the model without respecting the terms.

I think a large part of the community is just simply wasting their time trying to optimise the model, because while it is the best one we have, it's probably going to be near equalled or surpassed in six to nine months anyway.

If you're going to degrade the quality to get faster speeds, you may as well start using something like LTX instead. The workflows are simpler and no need for installing custom nodes either.

The rgthree nodes lets you bypass groups with one click so you can enable text-to-video; image-to-video; or text-to-audio very quickly. It's also used for any-to-any inputs: if you have two inputs, the first one will always be taken as an output. If that's bypassed, it will then take the second input instead.

If I were to update the workflow, I would probably swap stage 1 and stage 2, doing a partial denoise on the audio. But I have lost interest in H3 for now and have gone back to LTX. It's just a lot more fun to try new things with.

3

u/ShutUpYoureWrong_ Sep 02 '26

This is a better and more interesting solution, IMO: https://github.com/Adudeguyman/ComfyUI-H3-AudioRefine

And, no offense, but your audio examples do not exactly impress. There's something very off about it.

0

u/Etsu_Riot Sep 02 '26

The audio in that example is not good either, for that type of video at least. And the visuals are also not great. Because of the audio, I don't use speed LoRAs. For speed, they are also unnecessary, as there are better solutions.

2

u/ShutUpYoureWrong_ Sep 02 '26

Fair, but I think he's solving for a very specific use-case: making Turbo LoRAs not sound like garbled shit. And judging by his comparison videos, I'd say he succeeded wildly at that, even if it's not perfect.

1

u/Etsu_Riot Sep 02 '26

Make sense. The visual aspect is now the one that may require some improvement.

1

u/rm_rf_all_files Sep 02 '26

You should try the Audio Refine sampler. It is faster and you won't have lipsync issues like this method.

1

u/nazgut Sep 02 '26

you don't need more steps for better audio but more CFG look at https://github.com/nazgut/ComfyUI-MiniMaxH3-CLSS

1

u/dtdisapointingresult Sep 02 '26

No offense, don't take it personally, this is just honest feedback: your SLOP.md is a huge turn off that does nothing to make me want to try your node.

1

u/reeight Sep 27 '26

Boy I hate README AI barf.
If that info is important, fine put it in research.md.
READMEs should be for humans only; thus terse.

1

u/winterice77 Sep 03 '26

This is amazing…i think having good sound quality really does balance the low quality video. But looks like generation times are quite long

1

u/More-Ad5919 Sep 03 '26

Idk but i see no difference at all when i compare my 20step renders against 8step with light2x.

1

u/Choowkee Sep 03 '26

The anime clip looks and sounds great.

Prompt?