Gemma4-for-MiniMax-H3-Prompt-Extend
prompt expansion for video generation
2 min readupdated
This new model from Wuli-art expands text prompts for the MiniMax-H3 multimodal system. Built on the open-weights Gemma4-12B-IT language model, it has been fine-tuned specifically to structure audiovisual descriptions. It outputs detailed prompts that account for camera movements, scene progression, and audio cues. The release comes in both full-precision and quantized variants, complete with ready-to-use ComfyUI workflows.
Key features
- Powered by Gemma4: a fine-tuned 12B-parameter language model originally developed by Google.
- Two operating modes: supports both FL2VA (for text plus first and last frames) and Ref2VA (reference-based generation) input formats.
- Multiple precision options: available in standard BF16 alongside quantized FP8 and Int8 formats to save VRAM.
- ComfyUI integration: the repository includes standalone JSON workflow files ready to load in the UI.
What you can do
- Generate frame-guided video: use the FL2VA workflow to create footage while controlling the starting and ending frames.
- Generate from references: run the Ref2VA workflow to guide video generation using reference images and subjects.
- Expand basic prompts: turn simple user ideas into rich, structured instructions for audiovisual generation.
- Run locally: drop the model into ComfyUI pipelines using whichever quantization level fits your hardware.
Example
How to run it in ComfyUI:
1. Download the model in your preferred precision (BF16, FP8, or Int8) along with the workflow files.
2. Drag and drop the desired JSON file (such as minimax_h3_gemma4_pe_fl2va.json) onto the ComfyUI canvas.
3. Select the downloaded model in the prompt extender node and load your inputs (first/last frames or reference images).
4. Run the pipeline to generate an expanded prompt and pass it straight to the MiniMax-H3 generator.
Read more
DetailsBase model: google/gemma-4-12B-it
Library: diffusers
Weight formats: BF16, FP8, Int8
Workflows: ComfyUI (FL2VA and Ref2VA)














Comments