Text-to-Image
Diffusion Single File
MiniMax H3
Pruna AI
English
comfyui
image-to-image
image-generation
image-editing
prompt-upsampling
lora
int8
4-bit precision
Instructions to use PrunaAI/P-H3-Image-Comfy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use PrunaAI/P-H3-Image-Comfy with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Pruna AI
How to use PrunaAI/P-H3-Image-Comfy with Pruna AI:
from pruna import PrunaModel model = PrunaModel.from_pretrained("PrunaAI/P-H3-Image-Comfy") - Notebooks
- Google Colab
- Kaggle
Use ComfyUI's ManualSigmas and bypass LoRA loader in the workflows
Browse files
README.md
CHANGED
|
@@ -151,9 +151,10 @@ NVIDIA Ampere or newer and AMD RDNA3/4.
|
|
| 151 |
| `p-h3-image_lora_text_to_image.json` | Text-to-image with the LoRA on your own MiniMax-H3 |
|
| 152 |
| `p-h3-image_lora_edit.json` | Editing with the LoRA on your own MiniMax-H3 |
|
| 153 |
|
| 154 |
-
The pack adds loaders for the model, text encoder
|
| 155 |
-
|
| 156 |
-
|
|
|
|
| 157 |
|
| 158 |
## Recommended resolutions
|
| 159 |
|
|
|
|
| 151 |
| `p-h3-image_lora_text_to_image.json` | Text-to-image with the LoRA on your own MiniMax-H3 |
|
| 152 |
| `p-h3-image_lora_edit.json` | Editing with the LoRA on your own MiniMax-H3 |
|
| 153 |
|
| 154 |
+
The pack adds loaders for the model, text encoder and VAE, an Empty Latent node, an Edit node and two prompt upsampler
|
| 155 |
+
nodes, one for text-to-image and one for edits. Sampling uses ComfyUI's ManualSigmas with the 8-step grid, Basic Guider,
|
| 156 |
+
`euler` and Sampler Custom Advanced, with no CFG or negative prompt. The LoRA loads with ComfyUI's Load LoRA (Bypass,
|
| 157 |
+
Model Only).
|
| 158 |
|
| 159 |
## Recommended resolutions
|
| 160 |
|
workflows/p-h3-image_edit.json
CHANGED
|
@@ -441,7 +441,7 @@
|
|
| 441 |
},
|
| 442 |
{
|
| 443 |
"id": 7,
|
| 444 |
-
"type": "
|
| 445 |
"pos": [
|
| 446 |
1340,
|
| 447 |
560
|
|
@@ -475,9 +475,9 @@
|
|
| 475 |
}
|
| 476 |
],
|
| 477 |
"properties": {
|
| 478 |
-
"Node name for S&R": "
|
| 479 |
-
"cnr_id": "
|
| 480 |
-
"ver": "0.
|
| 481 |
},
|
| 482 |
"widgets_values": [
|
| 483 |
"1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
|
|
|
|
| 441 |
},
|
| 442 |
{
|
| 443 |
"id": 7,
|
| 444 |
+
"type": "ManualSigmas",
|
| 445 |
"pos": [
|
| 446 |
1340,
|
| 447 |
560
|
|
|
|
| 475 |
}
|
| 476 |
],
|
| 477 |
"properties": {
|
| 478 |
+
"Node name for S&R": "ManualSigmas",
|
| 479 |
+
"cnr_id": "comfy-core",
|
| 480 |
+
"ver": "0.43.0"
|
| 481 |
},
|
| 482 |
"widgets_values": [
|
| 483 |
"1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
|
workflows/p-h3-image_lora_edit.json
CHANGED
|
@@ -441,7 +441,7 @@
|
|
| 441 |
},
|
| 442 |
{
|
| 443 |
"id": 7,
|
| 444 |
-
"type": "
|
| 445 |
"pos": [
|
| 446 |
1340,
|
| 447 |
560
|
|
@@ -475,9 +475,9 @@
|
|
| 475 |
}
|
| 476 |
],
|
| 477 |
"properties": {
|
| 478 |
-
"Node name for S&R": "
|
| 479 |
-
"cnr_id": "
|
| 480 |
-
"ver": "0.
|
| 481 |
},
|
| 482 |
"widgets_values": [
|
| 483 |
"1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
|
|
@@ -774,7 +774,7 @@
|
|
| 774 |
},
|
| 775 |
{
|
| 776 |
"id": 14,
|
| 777 |
-
"type": "
|
| 778 |
"pos": [
|
| 779 |
0,
|
| 780 |
220
|
|
@@ -803,12 +803,12 @@
|
|
| 803 |
}
|
| 804 |
},
|
| 805 |
{
|
| 806 |
-
"localized_name": "
|
| 807 |
-
"name": "
|
| 808 |
"type": "FLOAT",
|
| 809 |
"link": null,
|
| 810 |
"widget": {
|
| 811 |
-
"name": "
|
| 812 |
}
|
| 813 |
}
|
| 814 |
],
|
|
@@ -823,9 +823,9 @@
|
|
| 823 |
}
|
| 824 |
],
|
| 825 |
"properties": {
|
| 826 |
-
"Node name for S&R": "
|
| 827 |
-
"cnr_id": "
|
| 828 |
-
"ver": "0.
|
| 829 |
"models": [
|
| 830 |
{
|
| 831 |
"name": "p-h3-image_lora_bf16.safetensors",
|
|
|
|
| 441 |
},
|
| 442 |
{
|
| 443 |
"id": 7,
|
| 444 |
+
"type": "ManualSigmas",
|
| 445 |
"pos": [
|
| 446 |
1340,
|
| 447 |
560
|
|
|
|
| 475 |
}
|
| 476 |
],
|
| 477 |
"properties": {
|
| 478 |
+
"Node name for S&R": "ManualSigmas",
|
| 479 |
+
"cnr_id": "comfy-core",
|
| 480 |
+
"ver": "0.43.0"
|
| 481 |
},
|
| 482 |
"widgets_values": [
|
| 483 |
"1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
|
|
|
|
| 774 |
},
|
| 775 |
{
|
| 776 |
"id": 14,
|
| 777 |
+
"type": "LoraLoaderBypassModelOnly",
|
| 778 |
"pos": [
|
| 779 |
0,
|
| 780 |
220
|
|
|
|
| 803 |
}
|
| 804 |
},
|
| 805 |
{
|
| 806 |
+
"localized_name": "strength_model",
|
| 807 |
+
"name": "strength_model",
|
| 808 |
"type": "FLOAT",
|
| 809 |
"link": null,
|
| 810 |
"widget": {
|
| 811 |
+
"name": "strength_model"
|
| 812 |
}
|
| 813 |
}
|
| 814 |
],
|
|
|
|
| 823 |
}
|
| 824 |
],
|
| 825 |
"properties": {
|
| 826 |
+
"Node name for S&R": "LoraLoaderBypassModelOnly",
|
| 827 |
+
"cnr_id": "comfy-core",
|
| 828 |
+
"ver": "0.43.0",
|
| 829 |
"models": [
|
| 830 |
{
|
| 831 |
"name": "p-h3-image_lora_bf16.safetensors",
|
workflows/p-h3-image_lora_text_to_image.json
CHANGED
|
@@ -273,7 +273,7 @@
|
|
| 273 |
},
|
| 274 |
{
|
| 275 |
"id": 6,
|
| 276 |
-
"type": "
|
| 277 |
"pos": [
|
| 278 |
1340,
|
| 279 |
560
|
|
@@ -307,9 +307,9 @@
|
|
| 307 |
}
|
| 308 |
],
|
| 309 |
"properties": {
|
| 310 |
-
"Node name for S&R": "
|
| 311 |
-
"cnr_id": "
|
| 312 |
-
"ver": "0.
|
| 313 |
},
|
| 314 |
"widgets_values": [
|
| 315 |
"1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
|
|
@@ -606,7 +606,7 @@
|
|
| 606 |
},
|
| 607 |
{
|
| 608 |
"id": 13,
|
| 609 |
-
"type": "
|
| 610 |
"pos": [
|
| 611 |
0,
|
| 612 |
220
|
|
@@ -635,12 +635,12 @@
|
|
| 635 |
}
|
| 636 |
},
|
| 637 |
{
|
| 638 |
-
"localized_name": "
|
| 639 |
-
"name": "
|
| 640 |
"type": "FLOAT",
|
| 641 |
"link": null,
|
| 642 |
"widget": {
|
| 643 |
-
"name": "
|
| 644 |
}
|
| 645 |
}
|
| 646 |
],
|
|
@@ -655,9 +655,9 @@
|
|
| 655 |
}
|
| 656 |
],
|
| 657 |
"properties": {
|
| 658 |
-
"Node name for S&R": "
|
| 659 |
-
"cnr_id": "
|
| 660 |
-
"ver": "0.
|
| 661 |
"models": [
|
| 662 |
{
|
| 663 |
"name": "p-h3-image_lora_bf16.safetensors",
|
|
|
|
| 273 |
},
|
| 274 |
{
|
| 275 |
"id": 6,
|
| 276 |
+
"type": "ManualSigmas",
|
| 277 |
"pos": [
|
| 278 |
1340,
|
| 279 |
560
|
|
|
|
| 307 |
}
|
| 308 |
],
|
| 309 |
"properties": {
|
| 310 |
+
"Node name for S&R": "ManualSigmas",
|
| 311 |
+
"cnr_id": "comfy-core",
|
| 312 |
+
"ver": "0.43.0"
|
| 313 |
},
|
| 314 |
"widgets_values": [
|
| 315 |
"1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
|
|
|
|
| 606 |
},
|
| 607 |
{
|
| 608 |
"id": 13,
|
| 609 |
+
"type": "LoraLoaderBypassModelOnly",
|
| 610 |
"pos": [
|
| 611 |
0,
|
| 612 |
220
|
|
|
|
| 635 |
}
|
| 636 |
},
|
| 637 |
{
|
| 638 |
+
"localized_name": "strength_model",
|
| 639 |
+
"name": "strength_model",
|
| 640 |
"type": "FLOAT",
|
| 641 |
"link": null,
|
| 642 |
"widget": {
|
| 643 |
+
"name": "strength_model"
|
| 644 |
}
|
| 645 |
}
|
| 646 |
],
|
|
|
|
| 655 |
}
|
| 656 |
],
|
| 657 |
"properties": {
|
| 658 |
+
"Node name for S&R": "LoraLoaderBypassModelOnly",
|
| 659 |
+
"cnr_id": "comfy-core",
|
| 660 |
+
"ver": "0.43.0",
|
| 661 |
"models": [
|
| 662 |
{
|
| 663 |
"name": "p-h3-image_lora_bf16.safetensors",
|
workflows/p-h3-image_text_to_image.json
CHANGED
|
@@ -273,7 +273,7 @@
|
|
| 273 |
},
|
| 274 |
{
|
| 275 |
"id": 6,
|
| 276 |
-
"type": "
|
| 277 |
"pos": [
|
| 278 |
1340,
|
| 279 |
560
|
|
@@ -307,9 +307,9 @@
|
|
| 307 |
}
|
| 308 |
],
|
| 309 |
"properties": {
|
| 310 |
-
"Node name for S&R": "
|
| 311 |
-
"cnr_id": "
|
| 312 |
-
"ver": "0.
|
| 313 |
},
|
| 314 |
"widgets_values": [
|
| 315 |
"1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
|
|
|
|
| 273 |
},
|
| 274 |
{
|
| 275 |
"id": 6,
|
| 276 |
+
"type": "ManualSigmas",
|
| 277 |
"pos": [
|
| 278 |
1340,
|
| 279 |
560
|
|
|
|
| 307 |
}
|
| 308 |
],
|
| 309 |
"properties": {
|
| 310 |
+
"Node name for S&R": "ManualSigmas",
|
| 311 |
+
"cnr_id": "comfy-core",
|
| 312 |
+
"ver": "0.43.0"
|
| 313 |
},
|
| 314 |
"widgets_values": [
|
| 315 |
"1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0"
|