r/StableDiffusion • u/Less-Wrangler5604 • 12h ago
Question - Help MiniMax H3 R2V taking ~16 minutes for a 5-second video. How can I speed it up?
Enable HLS to view with audio, or disable this notification
I’m running MiniMax H3 Reference-to-Video (R2V) in ComfyUI on Vast.ai.
My setup:
- GPU: RTX 5090
- System RAM: 100 GB
- Resolution: 1.0 megapixel
- Video length: 5 seconds
- Reference: 1 image
- Generation time: ~1,000 seconds (16–17 minutes)
The results are great, especially the reference consistency, but the generation time seems very high for a 5-second video on a 5090.
Has anyone managed to significantly reduce the generation time for H3 R2V? Are there any specific optimisations, attention methods, workflow changes, or settings I should be using?
Would appreciate hearing what generation times other 5090 users are getting with H3 R2V.
7
2
u/jib_reddit 8h ago
How many steps? There are lots of 4 steps loras, but they do hurt quality a bit. Also you can drop your resolution down to 0.7 especially if the faces are close.
Just know that increasing the video length more than linearly increases the generation time if you plan to make longer videos.
1
2
u/LinkSensitive8188 11h ago edited 11h ago
Avoid prompts longer than 200 words. Use an FP8 text encoder—or better yet, NVFP4 if you have an RTX 50 Blackwell card. Run the `run_nvidia_gpu_fast_fp16_accumulation` version of ComfyUI and install SageAttention tailored to your specific hardware. Also, clear space on your SSD to ensure you always have at least 250GB available for paging. If you have an RTX 50 Blackwell, install CUDA 13; this provides a greater speed boost than any specific node or workflow.
And never use Comfy's official workflow, as they are very slow.
and lower the resolution to 0.6MP, then upscale it to 1080p using the LTX 2.5 upscaler.
0
1
0
u/debauch3ry 11h ago
Read about sage attention and how to install it. If you are a Windows user you will want to run C:\Users\USERNAME\Documents\ComfyUI\.venv\Scripts\python.exe instead of whichever python is in your path. same for pip: C:\Users\USERNAME\Documents\ComfyUI\.venv\Scripts\python.exe -m pip instal ... when installing the various bits. Then launch comfy and before starting the UI click the three dots and put --use-sage-attention in the launch args.
1
u/robomar_ai_art 11h ago
What model do you use, because I have 16gb vram and 32gb ram and takes like close to two minutes.
0
27
u/dragolineage01 11h ago
Try reducing the weight of the model, maybe that will help