Rework img/video reference in Minimax H3 to more closely match the comfy ui implementation.

This commit is contained in:
Jaret Burkett
2026-08-15 07:13:54 -06:00
parent f1faa7725b
commit 127d6f626d
9 changed files with 209 additions and 51 deletions

View File

@@ -172,6 +172,7 @@ class SDTrainer(BaseSDTrainProcess):
has_control_images = True
# see if we need to encode the control images
if self.sd.encode_control_in_text_embeddings and has_control_images:
self.sd.prepare_sample_prompt_context(gen_img_config)
video_exts = ['.mp4', '.avi', '.mov', '.webm', '.mkv', '.wmv', '.m4v', '.flv']