Files changed (2) hide show
  1. README.md +14 -14
  2. assets/p-h3-image-comfy.jpg +2 -2
README.md CHANGED
@@ -23,7 +23,7 @@ tags:
23
  ---
24
  <!-- header start -->
25
  <p align="center">
26
- <img src="assets/p-h3-image-comfy.jpg" width="800">
27
  </p>
28
  <!-- header end -->
29
 
@@ -50,9 +50,9 @@ tags:
50
  </p>
51
  <div align="center">
52
 
53
- <h1 style="color: #9334E9;">p-h3-image</h1>
54
 
55
- <h2>ComfyUI files for p-h3-image, based on MiniMax-H3</h2>
56
 
57
  <h3>
58
  <span style="color: #9334E9;">bf16, int8 and w4a8</span>
@@ -66,14 +66,14 @@ tags:
66
 
67
  </div>
68
 
69
- This repository holds the ComfyUI files for **p-h3-image**, an image model for text-to-image generation and image
70
  editing based on [MiniMax-H3](https://huggingface.co/MiniMaxAI/MiniMax-H3). It renders 8-megapixel images in 8 steps
71
  without CFG and edits with up to 8 input images. Every component comes in bf16 and in ComfyUI's native int8 and 4-bit
72
  formats. The smallest set is a 20 GB download that peaks at 21 GB of VRAM at 8 MP, against 143 GB of weights for
73
  MiniMax-H3.
74
 
75
  The nodes are in [PrunaAI/comfyui-p-h3-image](https://github.com/PrunaAI/comfyui-p-h3-image). The diffusers pipeline is
76
- in [PrunaAI/p-h3-image](https://huggingface.co/PrunaAI/p-h3-image).
77
 
78
  ## Quickstart
79
 
@@ -87,13 +87,13 @@ in [PrunaAI/p-h3-image](https://huggingface.co/PrunaAI/p-h3-image).
87
  peaks at about 56 GB of VRAM:
88
 
89
  ```bash
90
- hf download PrunaAI/p-h3-image-comfy --include "diffusion_models/p-h3-image_bf16.safetensors" "text_encoders/p-h3-image_text_encoder_bf16.safetensors" "text_encoders/p-h3-image_prompt_upsampler_bf16.safetensors" "vae/p-h3-image_vae_bf16.safetensors" --local-dir ComfyUI/models
91
  ```
92
 
93
  The smallest set, a 20 GB download plus the prompt upsampler, peaks at about 21 GB of VRAM:
94
 
95
  ```bash
96
- hf download PrunaAI/p-h3-image-comfy --include "diffusion_models/p-h3-image_w4a8.safetensors" "text_encoders/p-h3-image_text_encoder_w4a8.safetensors" "text_encoders/p-h3-image_prompt_upsampler_bf16.safetensors" "vae/p-h3-image_vae_int8_convrot.safetensors" --local-dir ComfyUI/models
97
  ```
98
 
99
  3. **Open a workflow** from `workflows/` (also under Templates in ComfyUI), type a short request and run. The
@@ -179,7 +179,7 @@ these sizes. Edits work best at 4 or 8 MP. The Edit node scales `image_1`, the i
179
 
180
  ## Prompt upsampler
181
 
182
- p-h3-image is sensitive to prompting and renders full, specific prompts much better than short requests. The prompt
183
  upsampler, based on Qwen3.5-9B, turns a one-line request into that prompt, and all example workflows use it. It thinks
184
  about the request first and then writes the prompt.
185
 
@@ -190,10 +190,10 @@ Text, with greedy decoding, so a request always gives the same prompt.
190
  on two lines, and Generate Text runs with `thinking` on. Keep the aspect ratio the same as in Resolution Selector.
191
  - **Edits.** Format Text writes the upsampler's input with a `<Picture N>` block for every image, and the images reach
192
  Generate Text through Batch Images: `image_1` at 1 MP, the references padded to its size. The result is the edit
193
- prompt for the p-h3-image Edit node.
194
  - **Use prompt upsampler**, an If/Else switch, set to false sends the request to the model as it is.
195
 
196
- The upsampler runs before p-h3-image, and ComfyUI moves it out of VRAM when p-h3-image needs the memory. Its output is
197
  cached, so it only runs again when the request or the images change.
198
 
199
  | Upsampler file | Size | Peak VRAM | Time per prompt, L40S |
@@ -214,16 +214,16 @@ like, such as "the hat from the second photo".
214
  <img src="assets/multi_image.jpg" width="100%">
215
  </p>
216
 
217
- *Top, eight public-domain portraits and the dinner party p-h3-image composed from them, from a one-sentence request.
218
  Bottom, eight scientists at a poker table, seven presidents wading through the swamp with an astronaut, and characters
219
  from our own renders in the same swamp.*
220
 
221
  ## Already have MiniMax-H3?
222
 
223
- If you run MiniMax-H3 in ComfyUI, the 2 GB LoRA `loras/p-h3-image_lora_bf16.safetensors` runs p-h3-image on its FL2VA
224
  transformer without a second large download. Load `minimax_h3_fl2va_bf16.safetensors` from
225
  [Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3) (the pruned and quantized FL2VA files work too),
226
- apply the LoRA with the p-h3-image LoRA Loader at strength 1.0, and start from the `lora` workflows.
227
 
228
  ## Limitations
229
 
@@ -236,7 +236,7 @@ apply the LoRA with the p-h3-image LoRA Loader at strength 1.0, and start from t
236
 
237
  ## License
238
 
239
- The p-h3-image weights are based on MiniMax-H3 and released under the [MiniMax H3 Community License](LICENSE). Please
240
  read it before use. Among other terms, it excludes the European Union, the United Kingdom, the Republic of Korea and
241
  the United States unless you have a separate license from MiniMax, and products built on it must show "Powered by
242
  MiniMax H3". The text encoder's Qwen3-VL-4B parts and the prompt upsampler, based on Qwen3.5-9B, are under the
 
23
  ---
24
  <!-- header start -->
25
  <p align="center">
26
+ <img src="assets/P-H3-Image-comfy.jpg" width="800">
27
  </p>
28
  <!-- header end -->
29
 
 
50
  </p>
51
  <div align="center">
52
 
53
+ <h1 style="color: #9334E9;">P-H3-Image</h1>
54
 
55
+ <h2>ComfyUI files for P-H3-Image, based on MiniMax-H3</h2>
56
 
57
  <h3>
58
  <span style="color: #9334E9;">bf16, int8 and w4a8</span>
 
66
 
67
  </div>
68
 
69
+ This repository holds the ComfyUI files for **P-H3-Image**, an image model for text-to-image generation and image
70
  editing based on [MiniMax-H3](https://huggingface.co/MiniMaxAI/MiniMax-H3). It renders 8-megapixel images in 8 steps
71
  without CFG and edits with up to 8 input images. Every component comes in bf16 and in ComfyUI's native int8 and 4-bit
72
  formats. The smallest set is a 20 GB download that peaks at 21 GB of VRAM at 8 MP, against 143 GB of weights for
73
  MiniMax-H3.
74
 
75
  The nodes are in [PrunaAI/comfyui-p-h3-image](https://github.com/PrunaAI/comfyui-p-h3-image). The diffusers pipeline is
76
+ in [PrunaAI/P-H3-Image](https://huggingface.co/PrunaAI/P-H3-Image). Try it in the [Hugging Face Spaces](https://huggingface.co/spaces/PrunaAI/P-H3-Image). Read the full blog post [here](https://pruna.ai/blog/oss-p-h3-image-launch).
77
 
78
  ## Quickstart
79
 
 
87
  peaks at about 56 GB of VRAM:
88
 
89
  ```bash
90
+ hf download PrunaAI/P-H3-Image-comfy --include "diffusion_models/p-h3-image_bf16.safetensors" "text_encoders/p-h3-image_text_encoder_bf16.safetensors" "text_encoders/p-h3-image_prompt_upsampler_bf16.safetensors" "vae/p-h3-image_vae_bf16.safetensors" --local-dir ComfyUI/models
91
  ```
92
 
93
  The smallest set, a 20 GB download plus the prompt upsampler, peaks at about 21 GB of VRAM:
94
 
95
  ```bash
96
+ hf download PrunaAI/P-H3-Image-Comfy --include "diffusion_models/p-h3-image_w4a8.safetensors" "text_encoders/p-h3-image_text_encoder_w4a8.safetensors" "text_encoders/p-h3-image_prompt_upsampler_bf16.safetensors" "vae/p-h3-image_vae_int8_convrot.safetensors" --local-dir ComfyUI/models
97
  ```
98
 
99
  3. **Open a workflow** from `workflows/` (also under Templates in ComfyUI), type a short request and run. The
 
179
 
180
  ## Prompt upsampler
181
 
182
+ P-H3-Image is sensitive to prompting and renders full, specific prompts much better than short requests. The prompt
183
  upsampler, based on Qwen3.5-9B, turns a one-line request into that prompt, and all example workflows use it. It thinks
184
  about the request first and then writes the prompt.
185
 
 
190
  on two lines, and Generate Text runs with `thinking` on. Keep the aspect ratio the same as in Resolution Selector.
191
  - **Edits.** Format Text writes the upsampler's input with a `<Picture N>` block for every image, and the images reach
192
  Generate Text through Batch Images: `image_1` at 1 MP, the references padded to its size. The result is the edit
193
+ prompt for the P-H3-Image Edit node.
194
  - **Use prompt upsampler**, an If/Else switch, set to false sends the request to the model as it is.
195
 
196
+ The upsampler runs before P-H3-Image, and ComfyUI moves it out of VRAM when P-H3-Image needs the memory. Its output is
197
  cached, so it only runs again when the request or the images change.
198
 
199
  | Upsampler file | Size | Peak VRAM | Time per prompt, L40S |
 
214
  <img src="assets/multi_image.jpg" width="100%">
215
  </p>
216
 
217
+ *Top, eight public-domain portraits and the dinner party P-H3-Image composed from them, from a one-sentence request.
218
  Bottom, eight scientists at a poker table, seven presidents wading through the swamp with an astronaut, and characters
219
  from our own renders in the same swamp.*
220
 
221
  ## Already have MiniMax-H3?
222
 
223
+ If you run MiniMax-H3 in ComfyUI, the 2 GB LoRA `loras/p-h3-image_lora_bf16.safetensors` runs P-H3-Image on its FL2VA
224
  transformer without a second large download. Load `minimax_h3_fl2va_bf16.safetensors` from
225
  [Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3) (the pruned and quantized FL2VA files work too),
226
+ apply the LoRA with the P-H3-Image LoRA Loader at strength 1.0, and start from the `lora` workflows.
227
 
228
  ## Limitations
229
 
 
236
 
237
  ## License
238
 
239
+ The P-H3-Image weights are based on MiniMax-H3 and released under the [MiniMax H3 Community License](LICENSE). Please
240
  read it before use. Among other terms, it excludes the European Union, the United Kingdom, the Republic of Korea and
241
  the United States unless you have a separate license from MiniMax, and products built on it must show "Powered by
242
  MiniMax H3". The text encoder's Qwen3-VL-4B parts and the prompt upsampler, based on Qwen3.5-9B, are under the
assets/p-h3-image-comfy.jpg CHANGED

Git LFS Details

  • SHA256: ee75917f1b3073f77793eae9c024c4c043bc111ac10ce4b46ec1538a9d046111
  • Pointer size: 132 Bytes
  • Size of remote file: 1.09 MB

Git LFS Details

  • SHA256: 09439720c1684b11be7abd49a302f620cbd25e2d503661175a6635c62fc0ed51
  • Pointer size: 132 Bytes
  • Size of remote file: 1.64 MB