Spaces:
Running on Zero
Running on Zero
feat(minimax-h3-image): add MiniMax-H3-Image-PE as the prompt enhancer default
Browse filesFiles changed (4)
189 unmodified lines190191192193194195189 unmodified lines- microsoft/Lens- microsoft/Lens-Turbo- MiniMaxAI/MiniMax-H3-Image- NewBie-AI/NewBie-image-Exp0.1- nvidia/PiD- nvidia/PixelDiT-1300M-1024px189 unmodified lines190191192193194195196189 unmodified lines- microsoft/Lens- microsoft/Lens-Turbo- MiniMaxAI/MiniMax-H3-Image- MiniMaxAI/MiniMax-H3-Image-PE- NewBie-AI/NewBie-image-Exp0.1- nvidia/PiD- nvidia/PixelDiT-1300M-1024px
480 unmodified lines4814824834844854864879 unmodified lines497498499500501502503480 unmodified linesprompt_enhancer:chains: prompt_enhancerdisplay_name: "Prompt Enhancer Settings"description: "Enhance or upsample prompts with any registered prompt-enhancer model (Qwen-Image-2.1 PE T2I/I2I, Qwen3.8-27B, Qwen3.5-9B, Qwen3-VL-4B-Instruct, FLUX.3 Prompt Upsampler, P-H3-Image Prompt Upsampler), optional reasoning CoT thinking mode, and optional system prompt. The clip and system_prompt registries are independent, so they are freely mixable across architectures."max_count: 1usage_guideline: "Set enable to true to activate prompt enhancement. Pick model from the clip registry and system_prompt from the system_prompt registry in yaml/prompt_enhancer.yaml; both lists are global, so any architecture may select any clip paired with any system prompt. Defaults for each framework come from the architecture section and reset when the base model changes. architecture[framework].clip_type is the framework's own encoder and applies to whatever clip is selected, so a prompt upsampler built for one vendor still runs under another framework's encoder. Nothing is auto-detected from images, so an explicit system prompt always wins. Enable thinking for reasoning CoT (reasoning tags are stripped from the result), and set max_length for generation length."parameters_schema:9 unmodified linesdescription: "Enable thinking (reasoning CoT). Thought text inside <think> tags is automatically stripped before the prompt reaches downstream text encoding."model:type: stringdescription: "Prompt Enhancer Model name from the clip registry in yaml/prompt_enhancer.yaml (e.g. Qwen-Image-2.1-Prompt-Enhancer-T2I, Qwen3.8-27B, Qwen3.5-9B, Qwen3-VL-4B-Instruct, Qwen3.5-9B-FLUX.3-Prompt-Upsampler, PrunaAI/P-H3-Image-Prompt-Upsampler). Any model may select any registered clip regardless of architecture. The CLIPLoader type is the framework's, not the checkpoint's: architecture[framework].clip_type applies to whatever clip is selected (same Qwen3.5-9B weights load as `minimax` for MiniMax-H3-Image and `moss_image` for MOSS-Image), so a Qwen-Image-2.1 upsampler still runs as `moss_image` under MOSS-Image. A clip entry may also declare its own clip_type for calls without framework context. Defaults to the architecture entry for the active framework."system_prompt:type: stringdescription: "System Prompt name from the system_prompt registry in yaml/prompt_enhancer.yaml (e.g. none, Ming-Image-PE-Template, FLUX.3-T2I-PE-Template, FLUX.3-I2I-PE-Template, FLUX.3-T2I-Bbox-PE-Template, FLUX.3-I2I-Bbox-PE-Template). Independent of the selected clip and never inferred from images; an empty prompt means no system prompt."480 unmodified lines4814824834844854864879 unmodified lines497498499500501502503480 unmodified linesprompt_enhancer:chains: prompt_enhancerdisplay_name: "Prompt Enhancer Settings"description: "Enhance or upsample prompts with any registered prompt-enhancer model (Qwen/Qwen-Image-2.1-PE-T2I, Qwen/Qwen3.8-27B, Qwen/Qwen3.5-9B, Qwen/Qwen3-VL-4B-Instruct, FLUX.3 Prompt Upsampler, P-H3-Image Prompt Upsampler), optional reasoning CoT thinking mode, and optional system prompt. The clip and system_prompt registries are independent, so they are freely mixable across architectures."max_count: 1usage_guideline: "Set enable to true to activate prompt enhancement. Pick model from the clip registry and system_prompt from the system_prompt registry in yaml/prompt_enhancer.yaml; both lists are global, so any architecture may select any clip paired with any system prompt. Defaults for each framework come from the architecture section and reset when the base model changes. architecture[framework].clip_type is the framework's own encoder and applies to whatever clip is selected, so a prompt upsampler built for one vendor still runs under another framework's encoder. Nothing is auto-detected from images, so an explicit system prompt always wins. Enable thinking for reasoning CoT (reasoning tags are stripped from the result), and set max_length for generation length."parameters_schema:9 unmodified linesdescription: "Enable thinking (reasoning CoT). Thought text inside <think> tags is automatically stripped before the prompt reaches downstream text encoding."model:type: stringdescription: "Prompt Enhancer Model name from the clip registry in yaml/prompt_enhancer.yaml (e.g. Qwen/Qwen-Image-2.1-PE-T2I, Qwen/Qwen3.8-27B, Qwen/Qwen3.5-9B, Qwen/Qwen3-VL-4B-Instruct, black-forest-labs/Qwen3.5-9B-FLUX.3-Prompt-Upsampler, PrunaAI/P-H3-Image-Prompt-Upsampler). Any model may select any registered clip regardless of architecture. The CLIPLoader type is the framework's, not the checkpoint's: architecture[framework].clip_type applies to whatever clip is selected (same Qwen3.5-9B weights load as `minimax` for MiniMax-H3-Image and `moss_image` for MOSS-Image), so a Qwen-Image-2.1 upsampler still runs as `moss_image` under MOSS-Image. A clip entry may also declare its own clip_type for calls without framework context. Defaults to the architecture entry for the active framework."system_prompt:type: stringdescription: "System Prompt name from the system_prompt registry in yaml/prompt_enhancer.yaml (e.g. none, Ming-Image-PE-Template, FLUX.3-T2I-PE-Template, FLUX.3-I2I-PE-Template, FLUX.3-T2I-Bbox-PE-Template, FLUX.3-I2I-Bbox-PE-Template). Independent of the selected clip and never inferred from images; an empty prompt means no system prompt."
985 unmodified lines986987988989990991985 unmodified linessource: "hf"repo_id: "Comfy-Org/MiniMax-H3-Image"repository_file_path: "text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors"# PE- filename: "qwen3.5_2b_bf16.safetensors"source: "hf"985 unmodified lines986987988989990991992993994995996985 unmodified linessource: "hf"repo_id: "Comfy-Org/MiniMax-H3-Image"repository_file_path: "text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors"# MiniMax-H3-Image PE- filename: "qwen3.8_27b_minimax_h3_image_pe_w4a8_gptq.safetensors"source: "hf"repo_id: "Comfy-Org/MiniMax-H3-Image"repository_file_path: "text_encoders/qwen3.8_27b_minimax_h3_image_pe_w4a8_gptq.safetensors"# PE- filename: "qwen3.5_2b_bf16.safetensors"source: "hf"
7 unmodified lines89101112131417 unmodified lines3233343536377 unmodified linesclip_type: minimaxsystem_prompt: "none"minimax-h3-image:clip: "Qwen/Qwen3.5-9B"clip_type: minimaxsystem_prompt: "MiniMax-H3-Image-PE-Template"krea-2:17 unmodified linesclip:black-forest-labs/Qwen3.5-9B-FLUX.3-Prompt-Upsampler:filename: "qwen3.5_9b_flux3_prompt_upsampler_w4a8.safetensors"PrunaAI/P-H3-Image-Prompt-Upsampler:filename: "p-h3-image_prompt_upsampler_w4a8.safetensors"Qwen/Qwen-Image-2.1-PE-T2I:7 unmodified lines89101112131417 unmodified lines32333435363738397 unmodified linesclip_type: minimaxsystem_prompt: "none"minimax-h3-image:clip: "MiniMaxAI/MiniMax-H3-Image-PE"clip_type: minimaxsystem_prompt: "MiniMax-H3-Image-PE-Template"krea-2:17 unmodified linesclip:black-forest-labs/Qwen3.5-9B-FLUX.3-Prompt-Upsampler:filename: "qwen3.5_9b_flux3_prompt_upsampler_w4a8.safetensors"MiniMaxAI/MiniMax-H3-Image-PE:filename: "qwen3.8_27b_minimax_h3_image_pe_w4a8_gptq.safetensors"PrunaAI/P-H3-Image-Prompt-Upsampler:filename: "p-h3-image_prompt_upsampler_w4a8.safetensors"Qwen/Qwen-Image-2.1-PE-T2I:
README.md+1
yaml/chain_features.yaml+2-2
yaml/file_list.yaml+5
yaml/prompt_enhancer.yaml+3-1