nifleisch commited on
Commit
430b7d2
Β·
verified Β·
1 Parent(s): 24734a6

Add a short README

Browse files
Files changed (1) hide show
  1. README.md +44 -0
README.md CHANGED
@@ -21,3 +21,47 @@ tags:
21
  - minimax-h3
22
  - pruna-ai
23
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  - minimax-h3
22
  - pruna-ai
23
  ---
24
+
25
+ # p-h3-image for ComfyUI
26
+
27
+ p-h3-image, based on MiniMax-H3, makes images from text and edits images, with up to 9 input images. This repository
28
+ has its ComfyUI files.
29
+
30
+ ## Use it
31
+
32
+ 1. Install the nodes (ComfyUI 0.43 or newer):
33
+
34
+ ```bash
35
+ git clone https://github.com/PrunaAI/comfyui-p-h3-image ComfyUI/custom_nodes/comfyui-p-h3-image
36
+ ```
37
+
38
+ 2. Download the files into `ComfyUI/models`:
39
+
40
+ ```bash
41
+ 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
42
+ ```
43
+
44
+ Less VRAM: take the `w4a8` diffusion model and text encoder and the `int8_convrot` VAE instead.
45
+
46
+ 3. Open a workflow from `workflows/` (also under Templates in ComfyUI), type a short request and run.
47
+
48
+ Keep the prompt upsampler in the graph: it turns a short request, in any language, into the full prompt p-h3-image
49
+ needs. The workflows default to 8 megapixels and 8 steps.
50
+
51
+ Already have MiniMax-H3 (FL2VA) in ComfyUI? Add `loras/p-h3-image_lora_bf16.safetensors` and use the `lora` workflows.
52
+
53
+ ## Files
54
+
55
+ ```
56
+ ComfyUI/models/
57
+ β”œβ”€β”€ diffusion_models/ p-h3-image_{bf16,int8_convrot,w4a8}.safetensors
58
+ β”œβ”€β”€ text_encoders/ p-h3-image_text_encoder_{bf16,int8_convrot,w4a8}.safetensors
59
+ β”‚ p-h3-image_prompt_upsampler_{bf16,int8_convrot,w4a8}.safetensors
60
+ β”œβ”€β”€ vae/ p-h3-image_vae_{bf16,int8_convrot}.safetensors
61
+ └── loras/ p-h3-image_lora_bf16.safetensors
62
+ ```
63
+
64
+ ## License
65
+
66
+ The p-h3-image weights are under the MiniMax H3 Community License ([LICENSE](LICENSE)), the prompt upsampler under
67
+ Apache 2.0 ([LICENSE-APACHE](LICENSE-APACHE)). See [NOTICE](NOTICE).