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
Run this model with HF Jobs
Run Goghor/P-Image-OSS-Comfy on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Goghor/P-Image-OSS-Comfy. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Goghor/P-Image-OSS-Comfy on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Goghor/P-Image-OSS-Comfy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use Goghor/P-Image-OSS-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 Goghor/P-Image-OSS-Comfy with Pruna AI:
from pruna import PrunaModel model = PrunaModel.from_pretrained("Goghor/P-Image-OSS-Comfy") - Notebooks
- Google Colab
- Kaggle
Duplicate from PrunaAI/P-Image-OSS-Comfy
Browse filesCo-authored-by: Nils Fleischmann <nifleisch@users.noreply.huggingface.co>
Files changed (38)
- .gitattributesAdded+38
- LICENSEAdded+84
- LICENSE-APACHEAdded+202
- NOTICEAdded+14
- README.mdAdded+281
- assets/multi_image.jpgAdded
- assets/p-image-oss-comfy.jpgAdded
- assets/quantization.jpgAdded
- assets/resolutions.pngAdded
- assets/weights.pngAdded
- diffusion_models/p-h3-image_bf16.safetensorsAdded+3
- diffusion_models/p-h3-image_int8_convrot.safetensorsAdded+3
- diffusion_models/p-h3-image_w4a8.safetensorsAdded+3
- diffusion_models/p-image-oss_bf16.safetensorsAdded+3
- diffusion_models/p-image-oss_int8_convrot.safetensorsAdded+3
- diffusion_models/p-image-oss_w4a8.safetensorsAdded+3
- loras/p-h3-image_lora_bf16.safetensorsAdded+3
- loras/p-image-oss_lora_bf16.safetensorsAdded+3
- text_encoders/p-h3-image_prompt_upsampler_bf16.safetensorsAdded+3
- text_encoders/p-h3-image_prompt_upsampler_int8_convrot.safetensorsAdded+3
- text_encoders/p-h3-image_prompt_upsampler_w4a8.safetensorsAdded+3
- text_encoders/p-h3-image_text_encoder_bf16.safetensorsAdded+3
- text_encoders/p-h3-image_text_encoder_int8_convrot.safetensorsAdded+3
- text_encoders/p-h3-image_text_encoder_w4a8.safetensorsAdded+3
- text_encoders/p-image-oss_prompt_upsampler_bf16.safetensorsAdded+3
- text_encoders/p-image-oss_prompt_upsampler_int8_convrot.safetensorsAdded+3
- text_encoders/p-image-oss_prompt_upsampler_w4a8.safetensorsAdded+3
- text_encoders/p-image-oss_text_encoder_bf16.safetensorsAdded+3
- text_encoders/p-image-oss_text_encoder_int8_convrot.safetensorsAdded+3
- text_encoders/p-image-oss_text_encoder_w4a8.safetensorsAdded+3
- vae/p-h3-image_vae_bf16.safetensorsAdded+3
- vae/p-h3-image_vae_int8_convrot.safetensorsAdded+3
- vae/p-image-oss_vae_bf16.safetensorsAdded+3
- vae/p-image-oss_vae_int8_convrot.safetensorsAdded+3
- workflows/p-image-oss_edit.jsonAdded+1905
- workflows/p-image-oss_lora_edit.jsonAdded+1988
- workflows/p-image-oss_lora_text_to_image.jsonAdded+1512
- workflows/p-image-oss_text_to_image.jsonAdded+1429
1234567891011121314151617181920212223242526272829303132333435363738*.7z filter=lfs diff=lfs merge=lfs -text*.arrow filter=lfs diff=lfs merge=lfs -text*.bin filter=lfs diff=lfs merge=lfs -text*.bz2 filter=lfs diff=lfs merge=lfs -text*.ckpt filter=lfs diff=lfs merge=lfs -text*.ftz filter=lfs diff=lfs merge=lfs -text*.gz filter=lfs diff=lfs merge=lfs -text*.h5 filter=lfs diff=lfs merge=lfs -text*.joblib filter=lfs diff=lfs merge=lfs -text*.lfs.* filter=lfs diff=lfs merge=lfs -text*.mlmodel filter=lfs diff=lfs merge=lfs -text*.model filter=lfs diff=lfs merge=lfs -text*.msgpack filter=lfs diff=lfs merge=lfs -text*.npy filter=lfs diff=lfs merge=lfs -text*.npz filter=lfs diff=lfs merge=lfs -text*.onnx filter=lfs diff=lfs merge=lfs -text*.ot filter=lfs diff=lfs merge=lfs -text*.parquet filter=lfs diff=lfs merge=lfs -text*.pb filter=lfs diff=lfs merge=lfs -text*.pickle filter=lfs diff=lfs merge=lfs -text*.pkl filter=lfs diff=lfs merge=lfs -text*.pt filter=lfs diff=lfs merge=lfs -text*.pth filter=lfs diff=lfs merge=lfs -text*.rar filter=lfs diff=lfs merge=lfs -text*.safetensors filter=lfs diff=lfs merge=lfs -textsaved_model/**/* filter=lfs diff=lfs merge=lfs -text*.tar.* filter=lfs diff=lfs merge=lfs -text*.tar filter=lfs diff=lfs merge=lfs -text*.tflite filter=lfs diff=lfs merge=lfs -text*.tgz filter=lfs diff=lfs merge=lfs -text*.wasm filter=lfs diff=lfs merge=lfs -text*.xz filter=lfs diff=lfs merge=lfs -text*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textassets/multi_image.jpg filter=lfs diff=lfs merge=lfs -textassets/p-image-oss-comfy.jpg filter=lfs diff=lfs merge=lfs -textassets/quantization.jpg filter=lfs diff=lfs merge=lfs -text123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384MiniMax H3 COMMUNITY LICENSE AGREEMENTMiniMax H3 release date/License date: August 2, 2026.The scope of this License Agreement (this “Agreement”) is expressly limited to the “Applicable Territory” as defined below.By clicking to accept, or by using, reproducing, modifying, distributing, running, or displaying any portion or element of the MiniMax H3 Works (including through any Hosted Services) in any manner, you acknowledge and accept the terms of this Agreement, and this Agreement shall take immediate effect upon the occurrence of such act.I. Definitions1. “Acceptable Use Policy” means the policy published by MiniMax in Exhibit A.2. “Agreement” means the terms and conditions set forth herein that govern the use, reproduction, distribution, modification, running, and display of the MiniMax H3 Works or any portion or element thereof.3. “Applicable Territory” means worldwide, excluding the Excluded Territories.4. “Documentation” means the specifications, manuals, and documentation concerning MiniMax H3 that are publicly released by MiniMax.5. “Excluded Territories” means the European Union, the United Kingdom, the Republic of Korea and the United States of America. 6. “MiniMax H3” means the video generation model, together with its software and algorithms, including trained model weights, parameters (including optimizer states), machine-learning model code, inference-supporting code, and other elements thereof made publicly available by Us, as released at https://huggingface.co/MiniMaxAI/MiniMax-H3.7. “MiniMax H3 Works” means (i) the Materials, (ii) the Model Derivatives, and (iii) all derivatives thereof.8. “Hosted Services” means hosted services provided via application programming interfaces (APIs), web access, or any other electronic or remote means.9. “Licensee,” “you,” or “your” means the natural or legal person exercising rights and/or using the MiniMax H3 Works for any purpose in any field of use under this Agreement.10. “Materials” means, collectively, MiniMax H3 and the Documentation (and any portion thereof), in each case as made available by MiniMax under this Agreement and proprietary to MiniMax.11. “Model Derivatives” means all of the following: (i) any modification of MiniMax H3 or any Model Derivative thereof; (ii) any work based on MiniMax H3 or any Model Derivative thereof; or (iii) any other machine learning model created by transferring the patterns of the weights, parameters, operational patterns, or Outputs of MiniMax H3 or any Model Derivative thereof to another model, such that the latter model exhibits behavior similar to MiniMax H3 or its Model Derivatives, including by distillation methods, methods using intermediate data representations, or methods based on training using synthetic-data Outputs generated by MiniMax H3 or its Model Derivatives. For the avoidance of doubt, Outputs are not deemed Model Derivatives.12. “Output” means any result of operating or otherwise using MiniMax H3 or any Model Derivatives (including through Hosted Services).13. “Third Party” means any natural or legal person that is not under common control with us or with you.14. “Including” means “including but not limited to.”15. “We,” “Us” or “MiniMax” means Nanonoble Pte. Ltd..II. Grant of RightsSolely within the Applicable Territory, we grant you a non-exclusive, non-transferable, royalty-free, limited license to use, reproduce, distribute, create derivative works (including Model Derivatives), and modify the Materials in accordance with the terms of this Agreement and the Acceptable Use Policy, based on the intellectual property and other rights owned by MiniMax that are embodied in or used by the Materials. You shall not violate (or encourage or permit any person to violate) any term of this Agreement or the Acceptable Use Policy.We will continuously evaluate the applicable laws, regulations and compliance requirements for the Excluded Territories. In the meantime, should any person in such Excluded Territories be interested in deploying our models, you are welcome to contact us about obtaining a license, which will be granted based on robust controls and guardrails for purposes of complying with the laws, regulations and compliance requirements of the Excluded Territories.III. Distribution and RedistributionSubject to and conditioned on your continuing compliance with this Agreement, including its territorial restrictions and the Acceptable Use Policy, and solely within the Applicable Territory, you may distribute or make available the MiniMax H3 Works to Third Parties within the Applicable Territory; provided, that all of the following conditions are met:1. You must provide a copy of this Agreement to all such Third Parties who receive the MiniMax H3 Works or use your products or services related thereto;2. You must cause any modified files to carry prominent notices stating that you have modified such files;3. You are encouraged to: a. display a notice on any product or service developed using MiniMax H3 indicating that the product or service is “Powered by MiniMax H3”; b. add an AI-generation identifier to files produced using generative AI models including MiniMax H3; and c. publish at least one technical blog post or a public statement describing your experience using MiniMax H3 Works;4. All distributions to Third Parties (other than through Hosted Services) must be accompanied by a “NOTICE” text file containing the following notice: “MiniMax H3 is licensed under the MiniMax H3 Community License Agreement, Copyright © 2026 MiniMax. All Rights Reserved.”You may add your own copyright notices on your modifications; except as provided in this Section and in Section V, however, you may not impose additional or different terms and conditions on the use, reproduction, or distribution of your modifications or of any aggregate Model Derivatives, and your use, reproduction, modification, distribution, running, and display of the work must otherwise comply with the terms and conditions of this Agreement (including the provisions concerning the Applicable Territory). If you receive the MiniMax H3 Works from a Licensee as part of an integrated end-user product, the provisions of Section III of this Agreement do not apply to you, but Section V and Exhibit A remain applicable.IV. Additional Commercial Terms1. You shall obtain a separate, prior written authorization from MiniMax by contacting api@minimax.io with the subject line “MiniMax H3 licensing - authorization request”, if your commercial products and services generate more than 20 million US dollars (or equivalent in other currencies) in yearly revenue.2. You shall prominently display “MiniMax H3”on the user interface of commercial product or service that uses MiniMax H3 or MiniMax H3 Works.V. Use Restrictions1. Your use of the MiniMax H3 Works must comply with applicable laws and regulations (including trade-compliance laws and regulations) and must comply with the Acceptable Use Policy for the MiniMax H3 Works, which is incorporated into this Agreement by reference. 2. Before providing access to the MiniMax H3 Works or any product, service, or Hosted Service incorporating them, you must bind each recipient or user to enforceable terms at least as protective as the use restrictions in this Section V and Exhibit A, and you must notify each recipient or user that those restrictions apply.3. You may not use the MiniMax H3 Works or any of their Outputs or results to improve any other artificial intelligence model (other than MiniMax H3 or its Model Derivatives).4. You may not use, reproduce, modify, distribute, or display the MiniMax H3 Works or any of their Outputs or results outside the Applicable Territory. Any such use outside the Applicable Territory is not authorized by this Agreement.5. If you provide or make available to any Third Party a product, service, or Hosted Service that permits the generation of Outputs using MiniMax H3 or any Model Derivative, you must, before making that product or service available and throughout its operation, implement, maintain, test, and periodically review reasonable and proportionate technical and organizational safeguards designed to prevent and mitigate access, uses, and Outputs that violate this Section V or Exhibit A, including uses or Outputs that infringe, misappropriate, or otherwise violate any Third Party’s intellectual-property or other rights. You must not knowingly disable, materially weaken, or permit the circumvention of those safeguards. You must maintain a reasonably accessible mechanism for reporting suspected violations. Upon receiving a good-faith report or otherwise obtaining actual knowledge of a violation, you must promptly investigate and take reasonable steps within your control to stop or mitigate the violation, including removing or disabling access to offending content or services and suspending or terminating repeat violators where appropriate. You are responsible for implementing and enforcing these requirements with respect to your products, services, systems, users, and downstream recipients.VI. Intellectual Property1. Subject to MiniMax’s rights in the MiniMax H3 Works (and the intellectual property therein), and to your compliance with the terms and conditions of this Agreement, as between you and MiniMax, you will own the derivative works and modifications of the Materials that you have created or had created, as well as any Model Derivatives.2. Except for the limited license expressly granted in this paragraph, no trademark license is granted under this Agreement; with respect to MiniMax H3 Works, the Licensee may not use any name or mark owned by or associated with MiniMax or any of its affiliates, except as reasonably and customarily necessary to describe and distribute the MiniMax H3 Works. MiniMax hereby grants you a license to use the “MiniMax H3” mark (the “Mark”) within the Applicable Territory solely for the purpose of complying with Section III.3; provided, that you comply with all applicable trademark-protection laws. All goodwill arising from your use of the Mark shall inure to the benefit of MiniMax.3. If you bring or assert any suit or other legal proceeding (including a cross-claim or counterclaim in any action) against us or any other natural or legal person alleging that the Materials, any Output, or any portion of the foregoing infringes any intellectual property right or other right owned by you or for which you can obtain a license, all licenses granted to you under this Agreement will terminate as of the date such suit or proceeding is filed. You shall defend, indemnify, and hold us harmless against any Third-Party claim arising out of or related to the use or distribution of the MiniMax H3 Works by you or by any Third Party.4. MiniMax claims no rights over the Outputs you generate. You and your users are entirely responsible for the Outputs and any subsequent use thereof.VII. Disclaimers and Limitations of Liability1. We have no obligation to support, update, provide training for, or develop any further version of the MiniMax H3 Works, or to grant any license with respect thereto.2. UNLESS AND ONLY TO THE EXTENT REQUIRED BY APPLICABLE LAW, THE MINIMAX H3 WORKS AND ANY OUTPUT AND RESULTS THEREFROM ARE PROVIDED “AS IS” WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES OF ANY KIND INCLUDING ANY WARRANTIES OF TITLE, MERCHANTABILITY, NONINFRINGEMENT, COURSE OF DEALING, USAGE OF TRADE, OR FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS OF USING, REPRODUCING, MODIFYING, PERFORMING, DISPLAYING OR DISTRIBUTING ANY OF THE MINIMAX H3 WORKS OR OUTPUTS AND ASSUME ANY AND ALL RISKS ASSOCIATED WITH YOUR OR A THIRD PARTY’S USE OR DISTRIBUTION OF ANY OF THE MINIMAX H3 WORKS OR OUTPUTS AND YOUR EXERCISE OF RIGHTS AND PERMISSIONS UNDER THIS AGREEMENT.3. TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL MINIMAX OR ITS AFFILIATES BE LIABLE UNDER ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE, PRODUCTS LIABILITY, OR OTHERWISE, FOR ANY DAMAGES, INCLUDING ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, EXEMPLARY, CONSEQUENTIAL OR PUNITIVE DAMAGES, OR LOST PROFITS OF ANY KIND ARISING FROM THIS AGREEMENT OR RELATED TO ANY OF THE MINIMAX H3 WORKS OR OUTPUTS, EVEN IF MINIMAX OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF ANY OF THE FOREGOING.VIII. Term and Termination1. This Agreement is effective from the moment you accept this Agreement or begin accessing the Materials, and, subject to your compliance with its terms and conditions, will remain in effect until terminated as provided herein.2. If you breach any term or condition of this Agreement, we have the right to terminate this Agreement. Upon termination, you must immediately cease accessing, using, and distributing the MiniMax H3 Works; delete or destroy all copies within your possession or control; and notify each downstream recipient that your authorization has ended. The obligations in the preceding sentence and Sections VI.1, VI.3, VII, and IX survive termination.IX. Governing Law and Jurisdiction1. This Agreement, and any dispute arising out of or related to this Agreement, shall be governed by the laws of the Hong Kong Special Administrative Region of the People’s Republic of China, without regard to its conflict-of-laws rules. The United Nations Convention on Contracts for the International Sale of Goods does not apply to this Agreement.2. Any dispute arising out of or related to this Agreement shall be subject to the exclusive jurisdiction of the courts of the Hong Kong Special Administrative Region of the People’s Republic of China with competent jurisdiction. Both MiniMax and the Licensee hereby consent to the exclusive jurisdiction of such courts for any such dispute.Additional Note: Please note that the encoder of MiniMax H3 uses Qwen3-VL-32B, which is licensed under Apache 2.0 License: https://github.com/QwenLM/Qwen3-VL/blob/main/LICENSE.
Exhibit A — Acceptable Use PolicyMiniMax reserves the right to update this Acceptable Use Policy from time to time. Last revised: August 2, 2026.MiniMax is committed to promoting the safe and fair use of its tools and features, including MiniMax H3. You agree not to use MiniMax H3, any Model Derivatives, or any Output in any of the following ways:1. Use outside the Applicable Territory;2. Use in any manner that violates any applicable national, federal, state, local, or international law, regulation, or other legal requirement, or that infringes, misappropriates, or otherwise violates any Third Party’s intellectual-property or other proprietary rights, including through unauthorized reproduction, distribution, public display, public performance, or creation of derivative works;3. Use in any manner that may harm yourself or others;4. Use to repurpose or distribute the Outputs of MiniMax H3 or any Model Derivatives in order to harm yourself or others;5. Use to circumvent or bypass any safety guardrails or safeguards we have implemented;6. Use in any manner that exploits or harms, or intends to exploit or harm, minors;7. Use to generate or disseminate verifiably false information and/or content for the purpose of harming others or influencing elections;8. Use to manufacture or facilitate false online engagement, including fake reviews and other means of false online engagement;9. Use to intentionally defame, disparage, or otherwise harass others;10. Use to generate and/or disseminate malware (including ransomware) or any other content intended to damage electronic systems;11. Use to generate or disseminate personally identifiable information for the purpose of harming others;12. Use to generate or disseminate information (including images, code, posts, or articles) in or to any public environment (including via bot tweets or similar means) without clearly and prominently disclosing that such information and/or content is machine-generated;13. Use to impersonate another person without that person’s consent, authorization, or lawful right to do so;14. Use to make high-risk automated decisions in critical domains that affect individual safety, rights, or well-being (such as law enforcement, immigration, healthcare or medical services, critical-infrastructure management, product-safety components, essential services, credit, employment, housing, education, social scoring, or insurance);15. Use in any manner that violates or disregards the social, ethical, or moral standards of other countries or regions;16. Use to carry out, assist, threaten, incite, plan, advocate for, or encourage violent extremism or terrorism;17. Use for any purpose intended to discriminate against, or harm, individuals or groups based on protected characteristics or categories, online or offline social behavior, or known or predicted personality traits;18. Use to intentionally exploit the vulnerabilities of specific populations based on age, social, physical, or psychological characteristics, so as to materially distort the behavior of a member of that group in a manner that causes, or is likely to cause, physical or psychological harm to that person or to others;19. Use for military purposes;20. Use to engage in any unauthorized or unlicensed professional activity, including but not limited to financial, legal, medical or healthcare, or other professional practice.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2026 Alibaba Cloud
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.1234567891011121314p-image-oss for ComfyUICopyright 2026 Pruna AI
The files in this repository were modified by Pruna AI.
diffusion_models/, loras/, vae/ and text_encoders/p-h3-image_text_encoder_*.safetensors p-image-oss, based on MiniMax-H3 by MiniMax (https://huggingface.co/MiniMaxAI/MiniMax-H3), under the MiniMax H3 Community License Agreement, see LICENSE. The text encoder is also based on Qwen3-VL-4B by the Qwen team (https://huggingface.co/Qwen/Qwen3-VL-4B-Instruct); its Qwen3-VL-4B parts are under the Apache License 2.0, see LICENSE-APACHE.
text_encoders/p-h3-image_prompt_upsampler_*.safetensors The p-image-oss prompt upsampler, based on Qwen3.5-9B by the Qwen team (https://huggingface.co/Qwen/Qwen3.5-9B), under the Apache License 2.0, see LICENSE-APACHE.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281---license: otherlicense_name: minimax-h3-community-license-agreementlicense_link: LICENSEbase_model: PrunaAI/P-Image-OSSbase_model_relation: quantizedpipeline_tag: text-to-imagelanguage:- entags:- comfyui- diffusion-single-file- text-to-image- image-to-image- image-generation- image-editing- prompt-upsampling- lora- int8- 4-bit- minimax-h3- pruna-ai---<!-- header start --><p align="center"> <img src="assets/p-image-oss-comfy.jpg" width="800"></p><!-- header end -->
<p align="center"> <a href="https://github.com/PrunaAI/pruna"> <img src="https://img.shields.io/badge/GitHub-PrunaAI-9334E9?style=plastic&logo=github&logoColor=white" alt="GitHub"> </a> <a href="https://twitter.com/PrunaAI"> <img src="https://img.shields.io/badge/Twitter%2FX-@PrunaAI-9334E9?style=plastic&logo=x&logoColor=white" alt="Twitter/X"> </a> <a href="https://www.linkedin.com/company/pruna-ai"> <img src="https://img.shields.io/badge/LinkedIn-PrunaAI-9334E9?style=plastic&logo=linkedin&logoColor=white" alt="LinkedIn"> </a> <a href="https://discord.com/invite/JFQmtFKCjd"> <img src="https://img.shields.io/badge/Discord-Join%20us-9334E9?style=plastic&logo=discord&logoColor=white" alt="Discord"> </a> <a href="https://dashboard.pruna.ai/login?utm_source=huggingface&utm_medium=org_card&utm_campaign=hf_traffic"> <img src="https://img.shields.io/badge/Performance%20Models-Try%20them%20now-9334E9?style=plastic&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MTEiIGhlaWdodD0iNDc3IiBmaWxsPSJub25lIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMjMuNzAzIDMwMC41MzJjLTEuODQyLS42NzQtNC4xNDItMS4wNTctNS43MDMtMi4wMjktMTIuNTU4LTcuODQ2LTguODM3LTI1LjE3MiA1LjI1NS0yOC4zNjFhLjY2LjY2IDAgMCAwIC4zNDgtLjIwMS42LjYgMCAwIDAgLjE1Ni0uMzZxNi40OS04MS45ODYgNjguNTc3LTEzNC42MjlhLjM0LjM0IDAgMCAwIC4wOTItLjEyNS4zMy4zMyAwIDAgMC0uMDI2LS4zLjMzLjMzIDAgMCAwLS4xMTItLjEwOGMtNC4xMTUtMi40OTctOC42NC00Ljc1LTEyLjM1My03LjQ0M2ExOTAgMTkwIDAgMCAxLTE4Ljc5NC0xNS41MjJjLTIuOTM2LTIuNzY4LTMuNzAzLTUuODkxLjU4LTcuNzdhLjUuNSAwIDAgMCAuMjgtLjYwOEM1MyA3NS45NSA0OC40MTcgNDguNTk5IDQ1LjUxOCAxOS42NXEtLjM5My0zLjg1Mi0uMjcxLTYuMzJhLjc1Ljc1IDAgMCAxIC4xMzQtLjQuNy43IDAgMCAxIC4zMjQtLjI1NXEyLjEwNC0uODQyIDUuODQ0LTEuNDMxYzU4LjExNC05LjEzNiAxMjcuMDA5IDguNDI1IDE0NC4zMDcgNzIuNjQ1cS4xMDMuMzY0LjE3OCAwIDUuMDk2LTI0LjA5NyA0LjYzOC00OC4xOTMtLjA0Ny0yLjc4NyAxLjg3OS00Ljc4OCAxMC40MDctMTAuOCAyNC43OTgtOC42ODdjNy40NzEgMS4wOTUgNy43NDIgNC42MzggNy4yMDkgMTEuMWEzMzQgMzM0IDAgMCAxLTExLjg4NCA2NC43MDYuMzg4LjM4OCAwIDAgMCAuMTgyLjQ0NC40LjQgMCAwIDAgLjE2NC4wNTFjOTIuNDIxIDguNDUzIDE1OC44NzUgNzkuNDg5IDE2NS4wODQgMTcxLjI3NGExIDEgMCAwIDAgLjEyOS40MjQuODMuODMgMCAwIDAgLjI5MS4yOTZjMy43NSAyLjE3IDYuMiAyLjIxNiA4Ljg1NSA2LjU5MiA1LjA2OCA4LjMzMiAxLjQ1IDIwLjQzMS04LjU5MyAyMi40N2ExLjcxIDEuNzEgMCAwIDAtMS4zNjUgMS40NjhxLTkuMTczIDc1LjM4My02NC43NjIgMTIzLjM3MWMtMjguNjIyIDI0LjcwNC02NS43NDQgMzkuNzQ5LTEwMy40NjQgNDIuMzMtMTAwLjM1OSA2Ljg2My0xODQuNDg2LTY1LjYyMi0xOTUuMDA1LTE2NS41N2EuOC44IDAgMCAwLS4xNTQtLjM5NS43NC43NCAwIDAgMC0uMzMzLS4yNU0xNTEuMzM4IDk3LjY0M2wxOS4wNjYgMTkuMzc1YS41LjUgMCAwIDAgLjE1LjEuNS41IDAgMCAwIC4xNzYuMDMxLjQzLjQzIDAgMCAwIC4zMTktLjE1cTEwLjg0Ny0xMi40NjUgNy40NDMtMjguMTU1Yy00LjUzNS0yMC44Ni0xOC41OTgtMzcuNjY0LTM3LjI3MS00OC4zODktMjEuMDY3LTEyLjY4OS00Ny44NjUtMTUuOTA1LTcyLjI4LTE0Ljg0cS0uNjE3LjAzLS4xNC40MjJsNjMuNDcyIDUzLjMyNmEuNC40IDAgMCAwIC4xNDQuMDcyLjM0LjM0IDAgMCAwIC4zMDEtLjA2OC4zLjMgMCAwIDAgLjA4OC0uMTI2IDQ3IDQ3IDAgMCAwIDMuMjgyLTEzLjA4MXEuMDIzLS4yMzMuMTI0LS40MzN0LjI2OC0uMzM0YzIuOTU1LTIuNDc4IDQuMTE1LjQ1OCA0LjY5NCAyLjg1MnEyLjMyIDkuNTM3LjE4NyAxOS4yNDRhMS40OCAxLjQ4IDAgMCAwIC40NCAxLjQwM3ptLTYuNTI2IDkuMjk1LTkuMDI0LTEwLjI3NmEuNy43IDAgMCAwLS4zNDMtLjIwNy44Ni44NiAwIDAgMC0uNDMzIDBxLTExLjY4IDMuMDIxLTIzLjExNC0uODIyYy01LjgxNi0zLjg1Mi0uNzU4LTUuNTE3IDIuNTktNS44MTZxNS45MTgtLjUzMyAxMS43MzUtMi41MDZhLjMuMyAwIDAgMCAuMTI3LS4wOC4zLjMgMCAwIDAgLjA3My0uMTMzLjM0LjM0IDAgMCAwIC4wMDEtLjE1NC4zNC4zNCAwIDAgMC0uMDctLjEzOGMtMTkuNDU5LTIxLjE1LTQwLjc2LTQwLjI0NS02Mi4yNzUtNTkuMjY0cS0uMzU2LS4zMTgtLjMxOC4xNWEzMDggMzA4IDAgMCAwIDguMzg3IDUxLjgwMmM0LjU5MiAxOC4zMDggMTMuNzU1IDM0LjE1NyAzMS44NDggNDEuODcycTI2LjI0NyAxMS4xODIgNTMuNzI5IDIuODMzYS41ODMuNTgzIDAgMCAwIC4yOTktLjg4OCAyMzUgMjM1IDAgMCAwLTEzLjIxMi0xNi4zNzNtNDUuMTI1IDQ5Ljc0NXEtMTIuNTk1IDEuMzE4LTIzLjQ0MS01LjU4M2MtMy4wNzctNC44OTkgMi4wNjYtOC41OTMgNS40NDItMTEuMTgzYS41ODQuNTg0IDAgMCAwIC4xODctLjcwMSA4LjQ2IDguNDYgMCAwIDAtMy40ODgtMy44NjIuODEuODEgMCAwIDAtLjgyMy4wMDljLTE2LjY5MSA5Ljk3Ny0zNC40ODUgMTAuNzgyLTUzLjE4NiA2Ljk2N3EtMS41Ny0uMzItMi44NTIuNjQ1LTYxLjQ1MSA0Ni4zNy02OS42NyAxMjMuOTEzLS42ODMgNi40MzMtMS44MDYgOC44MjdjLTIuOTQ1IDYuMzAyLTcuNzcgNy44NDUtMTQuMjIyIDkuNDcycS0uNDQ5LjExMyAwIC4yMzRjOS4yNzYgMi4zMSAxNC42OCA2LjE0MyAxNi4wNzQgMTYuNDAxIDguNDYyIDYyLjQ5IDQ4Ljk0IDExNy44NjQgMTEwLjM4MyAxMzguMzQxYTEwNCAxMDQgMCAwIDAgMTEuMDA2IDMuNTA3YzkyLjY0NSAyMy45MDkgMTgxLjIzMi0zMy42NjIgMjAyLjgwNC0xMjUuMDU0cTEuNjA5LTYuNzkgMy40NS0xOS4wODVjMS4xMDQtNy4zOTYgNS42OTUtMTIuMTE4IDEzLjE0Ny0xMy41NjguNDEyLS4wODQgMS45MDgtLjc1Ny4yODEtLjk5MS04LjA1MS0xLjE0MS0xMi4yNC02LjM4Ni0xMi45ODgtMTQuMTI4cS0xLjA3NS0xMS4yNS0yLjUxNi0xOS4wMzhjLTExLjc3Mi02My44OTItNTYuMzgzLTExNC41NzItMTE5LjI4NS0xMzEuNDZxLTE1LjEyLTMuODgtMzAuOTg3LTUuMjQ1YS4zODYuMzg2IDAgMCAwLS40MDIuMjUyIDE2OC42IDE2OC42IDAgMCAxLTExLjM1MiAyNC44NTRjLTQuMTMzIDcuNDA2LTguMTYzIDE1LjQ5NC0xNS43NTYgMTYuNDc2Ii8+PGNpcmNsZSBjeD0iMTQwLjA2NSIgY3k9IjI3My4wMyIgcj0iNTAuNjE4IiBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iOS4yMDMiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTQ2Ljk2NyAyNDIuMDkyYzE1LjY3MiAwIDI4LjM3NiAxMy45NjMgMjguMzc2IDMxLjE4OHMtMTIuNzA0IDMxLjE4OS0yOC4zNzYgMzEuMTg5LTI4LjM3Ny0xMy45NjQtMjguMzc3LTMxLjE4OWMwLTIuNjI1LjI5Ny01LjE3NC44NTItNy42MSAxLjYwNyAzLjcyNyA1LjMxMyA2LjMzOCA5LjYyOSA2LjMzOCA1Ljc4OSAwIDEwLjQ4MS00LjY5MyAxMC40ODItMTAuNDgycy00LjY5My0xMC40ODEtMTAuNDgyLTEwLjQ4MWMtLjc2MSAwLTEuNTA0LjA4My0yLjIxOS4yMzcgNS4xMzktNS42NzYgMTIuMjUzLTkuMTkgMjAuMTE1LTkuMTkiLz48Y2lyY2xlIGN4PSIyNjkuOTMyIiBjeT0iMjczLjAzIiByPSI1MC42MTgiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSI5LjIwMyIvPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0yNzYuODM0IDI0Mi4wOTJjMTUuNjcyIDAgMjguMzc2IDEzLjk2MyAyOC4zNzYgMzEuMTg4cy0xMi43MDQgMzEuMTg5LTI4LjM3NiAzMS4xODktMjguMzc3LTEzLjk2NC0yOC4zNzctMzEuMTg5YzAtMi42MjUuMjk3LTUuMTc0Ljg1My03LjYxIDEuNjA2IDMuNzI3IDUuMzEyIDYuMzM4IDkuNjI4IDYuMzM4IDUuNzg5IDAgMTAuNDgyLTQuNjkzIDEwLjQ4Mi0xMC40ODJzLTQuNjkzLTEwLjQ4MS0xMC40ODItMTAuNDgxYy0uNzYxIDAtMS41MDQuMDgzLTIuMjE5LjIzNyA1LjEzOS01LjY3NiAxMi4yNTQtOS4xOSAyMC4xMTUtOS4xOSIvPjxwYXRoIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSI5LjIwMyIgZD0iTTE3Ny4xMzUgMzQ1LjMyOGMuODk5LS4yNCAyLjgwMS0uMTk3IDYuMzA0LjQ2NCA2LjMxMSAxLjE5IDE2LjU4NSA0LjIyMSAyNi4xMjIgNC4yMjEgOS40NTIgMCAxNy4xMTgtMS45MjYgMjEuMzgzLTIuNjAzLjc3LS4xMjMgMS4zODUtLjE5OSAxLjg3OC0uMjM3LS4zNCAxMy44NDMtMTIuODkzIDI3LjcxLTI3Ljg2OCAyNy43MS0xNS4xNzIgMC0yNy44NzYtMTMuODM1LTI3Ljg3Ni0yOC44MTEgMC0uMzU3LjAyOS0uNTk2LjA1Ny0uNzQ0WiIvPjwvc3ZnPg==" alt="Performance Models"> </a></p><div align="center">
<h1 style="color: #9334E9;">P-Image-OSS</h1>
<h2>ComfyUI files for P-Image-OSS, based on MiniMax-H3</h2>
<h3> <span style="color: #9334E9;">bf16, int8 and w4a8</span> · <span style="color: #9334E9;">From 21 GB of VRAM</span> · <span style="color: #9334E9;">8 steps</span> · Text-to-image and editing with up to 8 images</h3>
</div>
This repository holds the ComfyUI files for **P-Image-OSS**, an image model for text-to-image generation and imageediting based on [MiniMax-H3](https://huggingface.co/MiniMaxAI/MiniMax-H3). It renders 8-megapixel images in 8 stepswithout CFG and edits with up to 8 input images. Every component comes in bf16 and in ComfyUI's native int8 and 4-bitformats. The smallest set is a 20 GB download that peaks at 21 GB of VRAM at 8 MP, against 143 GB of weights forMiniMax-H3.
ComfyUI supports P-Image-OSS natively, no custom nodes needed. The diffusers pipeline isin [PrunaAI/P-Image-OSS](https://huggingface.co/PrunaAI/P-Image-OSS). Try it in the [Hugging Face Spaces](https://huggingface.co/spaces/PrunaAI/P-Image-OSS). Read the full blog post [here](https://pruna.ai/blog/p-image-oss-launch).
## Quickstart
1. **Update ComfyUI.** P-Image-OSS support is on ComfyUI's master branch and ships with the next release. Until then, update to the latest ComfyUI from GitHub (nightly). The desktop app and Comfy Cloud follow stable releases and get it with the next one.
```bash cd ComfyUI && git pull ```
2. **Download one file per component** into `ComfyUI/models`. The bf16 set, a 55 GB download plus the prompt upsampler, peaks at about 56 GB of VRAM:
```bash hf download PrunaAI/P-Image-OSS-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 ```
The smallest set, a 20 GB download plus the prompt upsampler, peaks at about 21 GB of VRAM:
```bash hf download PrunaAI/P-Image-OSS-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 ```
3. **Open a workflow** from `workflows/`, type a short request and run. The workflows render at 8 MP in 8 steps through the prompt upsampler.
## Pick your files
Pick one file per component. Files of different precisions can be mixed freely.
| Component | Folder | bf16 | int8 (`int8_convrot`) | w4a8 ||---|---|:---:|:---:|:---:|| Diffusion model | `diffusion_models/` | 40.5 GB | 21.2 GB | 13.4 GB || Text encoder | `text_encoders/` | 9.1 GB | 5.1 GB | 3.6 GB || Prompt upsampler | `text_encoders/` | 19.3 GB | 9.7 GB | 6.7 GB || VAE | `vae/` | 5.6 GB | 3.1 GB | – || LoRA for MiniMax-H3 | `loras/` | 2.0 GB | – | – |
| Set (model, text encoder, VAE) | Download | Peak VRAM at 8 MP ||---|:---:|:---:|| bf16 | 55 GB | 56 GB || int8 | 30 GB | 31 GB || w4a8, int8 VAE | **20 GB** | **21 GB** |
<p align="center"> <img src="assets/weights.png" width="100%"></p>
*Weights on disk. MiniMax-H3 counts its transformer, text encoder and video VAE.*
The int8 set stays very close to bf16, often almost pixel for pixel. The w4a8 set keeps the quality but changes moreof the details and sometimes the composition. On a 48 GB L40S, where the bf16 set has to offload, the w4a8 set renders a2048 × 2048 image in 6.3 s instead of 19 s.
<p align="center"> <img src="assets/quantization.jpg" width="100%"></p>
*The same prompts and seed in bf16, int8 and w4a8, at 8 MP. The headers give the download size and the peak VRAM at8 MP.*
The quantized files use ComfyUI's native formats, need no calibration data and run on comfy-kitchen's INT8 kernels, forNVIDIA Ampere or newer and AMD RDNA3/4.
- **int8 (`int8_convrot`).** Weights are rotated with grouped Hadamard transforms to spread outliers, then stored as INT8 with per-row scales. Activations are quantized to INT8 on the fly.- **w4a8.** The same rotation, then 4-bit weights on a 16-level codebook with an FP8 scale for every 16 inputs, and INT8 activations. The layers most sensitive to 4-bit weights stay in int8.
## Workflows
| Workflow | What it does ||---|---|| `p-image-oss_text_to_image.json` | Text-to-image at 8 MP from a short request || `p-image-oss_edit.json` | Edits an image, with optional reference images || `p-image-oss_lora_text_to_image.json` | Text-to-image with the LoRA on your own MiniMax-H3 || `p-image-oss_lora_edit.json` | Editing with the LoRA on your own MiniMax-H3 |
The workflows use only ComfyUI's own nodes. Load Diffusion Model loads the model, followed by ModelSamplingMiniMaxH3 at1.0 for both shifts. Load CLIP (type `minimax`) loads the text encoder, Load VAE the VAE, and p-h3-image Conditioningturns the prompt and the images into the conditioning and the latent. The prompt upsampler runs on Generate Text, andsampling on ManualSigmas with the 8-step grid, Basic Guider, `euler` and Sampler Custom Advanced, with no CFG ornegative prompt. The LoRA loads with ComfyUI's Load LoRA (Bypass, Model Only).
## Recommended resolutions
<p align="center"> <img src="assets/resolutions.png" width="100%"></p>
| Aspect ratio | 8 MP (width × height) | 4 MP, for edits ||:---:|:---:|:---:|| 1:1 | **2912 × 2912** | 2048 × 2048 || 4:3 | **3360 × 2496** | 2368 × 1760 || 3:4 | **2496 × 3360** | 1760 × 2368 || 3:2 | **3552 × 2368** | 2496 × 1664 || 2:3 | **2368 × 3552** | 1664 × 2496 || 16:9 | **3872 × 2176** | 2720 × 1536 || 9:16 | **2176 × 3872** | 1536 × 2720 |
Text-to-image works best at 8 MP. In the workflows, Resolution Selector at 8 megapixels and a multiple of 32 givesthese sizes. Edits work best at 4 or 8 MP. In the edit workflows, Scale Image to Total Pixels brings `image_1`, theimage being edited, to 4 MP, and p-h3-image Conditioning generates the edit at its size unless `width` and `height` areset. Reference images above about 8 MP are scaled down.
## Prompt upsampler
P-Image-OSS is sensitive to prompting and renders full, specific prompts much better than short requests. The promptupsampler, based on Qwen3.5-9B, turns a one-line request into that prompt, and all example workflows use it. It thinksabout the request first and then writes the prompt.
It runs on ComfyUI's own nodes, the way FLUX.3 Klein's templates run theirs: Load CLIP (type `minimax`) and GenerateText, with greedy decoding, so a request always gives the same prompt.
- **Text-to-image.** Format Text turns the request into the upsampler's input, `Aspect ratio: 1:1` and `Request: ...` on two lines, and Generate Text runs with `thinking` on. Keep the aspect ratio the same as in Resolution Selector.- **Edits.** Format Text writes the upsampler's input with a `<Picture N>` block for every image, and the images reach Generate Text through Batch Images: `image_1` at 1 MP, the references padded to its size. The result is the edit prompt for p-h3-image Conditioning.- **Use prompt upsampler**, an If/Else switch, set to false sends the request to the model as it is.
The upsampler runs before P-Image-OSS, and ComfyUI moves it out of VRAM when P-Image-OSS needs the memory. Its output iscached, so it only runs again when the request or the images change.
| Upsampler file | Size | Peak VRAM | Time per prompt, L40S ||---|:---:|:---:|:---:|| `p-h3-image_prompt_upsampler_bf16` (recommended) | 19.3 GB | about 21 GB | about 7 s || `p-h3-image_prompt_upsampler_int8_convrot` | 9.7 GB | about 12 GB | about 13 s || `p-h3-image_prompt_upsampler_w4a8` | 6.7 GB | about 9 GB | about 11 s |
The w4a8 prompts differ most from bf16. Use the smaller files only when 21 GB does not fit.
## Editing
Connect the image to edit as `image_1` and up to 7 references after it, in the same order in Batch Images and onp-h3-image Conditioning, with a `<Picture N>` block in Upsampler input for every image. The request can name the imageshowever you like, such as "the hat from the second photo".
<p align="center"> <img src="assets/multi_image.jpg" width="100%"></p>
*Top, eight public-domain portraits and the dinner party P-Image-OSS composed from them, from a one-sentence request.Bottom, eight scientists at a poker table, seven presidents wading through the swamp with an astronaut, and charactersfrom our own renders in the same swamp.*
## Already have MiniMax-H3?
If you run MiniMax-H3 in ComfyUI, the 2 GB LoRA `loras/p-h3-image_lora_bf16.safetensors` runs P-Image-OSS on its FL2VAtransformer without a second large download. Load `minimax_h3_fl2va_bf16.safetensors` from[Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3) (the pruned and quantized FL2VA files work too),apply the LoRA with Load LoRA (Bypass, Model Only) at strength 1.0, and start from the `lora` workflows.
## Limitations
- **It is sensitive to prompting.** Keep the prompt upsampler in the graph. Hype words and very long prompts make images worse, and very short prompts give weak results without it.- **Hands can break, and small people in the background can come out distorted.** Rendering at 8 MP helps.- **Text is not fully reliable.** Small or dense text turns into pseudo-text, and longer passages sometimes get single letters wrong. Short quoted strings render well.- **Quantized files are not identical to bf16.** int8 stays very close, w4a8 changes more of the details.
## License
The P-Image-OSS weights are based on MiniMax-H3 and released under the [MiniMax H3 Community License](LICENSE). Pleaseread it before use. Among other terms, it excludes the European Union, the United Kingdom, the Republic of Korea andthe United States unless you have a separate license from MiniMax, and products built on it must show "Powered byMiniMax H3". The text encoder's Qwen3-VL-4B parts and the prompt upsampler, based on Qwen3.5-9B, are under the[Apache License 2.0](LICENSE-APACHE). See [NOTICE](NOTICE) for details.
## What's next?
- Compress your own models with [Pruna](https://github.com/PrunaAI/pruna) and give us a ⭐️ for more efficiency!- Want to use our optimized image models right away? Check [P-Image-Ideogram](https://www.pruna.ai/p-image-ideogram) and [P-Image-Edit](https://www.pruna.ai/p-image-edit).
<style>.model-button { display: inline-flex; flex-direction: row; justify-content: center; align-items: center; gap: 8px;
padding: 8px 20px; border: none; border-radius: 8px;
background: #9334e9; color: #ffffff;
font-size: 14px; font-weight: 400; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
box-sizing: border-box; overflow: visible; opacity: 1;}</style>
<a href="https://dashboard.pruna.ai/login?utm_source=huggingface&utm_medium=model_card&utm_campaign=hf_traffic" class="model-button">Try our models</a>123version https://git-lfs.github.com/spec/v1oid sha256:822f43d454a6139b16c976ad8854ece1914f38800f28fbd117759ca973739026size 40468411160123version https://git-lfs.github.com/spec/v1oid sha256:b156fd4fe9d169e58cb2b07f9594ec740ff8f0e052d62b009e6dd034de5865e7size 21213068840123version https://git-lfs.github.com/spec/v1oid sha256:12ea30d6fde736dd69ef16658ce9438823a06e351ac3fa335cc4a3ce6bb17a43size 13362068864123version https://git-lfs.github.com/spec/v1oid sha256:822f43d454a6139b16c976ad8854ece1914f38800f28fbd117759ca973739026size 40468411160123version https://git-lfs.github.com/spec/v1oid sha256:b156fd4fe9d169e58cb2b07f9594ec740ff8f0e052d62b009e6dd034de5865e7size 21213068840123version https://git-lfs.github.com/spec/v1oid sha256:12ea30d6fde736dd69ef16658ce9438823a06e351ac3fa335cc4a3ce6bb17a43size 13362068864123version https://git-lfs.github.com/spec/v1oid sha256:0e9013ae2873e3415dcb7bb59a9677293bdbdb6f663e138a79bb9bdced00ea61size 1956195360123version https://git-lfs.github.com/spec/v1oid sha256:0e9013ae2873e3415dcb7bb59a9677293bdbdb6f663e138a79bb9bdced00ea61size 1956195360123version https://git-lfs.github.com/spec/v1oid sha256:122b4a8cc63ab4ef21d81e54e761dcc8613ef55b3ad7205ac3a9d47d2414c94fsize 19306305552123version https://git-lfs.github.com/spec/v1oid sha256:281f9c90230cec3c2029d0761128868c21d1bc5b15fb742bde5a051119ad2f4esize 9748117724123version https://git-lfs.github.com/spec/v1oid sha256:74b206c0e3133aa0d1983fd8658c1526a53863cdcca5184538388e927f4e989bsize 6724096116123version https://git-lfs.github.com/spec/v1oid sha256:ae0c83cb35207dcc0a81361768094a5d1e3f92d1a95b8ff75a0328dfefbbc3d8size 9138027824123version https://git-lfs.github.com/spec/v1oid sha256:fb42c9ff0597e61729475d0b48b69b591ffe06d0b442a79dde22b14fadbe1c0fsize 5120870504123version https://git-lfs.github.com/spec/v1oid sha256:d4ae62d48e1de846dd55fc975623434e9326df3449601c4e15bea8b3ccd67293size 3575536021123version https://git-lfs.github.com/spec/v1oid sha256:122b4a8cc63ab4ef21d81e54e761dcc8613ef55b3ad7205ac3a9d47d2414c94fsize 19306305552123version https://git-lfs.github.com/spec/v1oid sha256:281f9c90230cec3c2029d0761128868c21d1bc5b15fb742bde5a051119ad2f4esize 9748117724123version https://git-lfs.github.com/spec/v1oid sha256:74b206c0e3133aa0d1983fd8658c1526a53863cdcca5184538388e927f4e989bsize 6724096116123version https://git-lfs.github.com/spec/v1oid sha256:ae0c83cb35207dcc0a81361768094a5d1e3f92d1a95b8ff75a0328dfefbbc3d8size 9138027824123version https://git-lfs.github.com/spec/v1oid sha256:fb42c9ff0597e61729475d0b48b69b591ffe06d0b442a79dde22b14fadbe1c0fsize 5120870504123version https://git-lfs.github.com/spec/v1oid sha256:d4ae62d48e1de846dd55fc975623434e9326df3449601c4e15bea8b3ccd67293size 3575536021123version https://git-lfs.github.com/spec/v1oid sha256:a1f2a7a98d0f2d1e761656fc5701dd43d7cf46d1bbdaa5d866a3e961e97487d7size 5559036680123version https://git-lfs.github.com/spec/v1oid sha256:583e0d43354b6b833aa9a0815a5fac831b1ef6d0c19a7eaa0616980a3dab5ffesize 3146996440123version https://git-lfs.github.com/spec/v1oid sha256:a1f2a7a98d0f2d1e761656fc5701dd43d7cf46d1bbdaa5d866a3e961e97487d7size 5559036680123version https://git-lfs.github.com/spec/v1oid sha256:583e0d43354b6b833aa9a0815a5fac831b1ef6d0c19a7eaa0616980a3dab5ffesize 3146996440123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905{ "id": "69d8656c-2ba3-4178-990f-1ff7029e5c2e", "revision": 0, "last_node_id": 31, "last_link_id": 46, "nodes": [ { "id": 4, "type": "LoadImage", "pos": [ 0, 834 ], "size": [ 320, 360 ], "flags": {}, "order": 0, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "COMBO", "widget": { "name": "image" }, "link": null }, { "localized_name": "choose file to upload", "name": "upload", "type": "IMAGEUPLOAD", "widget": { "name": "upload" }, "link": null } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 21, 42 ] }, { "localized_name": "MASK", "name": "MASK", "type": "MASK", "links": null } ], "title": "image_1 (edited)", "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ "example.png", "image" ], "widgets_values_named": { "image": "example.png", "upload": "image" } }, { "id": 5, "type": "LoadImage", "pos": [ 0, 1254 ], "size": [ 320, 360 ], "flags": {}, "order": 1, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "COMBO", "widget": { "name": "image" }, "link": null }, { "localized_name": "choose file to upload", "name": "upload", "type": "IMAGEUPLOAD", "widget": { "name": "upload" }, "link": null } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 23, 44 ] }, { "localized_name": "MASK", "name": "MASK", "type": "MASK", "links": null } ], "title": "image_2 (reference)", "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ "example.png", "image" ], "widgets_values_named": { "image": "example.png", "upload": "image" } }, { "id": 7, "type": "ManualSigmas", "pos": [ 1340, 560 ], "size": [ 320, 82 ], "flags": {}, "order": 2, "mode": 0, "inputs": [ { "localized_name": "sigmas", "name": "sigmas", "type": "STRING", "widget": { "name": "sigmas" }, "link": null } ], "outputs": [ { "localized_name": "SIGMAS", "name": "SIGMAS", "type": "SIGMAS", "links": [ 10 ] } ], "properties": { "Node name for S&R": "ManualSigmas", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0" ], "widgets_values_named": { "sigmas": "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0" } }, { "id": 8, "type": "BasicGuider", "pos": [ 1340, 100 ], "size": [ 240, 46 ], "flags": {}, "order": 22, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 36 }, { "localized_name": "conditioning", "name": "conditioning", "type": "CONDITIONING", "link": 45 } ], "outputs": [ { "localized_name": "GUIDER", "name": "GUIDER", "type": "GUIDER", "links": [ 8 ] } ], "properties": { "Node name for S&R": "BasicGuider", "cnr_id": "comfy-core", "ver": "0.43.0" } }, { "id": 9, "type": "KSamplerSelect", "pos": [ 1340, 220 ], "size": [ 270, 58 ], "flags": {}, "order": 3, "mode": 0, "inputs": [ { "localized_name": "sampler_name", "name": "sampler_name", "type": "COMBO", "widget": { "name": "sampler_name" }, "link": null } ], "outputs": [ { "localized_name": "SAMPLER", "name": "SAMPLER", "type": "SAMPLER", "links": [ 9 ] } ], "properties": { "Node name for S&R": "KSamplerSelect", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ "euler" ], "widgets_values_named": { "sampler_name": "euler" } }, { "id": 10, "type": "RandomNoise", "pos": [ 1340, 340 ], "size": [ 270, 82 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "localized_name": "noise_seed", "name": "noise_seed", "type": "INT", "widget": { "name": "noise_seed" }, "link": null } ], "outputs": [ { "localized_name": "NOISE", "name": "NOISE", "type": "NOISE", "links": [ 7 ] } ], "properties": { "Node name for S&R": "RandomNoise", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ 0, "randomize" ], "widgets_values_named": { "noise_seed": 0, "control_after_generate": "randomize" } }, { "id": 11, "type": "SamplerCustomAdvanced", "pos": [ 1700, 100 ], "size": [ 270, 330 ], "flags": {}, "order": 23, "mode": 0, "inputs": [ { "localized_name": "noise", "name": "noise", "type": "NOISE", "link": 7 }, { "localized_name": "guider", "name": "guider", "type": "GUIDER", "link": 8 }, { "localized_name": "sampler", "name": "sampler", "type": "SAMPLER", "link": 9 }, { "localized_name": "sigmas", "name": "sigmas", "type": "SIGMAS", "link": 10 }, { "localized_name": "latent_image", "name": "latent_image", "type": "LATENT", "link": 46 } ], "outputs": [ { "localized_name": "output", "name": "output", "type": "LATENT", "links": [ 12 ] }, { "localized_name": "denoised_output", "name": "denoised_output", "type": "LATENT", "links": [] } ], "properties": { "Node name for S&R": "SamplerCustomAdvanced", "cnr_id": "comfy-core", "ver": "0.43.0" } }, { "id": 12, "type": "VAEDecode", "pos": [ 2020, 100 ], "size": [ 210, 46 ], "flags": {}, "order": 24, "mode": 0, "inputs": [ { "localized_name": "samples", "name": "samples", "type": "LATENT", "link": 12 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 38 } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 14 ] } ], "properties": { "Node name for S&R": "VAEDecode", "cnr_id": "comfy-core", "ver": "0.43.0" } }, { "id": 13, "type": "SaveImage", "pos": [ 2280, 100 ], "size": [ 520, 560 ], "flags": {}, "order": 25, "mode": 0, "inputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "link": 14 }, { "localized_name": "filename_prefix", "name": "filename_prefix", "type": "STRING", "widget": { "name": "filename_prefix" }, "link": null } ], "outputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "links": null } ], "properties": { "Node name for S&R": "SaveImage", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ "p-image-oss" ], "widgets_values_named": { "filename_prefix": "p-image-oss" } }, { "id": 14, "type": "CLIPLoader", "pos": [ 0, 668 ], "size": [ 320, 106 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "localized_name": "clip_name", "name": "clip_name", "type": "COMBO", "widget": { "name": "clip_name" }, "link": null }, { "localized_name": "type", "name": "type", "type": "COMBO", "widget": { "name": "type" }, "link": null }, { "localized_name": "device", "name": "device", "shape": 7, "type": "COMBO", "widget": { "name": "device" }, "link": null } ], "outputs": [ { "localized_name": "CLIP", "name": "CLIP", "type": "CLIP", "links": [ 28 ] } ], "title": "p-image-oss prompt upsampler", "properties": { "Node name for S&R": "CLIPLoader", "cnr_id": "comfy-core", "ver": "0.43.0", "models": [ { "name": "p-h3-image_prompt_upsampler_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/P-Image-OSS-Comfy/resolve/main/text_encoders/p-h3-image_prompt_upsampler_bf16.safetensors", "directory": "text_encoders" } ] }, "widgets_values": [ "p-h3-image_prompt_upsampler_bf16.safetensors", "minimax", "default" ], "widgets_values_named": { "clip_name": "p-h3-image_prompt_upsampler_bf16.safetensors", "type": "minimax", "device": "default" } }, { "id": 16, "type": "PreviewAny", "pos": [ 1640, 700 ], "size": [ 480, 360 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "localized_name": "source", "name": "source", "type": "*", "link": 34 } ], "outputs": [ { "localized_name": "STRING", "name": "STRING", "type": "STRING", "links": [] } ], "title": "Upsampled prompt", "properties": { "Node name for S&R": "PreviewAny", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [], "widgets_values_named": {} }, { "id": 17, "type": "PrimitiveStringMultiline", "pos": [ 380, 700 ], "size": [ 400, 180 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "localized_name": "value", "name": "value", "type": "STRING", "widget": { "name": "value" }, "link": null } ], "outputs": [ { "localized_name": "STRING", "name": "STRING", "type": "STRING", "links": [ 20, 31 ] } ], "title": "Request", "properties": { "Node name for S&R": "PrimitiveStringMultiline" }, "widgets_values": [ "Put the hat from <Picture 2> on the person in <Picture 1>." ], "widgets_values_named": { "value": "Put the hat from <Picture 2> on the person in <Picture 1>." } }, { "id": 18, "type": "StringFormat", "pos": [ 380, 920 ], "size": [ 400, 240 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "localized_name": "a", "name": "values.a", "shape": 7, "type": "*", "link": 20 }, { "localized_name": "b", "name": "values.b", "shape": 7, "type": "*", "link": null }, { "localized_name": "f_string", "name": "f_string", "type": "STRING", "widget": { "name": "f_string" }, "link": null } ], "outputs": [ { "localized_name": "STRING", "name": "STRING", "type": "STRING", "links": [ 30 ] } ], "title": "Upsampler input", "properties": { "Node name for S&R": "StringFormat" }, "widgets_values": [ "<|im_start|>user\n<Picture 1>: <|vision_start|><|image_pad|><|vision_end|><Picture 2>: <|vision_start|><|image_pad|><|vision_end|>Edit <Picture 1>. {a}<|im_end|>\n<|im_start|>assistant\n<think>\n" ], "widgets_values_named": { "f_string": "<|im_start|>user\n<Picture 1>: <|vision_start|><|image_pad|><|vision_end|><Picture 2>: <|vision_start|><|image_pad|><|vision_end|>Edit <Picture 1>. {a}<|im_end|>\n<|im_start|>assistant\n<think>\n" } }, { "id": 19, "type": "ImageScaleToTotalPixels", "pos": [ 820, 700 ], "size": [ 300, 110 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 21 }, { "localized_name": "upscale_method", "name": "upscale_method", "type": "COMBO", "widget": { "name": "upscale_method" }, "link": null }, { "localized_name": "megapixels", "name": "megapixels", "type": "FLOAT", "widget": { "name": "megapixels" }, "link": null }, { "localized_name": "resolution_steps", "name": "resolution_steps", "type": "INT", "widget": { "name": "resolution_steps" }, "link": null } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 22, 26 ] } ], "title": "image_1 at 1 MP", "properties": { "Node name for S&R": "ImageScaleToTotalPixels" }, "widgets_values": [ "lanczos", 1, 1 ], "widgets_values_named": { "upscale_method": "lanczos", "megapixels": 1, "resolution_steps": 1 } }, { "id": 20, "type": "GetImageSize", "pos": [ 820, 850 ], "size": [ 220, 90 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 22 } ], "outputs": [ { "localized_name": "width", "name": "width", "type": "INT", "links": [ 24 ] }, { "localized_name": "height", "name": "height", "type": "INT", "links": [ 25 ] }, { "localized_name": "batch_size", "name": "batch_size", "type": "INT", "links": null } ], "properties": { "Node name for S&R": "GetImageSize" } }, { "id": 21, "type": "ResizeAndPadImage", "pos": [ 820, 980 ], "size": [ 300, 170 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 23 }, { "localized_name": "target_width", "name": "target_width", "type": "INT", "widget": { "name": "target_width" }, "link": 24 }, { "localized_name": "target_height", "name": "target_height", "type": "INT", "widget": { "name": "target_height" }, "link": 25 }, { "localized_name": "padding_color", "name": "padding_color", "type": "COMBO", "widget": { "name": "padding_color" }, "link": null }, { "localized_name": "interpolation", "name": "interpolation", "type": "COMBO", "widget": { "name": "interpolation" }, "link": null } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 27 ] } ], "title": "image_2 padded to image_1", "properties": { "Node name for S&R": "ResizeAndPadImage" }, "widgets_values": [ 512, 512, "white", "lanczos" ], "widgets_values_named": { "target_width": 512, "target_height": 512, "padding_color": "white", "interpolation": "lanczos" } }, { "id": 22, "type": "BatchImagesNode", "pos": [ 820, 1190 ], "size": [ 220, 86 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "localized_name": "image0", "name": "images.image0", "type": "IMAGE", "link": 26 }, { "localized_name": "image1", "name": "images.image1", "shape": 7, "type": "IMAGE", "link": 27 }, { "localized_name": "image2", "name": "images.image2", "shape": 7, "type": "IMAGE", "link": null } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 29 ] } ], "properties": { "Node name for S&R": "BatchImagesNode" } }, { "id": 23, "type": "TextGenerate", "pos": [ 1180, 700 ], "size": [ 400, 288 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 28 }, { "localized_name": "image", "name": "image", "shape": 7, "type": "IMAGE", "link": 29 }, { "localized_name": "video", "name": "video", "shape": 7, "type": "IMAGE", "link": null }, { "localized_name": "audio", "name": "audio", "shape": 7, "type": "AUDIO", "link": null }, { "localized_name": "system_prompt", "name": "system_prompt", "shape": 7, "type": "STRING", "link": null }, { "localized_name": "prompt", "name": "prompt", "type": "STRING", "widget": { "name": "prompt" }, "link": 30 }, { "localized_name": "max_length", "name": "max_length", "type": "INT", "widget": { "name": "max_length" }, "link": null }, { "localized_name": "Sampling Mode", "name": "sampling_mode", "type": "COMFY_DYNAMICCOMBO_V3", "widget": { "name": "sampling_mode" }, "link": null }, { "localized_name": "thinking", "name": "thinking", "shape": 7, "type": "BOOLEAN", "widget": { "name": "thinking" }, "link": null }, { "localized_name": "use_default_template", "name": "use_default_template", "shape": 7, "type": "BOOLEAN", "widget": { "name": "use_default_template" }, "link": null }, { "localized_name": "mtp", "name": "mtp", "shape": 7, "type": "COMBO", "widget": { "name": "mtp" }, "link": null } ], "outputs": [ { "localized_name": "generated_text", "name": "generated_text", "type": "STRING", "links": [ 32 ] }, { "localized_name": "thinking", "name": "thinking", "type": "STRING", "links": null } ], "title": "Prompt upsampler", "properties": { "Node name for S&R": "TextGenerate" }, "widgets_values": [ "", 3072, "off", false, true, "auto" ], "widgets_values_named": { "prompt": "", "max_length": 3072, "sampling_mode": "off", "thinking": false, "use_default_template": true, "mtp": "auto" } }, { "id": 24, "type": "ComfySwitchNode", "pos": [ 1180, 1030 ], "size": [ 300, 80 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "localized_name": "on_false", "name": "on_false", "shape": 7, "type": "*", "link": 31 }, { "localized_name": "on_true", "name": "on_true", "shape": 7, "type": "*", "link": 32 }, { "localized_name": "switch", "name": "switch", "type": "BOOLEAN", "widget": { "name": "switch" }, "link": null } ], "outputs": [ { "localized_name": "output", "name": "output", "type": "*", "links": [ 34, 41 ] } ], "title": "Use prompt upsampler", "properties": { "Node name for S&R": "ComfySwitchNode" }, "widgets_values": [ true ], "widgets_values_named": { "switch": true } }, { "id": 25, "type": "MarkdownNote", "pos": [ 380, 1200 ], "size": [ 400, 260 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [], "title": "Prompt upsampler", "properties": {}, "widgets_values": [ "**Prompt upsampler.** Type a short edit request in **Request**, with `<Picture 1>` for the image to edit and `<Picture 2>` for the reference. The upsampler (Generate Text) sees both images and turns the request into an edit brief, shown in the preview.\n\nFor another number of images, add or remove a `<Picture N>: <|vision_start|><|image_pad|><|vision_end|>` block in **Upsampler input** the image in **Batch Images**, padded to image_1's size, and the image on **p-h3-image Conditioning**.\n\n**image_1 at 4 MP** sets the size of the edit.\n\nSet **Use prompt upsampler** to false to send the request to the model as it is." ], "widgets_values_named": { "text": "**Prompt upsampler.** Type a short edit request in **Request**, with `<Picture 1>` for the image to edit and `<Picture 2>` for the reference. The upsampler (Generate Text) sees both images and turns the request into an edit brief, shown in the preview.\n\nFor another number of images, add or remove a `<Picture N>: <|vision_start|><|image_pad|><|vision_end|>` block in **Upsampler input** the image in **Batch Images**, padded to image_1's size, and the image on **p-h3-image Conditioning**.\n\n**image_1 at 4 MP** sets the size of the edit.\n\nSet **Use prompt upsampler** to false to send the request to the model as it is." }, "color": "#432", "bgcolor": "#653" }, { "id": 26, "type": "UNETLoader", "pos": [ 0, 100 ], "size": [ 270, 82 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "localized_name": "unet_name", "name": "unet_name", "type": "COMBO", "widget": { "name": "unet_name" }, "link": null }, { "localized_name": "weight_dtype", "name": "weight_dtype", "type": "COMBO", "widget": { "name": "weight_dtype" }, "link": null } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 35 ] } ], "properties": { "Node name for S&R": "UNETLoader", "models": [ { "name": "p-h3-image_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/P-Image-OSS-Comfy/resolve/main/diffusion_models/p-h3-image_bf16.safetensors", "directory": "diffusion_models" } ] }, "widgets_values": [ "p-h3-image_bf16.safetensors", "default" ], "widgets_values_named": { "unet_name": "p-h3-image_bf16.safetensors", "weight_dtype": "default" } }, { "id": 27, "type": "MiniMaxH3SigmaShift", "pos": [ 0, 242 ], "size": [ 277.2857421875, 82 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 35 }, { "localized_name": "shift_video", "name": "shift_video", "type": "FLOAT", "widget": { "name": "shift_video" }, "link": null }, { "localized_name": "shift_audio", "name": "shift_audio", "type": "FLOAT", "widget": { "name": "shift_audio" }, "link": null } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 36 ] } ], "properties": { "Node name for S&R": "MiniMaxH3SigmaShift" }, "widgets_values": [ 1, 1 ], "widgets_values_named": { "shift_video": 1, "shift_audio": 1 } }, { "id": 28, "type": "CLIPLoader", "pos": [ 0, 384 ], "size": [ 270, 106 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "localized_name": "clip_name", "name": "clip_name", "type": "COMBO", "widget": { "name": "clip_name" }, "link": null }, { "localized_name": "type", "name": "type", "type": "COMBO", "widget": { "name": "type" }, "link": null }, { "localized_name": "device", "name": "device", "shape": 7, "type": "COMBO", "widget": { "name": "device" }, "link": null } ], "outputs": [ { "localized_name": "CLIP", "name": "CLIP", "type": "CLIP", "links": [ 39 ] } ], "title": "p-image-oss text encoder", "properties": { "Node name for S&R": "CLIPLoader", "models": [ { "name": "p-h3-image_text_encoder_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/P-Image-OSS-Comfy/resolve/main/text_encoders/p-h3-image_text_encoder_bf16.safetensors", "directory": "text_encoders" } ] }, "widgets_values": [ "p-h3-image_text_encoder_bf16.safetensors", "minimax", "default" ], "widgets_values_named": { "clip_name": "p-h3-image_text_encoder_bf16.safetensors", "type": "minimax", "device": "default" } }, { "id": 29, "type": "VAELoader", "pos": [ 0, 550 ], "size": [ 270, 58 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "localized_name": "vae_name", "name": "vae_name", "type": "COMBO", "widget": { "name": "vae_name" }, "link": null } ], "outputs": [ { "localized_name": "VAE", "name": "VAE", "type": "VAE", "links": [ 38, 40 ] } ], "properties": { "Node name for S&R": "VAELoader", "models": [ { "name": "p-h3-image_vae_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/P-Image-OSS-Comfy/resolve/main/vae/p-h3-image_vae_bf16.safetensors", "directory": "vae" } ] }, "widgets_values": [ "p-h3-image_vae_bf16.safetensors" ], "widgets_values_named": { "vae_name": "p-h3-image_vae_bf16.safetensors" } }, { "id": 30, "type": "PH3ImageConditioning", "pos": [ 860, 100 ], "size": [ 400, 236 ], "flags": {}, "order": 21, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 39 }, { "localized_name": "vae", "name": "vae", "shape": 7, "type": "VAE", "link": 40 }, { "localized_name": "image_1", "name": "images.image_1", "shape": 7, "type": "IMAGE", "link": 43 }, { "localized_name": "image_2", "name": "images.image_2", "shape": 7, "type": "IMAGE", "link": 44 }, { "localized_name": "image_3", "name": "images.image_3", "shape": 7, "type": "IMAGE", "link": null }, { "localized_name": "prompt", "name": "prompt", "type": "STRING", "widget": { "name": "prompt" }, "link": 41 }, { "localized_name": "width", "name": "width", "type": "INT", "widget": { "name": "width" }, "link": null }, { "localized_name": "height", "name": "height", "type": "INT", "widget": { "name": "height" }, "link": null } ], "outputs": [ { "localized_name": "positive", "name": "positive", "type": "CONDITIONING", "links": [ 45 ] }, { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [ 46 ] } ], "properties": { "Node name for S&R": "PH3ImageConditioning" }, "widgets_values": [ "", 0, 0 ], "widgets_values_named": { "prompt": "", "width": 0, "height": 0 } }, { "id": 31, "type": "ImageScaleToTotalPixels", "pos": [ 860, 380 ], "size": [ 276.4927734375, 106 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 42 }, { "localized_name": "upscale_method", "name": "upscale_method", "type": "COMBO", "widget": { "name": "upscale_method" }, "link": null }, { "localized_name": "megapixels", "name": "megapixels", "type": "FLOAT", "widget": { "name": "megapixels" }, "link": null }, { "localized_name": "resolution_steps", "name": "resolution_steps", "type": "INT", "widget": { "name": "resolution_steps" }, "link": null } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 43 ] } ], "title": "image_1 at 4 MP", "properties": { "Node name for S&R": "ImageScaleToTotalPixels" }, "widgets_values": [ "lanczos", 4, 32 ], "widgets_values_named": { "upscale_method": "lanczos", "megapixels": 4, "resolution_steps": 32 } } ], "links": [ [ 7, 10, 0, 11, 0, "NOISE" ], [ 8, 8, 0, 11, 1, "GUIDER" ], [ 9, 9, 0, 11, 2, "SAMPLER" ], [ 10, 7, 0, 11, 3, "SIGMAS" ], [ 12, 11, 0, 12, 0, "LATENT" ], [ 14, 12, 0, 13, 0, "IMAGE" ], [ 21, 4, 0, 19, 0, "IMAGE" ], [ 22, 19, 0, 20, 0, "IMAGE" ], [ 23, 5, 0, 21, 0, "IMAGE" ], [ 24, 20, 0, 21, 1, "INT" ], [ 25, 20, 1, 21, 2, "INT" ], [ 31, 17, 0, 24, 0, "STRING" ], [ 32, 23, 0, 24, 1, "STRING" ], [ 34, 24, 0, 16, 0, "STRING" ], [ 35, 26, 0, 27, 0, "MODEL" ], [ 36, 27, 0, 8, 0, "MODEL" ], [ 38, 29, 0, 12, 1, "VAE" ], [ 42, 4, 0, 31, 0, "IMAGE" ], [ 45, 30, 0, 8, 1, "CONDITIONING" ], [ 46, 30, 1, 11, 4, "LATENT" ], [ 20, 17, 0, 18, 0, "STRING" ], [ 26, 19, 0, 22, 0, "IMAGE" ], [ 27, 21, 0, 22, 1, "IMAGE" ], [ 28, 14, 0, 23, 0, "CLIP" ], [ 29, 22, 0, 23, 1, "IMAGE" ], [ 30, 18, 0, 23, 5, "STRING" ], [ 39, 28, 0, 30, 0, "CLIP" ], [ 40, 29, 0, 30, 1, "VAE" ], [ 43, 31, 0, 30, 2, "IMAGE" ], [ 44, 5, 0, 30, 3, "IMAGE" ], [ 41, 24, 0, 30, 5, "STRING" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.6, "offset": [ 40, 40 ] } }, "version": 0.4}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988{ "id": "da2f97d7-d159-4e82-bf4c-9ec695568326", "revision": 0, "last_node_id": 31, "last_link_id": 46, "nodes": [ { "id": 1, "type": "UNETLoader", "pos": [ 0, 100 ], "size": [ 320, 82 ], "flags": {}, "order": 0, "mode": 0, "inputs": [ { "localized_name": "unet_name", "name": "unet_name", "type": "COMBO", "widget": { "name": "unet_name" }, "link": null }, { "localized_name": "weight_dtype", "name": "weight_dtype", "type": "COMBO", "widget": { "name": "weight_dtype" }, "link": null } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 15 ] } ], "properties": { "Node name for S&R": "UNETLoader", "cnr_id": "comfy-core", "ver": "0.43.0", "models": [ { "name": "minimax_h3_fl2va_bf16.safetensors", "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_bf16.safetensors", "directory": "diffusion_models" } ] }, "widgets_values": [ "minimax_h3_fl2va_bf16.safetensors", "default" ], "widgets_values_named": { "unet_name": "minimax_h3_fl2va_bf16.safetensors", "weight_dtype": "default" } }, { "id": 4, "type": "LoadImage", "pos": [ 0, 976 ], "size": [ 320, 360 ], "flags": {}, "order": 1, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "COMBO", "widget": { "name": "image" }, "link": null }, { "localized_name": "choose file to upload", "name": "upload", "type": "IMAGEUPLOAD", "widget": { "name": "upload" }, "link": null } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 23, 42 ] }, { "localized_name": "MASK", "name": "MASK", "type": "MASK", "links": null } ], "title": "image_1 (edited)", "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ "example.png", "image" ], "widgets_values_named": { "image": "example.png", "upload": "image" } }, { "id": 5, "type": "LoadImage", "pos": [ 0, 1396 ], "size": [ 320, 360 ], "flags": {}, "order": 2, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "COMBO", "widget": { "name": "image" }, "link": null }, { "localized_name": "choose file to upload", "name": "upload", "type": "IMAGEUPLOAD", "widget": { "name": "upload" }, "link": null } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 25, 44 ] }, { "localized_name": "MASK", "name": "MASK", "type": "MASK", "links": null } ], "title": "image_2 (reference)", "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ "example.png", "image" ], "widgets_values_named": { "image": "example.png", "upload": "image" } }, { "id": 7, "type": "ManualSigmas", "pos": [ 1340, 560 ], "size": [ 320, 82 ], "flags": {}, "order": 3, "mode": 0, "inputs": [ { "localized_name": "sigmas", "name": "sigmas", "type": "STRING", "widget": { "name": "sigmas" }, "link": null } ], "outputs": [ { "localized_name": "SIGMAS", "name": "SIGMAS", "type": "SIGMAS", "links": [ 10 ] } ], "properties": { "Node name for S&R": "ManualSigmas", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0" ], "widgets_values_named": { "sigmas": "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0" } }, { "id": 8, "type": "BasicGuider", "pos": [ 1340, 100 ], "size": [ 240, 46 ], "flags": {}, "order": 23, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 5 }, { "localized_name": "conditioning", "name": "conditioning", "type": "CONDITIONING", "link": 45 } ], "outputs": [ { "localized_name": "GUIDER", "name": "GUIDER", "type": "GUIDER", "links": [ 8 ] } ], "properties": { "Node name for S&R": "BasicGuider", "cnr_id": "comfy-core", "ver": "0.43.0" } }, { "id": 9, "type": "KSamplerSelect", "pos": [ 1340, 220 ], "size": [ 270, 58 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "localized_name": "sampler_name", "name": "sampler_name", "type": "COMBO", "widget": { "name": "sampler_name" }, "link": null } ], "outputs": [ { "localized_name": "SAMPLER", "name": "SAMPLER", "type": "SAMPLER", "links": [ 9 ] } ], "properties": { "Node name for S&R": "KSamplerSelect", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ "euler" ], "widgets_values_named": { "sampler_name": "euler" } }, { "id": 10, "type": "RandomNoise", "pos": [ 1340, 340 ], "size": [ 270, 82 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "localized_name": "noise_seed", "name": "noise_seed", "type": "INT", "widget": { "name": "noise_seed" }, "link": null } ], "outputs": [ { "localized_name": "NOISE", "name": "NOISE", "type": "NOISE", "links": [ 7 ] } ], "properties": { "Node name for S&R": "RandomNoise", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ 0, "randomize" ], "widgets_values_named": { "noise_seed": 0, "control_after_generate": "randomize" } }, { "id": 11, "type": "SamplerCustomAdvanced", "pos": [ 1700, 100 ], "size": [ 270, 330 ], "flags": {}, "order": 24, "mode": 0, "inputs": [ { "localized_name": "noise", "name": "noise", "type": "NOISE", "link": 7 }, { "localized_name": "guider", "name": "guider", "type": "GUIDER", "link": 8 }, { "localized_name": "sampler", "name": "sampler", "type": "SAMPLER", "link": 9 }, { "localized_name": "sigmas", "name": "sigmas", "type": "SIGMAS", "link": 10 }, { "localized_name": "latent_image", "name": "latent_image", "type": "LATENT", "link": 46 } ], "outputs": [ { "localized_name": "output", "name": "output", "type": "LATENT", "links": [ 12 ] }, { "localized_name": "denoised_output", "name": "denoised_output", "type": "LATENT", "links": [] } ], "properties": { "Node name for S&R": "SamplerCustomAdvanced", "cnr_id": "comfy-core", "ver": "0.43.0" } }, { "id": 12, "type": "VAEDecode", "pos": [ 2020, 100 ], "size": [ 210, 46 ], "flags": {}, "order": 25, "mode": 0, "inputs": [ { "localized_name": "samples", "name": "samples", "type": "LATENT", "link": 12 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 38 } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 14 ] } ], "properties": { "Node name for S&R": "VAEDecode", "cnr_id": "comfy-core", "ver": "0.43.0" } }, { "id": 13, "type": "SaveImage", "pos": [ 2280, 100 ], "size": [ 520, 560 ], "flags": {}, "order": 26, "mode": 0, "inputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "link": 14 }, { "localized_name": "filename_prefix", "name": "filename_prefix", "type": "STRING", "widget": { "name": "filename_prefix" }, "link": null } ], "outputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "links": null } ], "properties": { "Node name for S&R": "SaveImage", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ "p-image-oss" ], "widgets_values_named": { "filename_prefix": "p-image-oss" } }, { "id": 14, "type": "LoraLoaderBypassModelOnly", "pos": [ 0, 242 ], "size": [ 365.1333984375, 82 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 15 }, { "localized_name": "lora_name", "name": "lora_name", "type": "COMBO", "widget": { "name": "lora_name" }, "link": null }, { "localized_name": "strength_model", "name": "strength_model", "type": "FLOAT", "widget": { "name": "strength_model" }, "link": null } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 16 ] } ], "properties": { "Node name for S&R": "LoraLoaderBypassModelOnly", "cnr_id": "comfy-core", "ver": "0.43.0", "models": [ { "name": "p-h3-image_lora_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/P-Image-OSS-Comfy/resolve/main/loras/p-h3-image_lora_bf16.safetensors", "directory": "loras" } ] }, "widgets_values": [ "p-h3-image_lora_bf16.safetensors", 1 ], "widgets_values_named": { "lora_name": "p-h3-image_lora_bf16.safetensors", "strength_model": 1 } }, { "id": 15, "type": "MiniMaxH3SigmaShift", "pos": [ 0, 384 ], "size": [ 320, 82 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 16 }, { "localized_name": "shift_video", "name": "shift_video", "type": "FLOAT", "widget": { "name": "shift_video" }, "link": null }, { "localized_name": "shift_audio", "name": "shift_audio", "type": "FLOAT", "widget": { "name": "shift_audio" }, "link": null } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 5 ] } ], "properties": { "Node name for S&R": "MiniMaxH3SigmaShift", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ 1, 1 ], "widgets_values_named": { "shift_video": 1, "shift_audio": 1 } }, { "id": 16, "type": "CLIPLoader", "pos": [ 0, 810 ], "size": [ 320, 106 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "localized_name": "clip_name", "name": "clip_name", "type": "COMBO", "widget": { "name": "clip_name" }, "link": null }, { "localized_name": "type", "name": "type", "type": "COMBO", "widget": { "name": "type" }, "link": null }, { "localized_name": "device", "name": "device", "shape": 7, "type": "COMBO", "widget": { "name": "device" }, "link": null } ], "outputs": [ { "localized_name": "CLIP", "name": "CLIP", "type": "CLIP", "links": [ 30 ] } ], "title": "p-image-oss prompt upsampler", "properties": { "Node name for S&R": "CLIPLoader", "cnr_id": "comfy-core", "ver": "0.43.0", "models": [ { "name": "p-h3-image_prompt_upsampler_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/P-Image-OSS-Comfy/resolve/main/text_encoders/p-h3-image_prompt_upsampler_bf16.safetensors", "directory": "text_encoders" } ] }, "widgets_values": [ "p-h3-image_prompt_upsampler_bf16.safetensors", "minimax", "default" ], "widgets_values_named": { "clip_name": "p-h3-image_prompt_upsampler_bf16.safetensors", "type": "minimax", "device": "default" } }, { "id": 18, "type": "PreviewAny", "pos": [ 1640, 700 ], "size": [ 480, 360 ], "flags": {}, "order": 21, "mode": 0, "inputs": [ { "localized_name": "source", "name": "source", "type": "*", "link": 36 } ], "outputs": [ { "localized_name": "STRING", "name": "STRING", "type": "STRING", "links": [] } ], "title": "Upsampled prompt", "properties": { "Node name for S&R": "PreviewAny", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [], "widgets_values_named": {} }, { "id": 19, "type": "PrimitiveStringMultiline", "pos": [ 380, 700 ], "size": [ 400, 180 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "localized_name": "value", "name": "value", "type": "STRING", "widget": { "name": "value" }, "link": null } ], "outputs": [ { "localized_name": "STRING", "name": "STRING", "type": "STRING", "links": [ 22, 33 ] } ], "title": "Request", "properties": { "Node name for S&R": "PrimitiveStringMultiline" }, "widgets_values": [ "Put the hat from <Picture 2> on the person in <Picture 1>." ], "widgets_values_named": { "value": "Put the hat from <Picture 2> on the person in <Picture 1>." } }, { "id": 20, "type": "StringFormat", "pos": [ 380, 920 ], "size": [ 400, 240 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "localized_name": "a", "name": "values.a", "shape": 7, "type": "*", "link": 22 }, { "localized_name": "b", "name": "values.b", "shape": 7, "type": "*", "link": null }, { "localized_name": "f_string", "name": "f_string", "type": "STRING", "widget": { "name": "f_string" }, "link": null } ], "outputs": [ { "localized_name": "STRING", "name": "STRING", "type": "STRING", "links": [ 32 ] } ], "title": "Upsampler input", "properties": { "Node name for S&R": "StringFormat" }, "widgets_values": [ "<|im_start|>user\n<Picture 1>: <|vision_start|><|image_pad|><|vision_end|><Picture 2>: <|vision_start|><|image_pad|><|vision_end|>Edit <Picture 1>. {a}<|im_end|>\n<|im_start|>assistant\n<think>\n" ], "widgets_values_named": { "f_string": "<|im_start|>user\n<Picture 1>: <|vision_start|><|image_pad|><|vision_end|><Picture 2>: <|vision_start|><|image_pad|><|vision_end|>Edit <Picture 1>. {a}<|im_end|>\n<|im_start|>assistant\n<think>\n" } }, { "id": 21, "type": "ImageScaleToTotalPixels", "pos": [ 820, 700 ], "size": [ 300, 110 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 23 }, { "localized_name": "upscale_method", "name": "upscale_method", "type": "COMBO", "widget": { "name": "upscale_method" }, "link": null }, { "localized_name": "megapixels", "name": "megapixels", "type": "FLOAT", "widget": { "name": "megapixels" }, "link": null }, { "localized_name": "resolution_steps", "name": "resolution_steps", "type": "INT", "widget": { "name": "resolution_steps" }, "link": null } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 24, 28 ] } ], "title": "image_1 at 1 MP", "properties": { "Node name for S&R": "ImageScaleToTotalPixels" }, "widgets_values": [ "lanczos", 1, 1 ], "widgets_values_named": { "upscale_method": "lanczos", "megapixels": 1, "resolution_steps": 1 } }, { "id": 22, "type": "GetImageSize", "pos": [ 820, 850 ], "size": [ 220, 90 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 24 } ], "outputs": [ { "localized_name": "width", "name": "width", "type": "INT", "links": [ 26 ] }, { "localized_name": "height", "name": "height", "type": "INT", "links": [ 27 ] }, { "localized_name": "batch_size", "name": "batch_size", "type": "INT", "links": null } ], "properties": { "Node name for S&R": "GetImageSize" } }, { "id": 23, "type": "ResizeAndPadImage", "pos": [ 820, 980 ], "size": [ 300, 170 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 25 }, { "localized_name": "target_width", "name": "target_width", "type": "INT", "widget": { "name": "target_width" }, "link": 26 }, { "localized_name": "target_height", "name": "target_height", "type": "INT", "widget": { "name": "target_height" }, "link": 27 }, { "localized_name": "padding_color", "name": "padding_color", "type": "COMBO", "widget": { "name": "padding_color" }, "link": null }, { "localized_name": "interpolation", "name": "interpolation", "type": "COMBO", "widget": { "name": "interpolation" }, "link": null } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 29 ] } ], "title": "image_2 padded to image_1", "properties": { "Node name for S&R": "ResizeAndPadImage" }, "widgets_values": [ 512, 512, "white", "lanczos" ], "widgets_values_named": { "target_width": 512, "target_height": 512, "padding_color": "white", "interpolation": "lanczos" } }, { "id": 24, "type": "BatchImagesNode", "pos": [ 820, 1190 ], "size": [ 220, 86 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "localized_name": "image0", "name": "images.image0", "type": "IMAGE", "link": 28 }, { "localized_name": "image1", "name": "images.image1", "shape": 7, "type": "IMAGE", "link": 29 }, { "localized_name": "image2", "name": "images.image2", "shape": 7, "type": "IMAGE", "link": null } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 31 ] } ], "properties": { "Node name for S&R": "BatchImagesNode" } }, { "id": 25, "type": "TextGenerate", "pos": [ 1180, 700 ], "size": [ 400, 288 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 30 }, { "localized_name": "image", "name": "image", "shape": 7, "type": "IMAGE", "link": 31 }, { "localized_name": "video", "name": "video", "shape": 7, "type": "IMAGE", "link": null }, { "localized_name": "audio", "name": "audio", "shape": 7, "type": "AUDIO", "link": null }, { "localized_name": "system_prompt", "name": "system_prompt", "shape": 7, "type": "STRING", "link": null }, { "localized_name": "prompt", "name": "prompt", "type": "STRING", "widget": { "name": "prompt" }, "link": 32 }, { "localized_name": "max_length", "name": "max_length", "type": "INT", "widget": { "name": "max_length" }, "link": null }, { "localized_name": "Sampling Mode", "name": "sampling_mode", "type": "COMFY_DYNAMICCOMBO_V3", "widget": { "name": "sampling_mode" }, "link": null }, { "localized_name": "thinking", "name": "thinking", "shape": 7, "type": "BOOLEAN", "widget": { "name": "thinking" }, "link": null }, { "localized_name": "use_default_template", "name": "use_default_template", "shape": 7, "type": "BOOLEAN", "widget": { "name": "use_default_template" }, "link": null }, { "localized_name": "mtp", "name": "mtp", "shape": 7, "type": "COMBO", "widget": { "name": "mtp" }, "link": null } ], "outputs": [ { "localized_name": "generated_text", "name": "generated_text", "type": "STRING", "links": [ 34 ] }, { "localized_name": "thinking", "name": "thinking", "type": "STRING", "links": null } ], "title": "Prompt upsampler", "properties": { "Node name for S&R": "TextGenerate" }, "widgets_values": [ "", 3072, "off", false, true, "auto" ], "widgets_values_named": { "prompt": "", "max_length": 3072, "sampling_mode": "off", "thinking": false, "use_default_template": true, "mtp": "auto" } }, { "id": 26, "type": "ComfySwitchNode", "pos": [ 1180, 1030 ], "size": [ 300, 80 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "localized_name": "on_false", "name": "on_false", "shape": 7, "type": "STRING", "link": 33 }, { "localized_name": "on_true", "name": "on_true", "shape": 7, "type": "STRING", "link": 34 }, { "localized_name": "switch", "name": "switch", "type": "BOOLEAN", "widget": { "name": "switch" }, "link": null } ], "outputs": [ { "localized_name": "output", "name": "output", "type": "STRING", "links": [ 36, 41 ] } ], "title": "Use prompt upsampler", "properties": { "Node name for S&R": "ComfySwitchNode" }, "widgets_values": [ true ], "widgets_values_named": { "switch": true } }, { "id": 27, "type": "MarkdownNote", "pos": [ 380, 1200 ], "size": [ 400, 260 ], "flags": {}, "order": 8, "mode": 0, "inputs": [], "outputs": [], "title": "Prompt upsampler", "properties": {}, "widgets_values": [ "**Prompt upsampler.** Type a short edit request in **Request**, with `<Picture 1>` for the image to edit and `<Picture 2>` for the reference. The upsampler (Generate Text) sees both images and turns the request into an edit brief, shown in the preview.\n\nFor another number of images, add or remove a `<Picture N>: <|vision_start|><|image_pad|><|vision_end|>` block in **Upsampler input** the image in **Batch Images**, padded to image_1's size, and the image on **p-h3-image Conditioning**.\n\n**image_1 at 4 MP** sets the size of the edit.\n\nSet **Use prompt upsampler** to false to send the request to the model as it is." ], "widgets_values_named": { "text": "**Prompt upsampler.** Type a short edit request in **Request**, with `<Picture 1>` for the image to edit and `<Picture 2>` for the reference. The upsampler (Generate Text) sees both images and turns the request into an edit brief, shown in the preview.\n\nFor another number of images, add or remove a `<Picture N>: <|vision_start|><|image_pad|><|vision_end|>` block in **Upsampler input** the image in **Batch Images**, padded to image_1's size, and the image on **p-h3-image Conditioning**.\n\n**image_1 at 4 MP** sets the size of the edit.\n\nSet **Use prompt upsampler** to false to send the request to the model as it is." }, "color": "#432", "bgcolor": "#653" }, { "id": 28, "type": "CLIPLoader", "pos": [ 0, 526 ], "size": [ 270, 106 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "localized_name": "clip_name", "name": "clip_name", "type": "COMBO", "widget": { "name": "clip_name" }, "link": null }, { "localized_name": "type", "name": "type", "type": "COMBO", "widget": { "name": "type" }, "link": null }, { "localized_name": "device", "name": "device", "shape": 7, "type": "COMBO", "widget": { "name": "device" }, "link": null } ], "outputs": [ { "localized_name": "CLIP", "name": "CLIP", "type": "CLIP", "links": [ 39 ] } ], "title": "p-image-oss text encoder", "properties": { "Node name for S&R": "CLIPLoader", "models": [ { "name": "p-h3-image_text_encoder_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/P-Image-OSS-Comfy/resolve/main/text_encoders/p-h3-image_text_encoder_bf16.safetensors", "directory": "text_encoders" } ] }, "widgets_values": [ "p-h3-image_text_encoder_bf16.safetensors", "minimax", "default" ], "widgets_values_named": { "clip_name": "p-h3-image_text_encoder_bf16.safetensors", "type": "minimax", "device": "default" } }, { "id": 29, "type": "VAELoader", "pos": [ 0, 692 ], "size": [ 270, 58 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "localized_name": "vae_name", "name": "vae_name", "type": "COMBO", "widget": { "name": "vae_name" }, "link": null } ], "outputs": [ { "localized_name": "VAE", "name": "VAE", "type": "VAE", "links": [ 38, 40 ] } ], "properties": { "Node name for S&R": "VAELoader", "models": [ { "name": "p-h3-image_vae_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/P-Image-OSS-Comfy/resolve/main/vae/p-h3-image_vae_bf16.safetensors", "directory": "vae" } ] }, "widgets_values": [ "p-h3-image_vae_bf16.safetensors" ], "widgets_values_named": { "vae_name": "p-h3-image_vae_bf16.safetensors" } }, { "id": 30, "type": "PH3ImageConditioning", "pos": [ 860, 100 ], "size": [ 400, 236 ], "flags": {}, "order": 22, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 39 }, { "localized_name": "vae", "name": "vae", "shape": 7, "type": "VAE", "link": 40 }, { "localized_name": "image_1", "name": "images.image_1", "shape": 7, "type": "IMAGE", "link": 43 }, { "localized_name": "image_2", "name": "images.image_2", "shape": 7, "type": "IMAGE", "link": 44 }, { "localized_name": "image_3", "name": "images.image_3", "shape": 7, "type": "IMAGE", "link": null }, { "localized_name": "prompt", "name": "prompt", "type": "STRING", "widget": { "name": "prompt" }, "link": 41 }, { "localized_name": "width", "name": "width", "type": "INT", "widget": { "name": "width" }, "link": null }, { "localized_name": "height", "name": "height", "type": "INT", "widget": { "name": "height" }, "link": null } ], "outputs": [ { "localized_name": "positive", "name": "positive", "type": "CONDITIONING", "links": [ 45 ] }, { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [ 46 ] } ], "properties": { "Node name for S&R": "PH3ImageConditioning" }, "widgets_values": [ "", 0, 0 ], "widgets_values_named": { "prompt": "", "width": 0, "height": 0 } }, { "id": 31, "type": "ImageScaleToTotalPixels", "pos": [ 860, 380 ], "size": [ 276.4927734375, 106 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 42 }, { "localized_name": "upscale_method", "name": "upscale_method", "type": "COMBO", "widget": { "name": "upscale_method" }, "link": null }, { "localized_name": "megapixels", "name": "megapixels", "type": "FLOAT", "widget": { "name": "megapixels" }, "link": null }, { "localized_name": "resolution_steps", "name": "resolution_steps", "type": "INT", "widget": { "name": "resolution_steps" }, "link": null } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 43 ] } ], "title": "image_1 at 4 MP", "properties": { "Node name for S&R": "ImageScaleToTotalPixels" }, "widgets_values": [ "lanczos", 4, 32 ], "widgets_values_named": { "upscale_method": "lanczos", "megapixels": 4, "resolution_steps": 32 } } ], "links": [ [ 5, 15, 0, 8, 0, "MODEL" ], [ 7, 10, 0, 11, 0, "NOISE" ], [ 8, 8, 0, 11, 1, "GUIDER" ], [ 9, 9, 0, 11, 2, "SAMPLER" ], [ 10, 7, 0, 11, 3, "SIGMAS" ], [ 12, 11, 0, 12, 0, "LATENT" ], [ 14, 12, 0, 13, 0, "IMAGE" ], [ 15, 1, 0, 14, 0, "MODEL" ], [ 16, 14, 0, 15, 0, "MODEL" ], [ 23, 4, 0, 21, 0, "IMAGE" ], [ 24, 21, 0, 22, 0, "IMAGE" ], [ 25, 5, 0, 23, 0, "IMAGE" ], [ 26, 22, 0, 23, 1, "INT" ], [ 27, 22, 1, 23, 2, "INT" ], [ 33, 19, 0, 26, 0, "STRING" ], [ 34, 25, 0, 26, 1, "STRING" ], [ 36, 26, 0, 18, 0, "STRING" ], [ 38, 29, 0, 12, 1, "VAE" ], [ 42, 4, 0, 31, 0, "IMAGE" ], [ 45, 30, 0, 8, 1, "CONDITIONING" ], [ 46, 30, 1, 11, 4, "LATENT" ], [ 22, 19, 0, 20, 0, "STRING" ], [ 28, 21, 0, 24, 0, "IMAGE" ], [ 29, 23, 0, 24, 1, "IMAGE" ], [ 30, 16, 0, 25, 0, "CLIP" ], [ 31, 24, 0, 25, 1, "IMAGE" ], [ 32, 20, 0, 25, 5, "STRING" ], [ 39, 28, 0, 30, 0, "CLIP" ], [ 40, 29, 0, 30, 1, "VAE" ], [ 43, 31, 0, 30, 2, "IMAGE" ], [ 44, 5, 0, 30, 3, "IMAGE" ], [ 41, 26, 0, 30, 5, "STRING" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.6, "offset": [ 40, 40 ] } }, "version": 0.4}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512{ "id": "9d43b9c5-ca8f-4a60-837d-d342773e8b8a", "revision": 0, "last_node_id": 26, "last_link_id": 34, "nodes": [ { "id": 1, "type": "UNETLoader", "pos": [ 0, 100 ], "size": [ 320, 82 ], "flags": {}, "order": 0, "mode": 0, "inputs": [ { "localized_name": "unet_name", "name": "unet_name", "type": "COMBO", "widget": { "name": "unet_name" }, "link": null }, { "localized_name": "weight_dtype", "name": "weight_dtype", "type": "COMBO", "widget": { "name": "weight_dtype" }, "link": null } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 12 ] } ], "properties": { "Node name for S&R": "UNETLoader", "cnr_id": "comfy-core", "ver": "0.43.0", "models": [ { "name": "minimax_h3_fl2va_bf16.safetensors", "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_bf16.safetensors", "directory": "diffusion_models" } ] }, "widgets_values": [ "minimax_h3_fl2va_bf16.safetensors", "default" ], "widgets_values_named": { "unet_name": "minimax_h3_fl2va_bf16.safetensors", "weight_dtype": "default" } }, { "id": 6, "type": "ManualSigmas", "pos": [ 1340, 560 ], "size": [ 320, 82 ], "flags": {}, "order": 1, "mode": 0, "inputs": [ { "localized_name": "sigmas", "name": "sigmas", "type": "STRING", "widget": { "name": "sigmas" }, "link": null } ], "outputs": [ { "localized_name": "SIGMAS", "name": "SIGMAS", "type": "SIGMAS", "links": [ 7 ] } ], "properties": { "Node name for S&R": "ManualSigmas", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0" ], "widgets_values_named": { "sigmas": "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0" } }, { "id": 7, "type": "BasicGuider", "pos": [ 1340, 100 ], "size": [ 240, 46 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 2 }, { "localized_name": "conditioning", "name": "conditioning", "type": "CONDITIONING", "link": 33 } ], "outputs": [ { "localized_name": "GUIDER", "name": "GUIDER", "type": "GUIDER", "links": [ 5 ] } ], "properties": { "Node name for S&R": "BasicGuider", "cnr_id": "comfy-core", "ver": "0.43.0" } }, { "id": 8, "type": "KSamplerSelect", "pos": [ 1340, 220 ], "size": [ 270, 58 ], "flags": {}, "order": 2, "mode": 0, "inputs": [ { "localized_name": "sampler_name", "name": "sampler_name", "type": "COMBO", "widget": { "name": "sampler_name" }, "link": null } ], "outputs": [ { "localized_name": "SAMPLER", "name": "SAMPLER", "type": "SAMPLER", "links": [ 6 ] } ], "properties": { "Node name for S&R": "KSamplerSelect", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ "euler" ], "widgets_values_named": { "sampler_name": "euler" } }, { "id": 9, "type": "RandomNoise", "pos": [ 1340, 340 ], "size": [ 270, 82 ], "flags": {}, "order": 3, "mode": 0, "inputs": [ { "localized_name": "noise_seed", "name": "noise_seed", "type": "INT", "widget": { "name": "noise_seed" }, "link": null } ], "outputs": [ { "localized_name": "NOISE", "name": "NOISE", "type": "NOISE", "links": [ 4 ] } ], "properties": { "Node name for S&R": "RandomNoise", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ 0, "randomize" ], "widgets_values_named": { "noise_seed": 0, "control_after_generate": "randomize" } }, { "id": 10, "type": "SamplerCustomAdvanced", "pos": [ 1700, 100 ], "size": [ 270, 330 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "localized_name": "noise", "name": "noise", "type": "NOISE", "link": 4 }, { "localized_name": "guider", "name": "guider", "type": "GUIDER", "link": 5 }, { "localized_name": "sampler", "name": "sampler", "type": "SAMPLER", "link": 6 }, { "localized_name": "sigmas", "name": "sigmas", "type": "SIGMAS", "link": 7 }, { "localized_name": "latent_image", "name": "latent_image", "type": "LATENT", "link": 34 } ], "outputs": [ { "localized_name": "output", "name": "output", "type": "LATENT", "links": [ 9 ] }, { "localized_name": "denoised_output", "name": "denoised_output", "type": "LATENT", "links": [] } ], "properties": { "Node name for S&R": "SamplerCustomAdvanced", "cnr_id": "comfy-core", "ver": "0.43.0" } }, { "id": 11, "type": "VAEDecode", "pos": [ 2020, 100 ], "size": [ 210, 46 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "localized_name": "samples", "name": "samples", "type": "LATENT", "link": 9 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 28 } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 11 ] } ], "properties": { "Node name for S&R": "VAEDecode", "cnr_id": "comfy-core", "ver": "0.43.0" } }, { "id": 12, "type": "SaveImage", "pos": [ 2280, 100 ], "size": [ 520, 560 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "link": 11 }, { "localized_name": "filename_prefix", "name": "filename_prefix", "type": "STRING", "widget": { "name": "filename_prefix" }, "link": null } ], "outputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "links": null } ], "properties": { "Node name for S&R": "SaveImage", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ "p-image-oss" ], "widgets_values_named": { "filename_prefix": "p-image-oss" } }, { "id": 13, "type": "LoraLoaderBypassModelOnly", "pos": [ 0, 232 ], "size": [ 365.1333984375, 82 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 12 }, { "localized_name": "lora_name", "name": "lora_name", "type": "COMBO", "widget": { "name": "lora_name" }, "link": null }, { "localized_name": "strength_model", "name": "strength_model", "type": "FLOAT", "widget": { "name": "strength_model" }, "link": null } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 13 ] } ], "properties": { "Node name for S&R": "LoraLoaderBypassModelOnly", "cnr_id": "comfy-core", "ver": "0.43.0", "models": [ { "name": "p-h3-image_lora_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/P-Image-OSS-Comfy/resolve/main/loras/p-h3-image_lora_bf16.safetensors", "directory": "loras" } ] }, "widgets_values": [ "p-h3-image_lora_bf16.safetensors", 1 ], "widgets_values_named": { "lora_name": "p-h3-image_lora_bf16.safetensors", "strength_model": 1 } }, { "id": 14, "type": "MiniMaxH3SigmaShift", "pos": [ 0, 364 ], "size": [ 320, 82 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 13 }, { "localized_name": "shift_video", "name": "shift_video", "type": "FLOAT", "widget": { "name": "shift_video" }, "link": null }, { "localized_name": "shift_audio", "name": "shift_audio", "type": "FLOAT", "widget": { "name": "shift_audio" }, "link": null } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 2 ] } ], "properties": { "Node name for S&R": "MiniMaxH3SigmaShift", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ 1, 1 ], "widgets_values_named": { "shift_video": 1, "shift_audio": 1 } }, { "id": 15, "type": "CLIPLoader", "pos": [ 0, 760 ], "size": [ 320, 106 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "localized_name": "clip_name", "name": "clip_name", "type": "COMBO", "widget": { "name": "clip_name" }, "link": null }, { "localized_name": "type", "name": "type", "type": "COMBO", "widget": { "name": "type" }, "link": null }, { "localized_name": "device", "name": "device", "shape": 7, "type": "COMBO", "widget": { "name": "device" }, "link": null } ], "outputs": [ { "localized_name": "CLIP", "name": "CLIP", "type": "CLIP", "links": [ 20 ] } ], "title": "p-image-oss prompt upsampler", "properties": { "Node name for S&R": "CLIPLoader", "cnr_id": "comfy-core", "ver": "0.43.0", "models": [ { "name": "p-h3-image_prompt_upsampler_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/P-Image-OSS-Comfy/resolve/main/text_encoders/p-h3-image_prompt_upsampler_bf16.safetensors", "directory": "text_encoders" } ] }, "widgets_values": [ "p-h3-image_prompt_upsampler_bf16.safetensors", "minimax", "default" ], "widgets_values_named": { "clip_name": "p-h3-image_prompt_upsampler_bf16.safetensors", "type": "minimax", "device": "default" } }, { "id": 17, "type": "PreviewAny", "pos": [ 1700, 880 ], "size": [ 480, 360 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "localized_name": "source", "name": "source", "type": "*", "link": 25 } ], "outputs": [ { "localized_name": "STRING", "name": "STRING", "type": "STRING", "links": [] } ], "title": "Upsampled prompt", "properties": { "Node name for S&R": "PreviewAny", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [], "widgets_values_named": {} }, { "id": 18, "type": "PrimitiveStringMultiline", "pos": [ 380, 760 ], "size": [ 400, 200 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "localized_name": "value", "name": "value", "type": "STRING", "widget": { "name": "value" }, "link": null } ], "outputs": [ { "localized_name": "STRING", "name": "STRING", "type": "STRING", "links": [ 19, 22 ] } ], "title": "Request", "properties": { "Node name for S&R": "PrimitiveStringMultiline" }, "widgets_values": [ "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo" ], "widgets_values_named": { "value": "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo" } }, { "id": 19, "type": "StringFormat", "pos": [ 820, 760 ], "size": [ 400, 160 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "localized_name": "a", "name": "values.a", "shape": 7, "type": "*", "link": 19 }, { "localized_name": "b", "name": "values.b", "shape": 7, "type": "*", "link": null }, { "localized_name": "f_string", "name": "f_string", "type": "STRING", "widget": { "name": "f_string" }, "link": null } ], "outputs": [ { "localized_name": "STRING", "name": "STRING", "type": "STRING", "links": [ 21 ] } ], "title": "Upsampler input", "properties": { "Node name for S&R": "StringFormat" }, "widgets_values": [ "Aspect ratio: 1:1\nRequest: {a}" ], "widgets_values_named": { "f_string": "Aspect ratio: 1:1\nRequest: {a}" } }, { "id": 20, "type": "TextGenerate", "pos": [ 1260, 760 ], "size": [ 400, 290 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 20 }, { "localized_name": "image", "name": "image", "shape": 7, "type": "IMAGE", "link": null }, { "localized_name": "video", "name": "video", "shape": 7, "type": "IMAGE", "link": null }, { "localized_name": "audio", "name": "audio", "shape": 7, "type": "AUDIO", "link": null }, { "localized_name": "system_prompt", "name": "system_prompt", "shape": 7, "type": "STRING", "link": null }, { "localized_name": "prompt", "name": "prompt", "type": "STRING", "widget": { "name": "prompt" }, "link": 21 }, { "localized_name": "max_length", "name": "max_length", "type": "INT", "widget": { "name": "max_length" }, "link": null }, { "localized_name": "Sampling Mode", "name": "sampling_mode", "type": "COMFY_DYNAMICCOMBO_V3", "widget": { "name": "sampling_mode" }, "link": null }, { "localized_name": "thinking", "name": "thinking", "shape": 7, "type": "BOOLEAN", "widget": { "name": "thinking" }, "link": null }, { "localized_name": "use_default_template", "name": "use_default_template", "shape": 7, "type": "BOOLEAN", "widget": { "name": "use_default_template" }, "link": null }, { "localized_name": "mtp", "name": "mtp", "shape": 7, "type": "COMBO", "widget": { "name": "mtp" }, "link": null } ], "outputs": [ { "localized_name": "generated_text", "name": "generated_text", "type": "STRING", "links": [ 23 ] }, { "localized_name": "thinking", "name": "thinking", "type": "STRING", "links": null } ], "title": "Prompt upsampler", "properties": { "Node name for S&R": "TextGenerate" }, "widgets_values": [ "", 2048, "off", true, true, "auto" ], "widgets_values_named": { "prompt": "", "max_length": 2048, "sampling_mode": "off", "thinking": true, "use_default_template": true, "mtp": "auto" } }, { "id": 21, "type": "ComfySwitchNode", "pos": [ 1700, 760 ], "size": [ 300, 80 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "localized_name": "on_false", "name": "on_false", "shape": 7, "type": "STRING", "link": 22 }, { "localized_name": "on_true", "name": "on_true", "shape": 7, "type": "STRING", "link": 23 }, { "localized_name": "switch", "name": "switch", "type": "BOOLEAN", "widget": { "name": "switch" }, "link": null } ], "outputs": [ { "localized_name": "output", "name": "output", "type": "STRING", "links": [ 25, 30 ] } ], "title": "Use prompt upsampler", "properties": { "Node name for S&R": "ComfySwitchNode" }, "widgets_values": [ true ], "widgets_values_named": { "switch": true } }, { "id": 22, "type": "ResolutionSelector", "pos": [ 420, 360 ], "size": [ 300, 150 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "localized_name": "aspect_ratio", "name": "aspect_ratio", "type": "COMBO", "widget": { "name": "aspect_ratio" }, "link": null }, { "localized_name": "megapixels", "name": "megapixels", "type": "FLOAT", "widget": { "name": "megapixels" }, "link": null }, { "localized_name": "multiple", "name": "multiple", "type": "INT", "widget": { "name": "multiple" }, "link": null }, { "localized_name": "preview", "name": "preview", "shape": 7, "type": "RESOLUTION_PREVIEW", "widget": { "name": "preview" }, "link": null } ], "outputs": [ { "localized_name": "width", "name": "width", "type": "INT", "links": [ 31 ] }, { "localized_name": "height", "name": "height", "type": "INT", "links": [ 32 ] } ], "properties": { "Node name for S&R": "ResolutionSelector" }, "widgets_values": [ "1:1 (Square)", 8, 32 ], "widgets_values_named": { "aspect_ratio": "1:1 (Square)", "megapixels": 8, "multiple": 32 } }, { "id": 23, "type": "MarkdownNote", "pos": [ 0, 960 ], "size": [ 340, 230 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [], "title": "Prompt upsampler", "properties": {}, "widgets_values": [ "**Prompt upsampler.** Type a short request in **Request**; the upsampler (Generate Text) turns it into the full prompt shown in the preview.\n\nKeep the aspect ratio in **Upsampler input** the same as in **Resolution Selector** (1:1, 4:3, 3:4, 3:2, 2:3, 16:9 or 9:16).\n\nSet **Use prompt upsampler** to false to send the request to the model as it is." ], "widgets_values_named": { "text": "**Prompt upsampler.** Type a short request in **Request**; the upsampler (Generate Text) turns it into the full prompt shown in the preview.\n\nKeep the aspect ratio in **Upsampler input** the same as in **Resolution Selector** (1:1, 4:3, 3:4, 3:2, 2:3, 16:9 or 9:16).\n\nSet **Use prompt upsampler** to false to send the request to the model as it is." }, "color": "#432", "bgcolor": "#653" }, { "id": 24, "type": "CLIPLoader", "pos": [ 0, 496 ], "size": [ 270, 106 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "localized_name": "clip_name", "name": "clip_name", "type": "COMBO", "widget": { "name": "clip_name" }, "link": null }, { "localized_name": "type", "name": "type", "type": "COMBO", "widget": { "name": "type" }, "link": null }, { "localized_name": "device", "name": "device", "shape": 7, "type": "COMBO", "widget": { "name": "device" }, "link": null } ], "outputs": [ { "localized_name": "CLIP", "name": "CLIP", "type": "CLIP", "links": [ 29 ] } ], "title": "p-image-oss text encoder", "properties": { "Node name for S&R": "CLIPLoader", "models": [ { "name": "p-h3-image_text_encoder_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/P-Image-OSS-Comfy/resolve/main/text_encoders/p-h3-image_text_encoder_bf16.safetensors", "directory": "text_encoders" } ] }, "widgets_values": [ "p-h3-image_text_encoder_bf16.safetensors", "minimax", "default" ], "widgets_values_named": { "clip_name": "p-h3-image_text_encoder_bf16.safetensors", "type": "minimax", "device": "default" } }, { "id": 25, "type": "VAELoader", "pos": [ 0, 652 ], "size": [ 270, 58 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "localized_name": "vae_name", "name": "vae_name", "type": "COMBO", "widget": { "name": "vae_name" }, "link": null } ], "outputs": [ { "localized_name": "VAE", "name": "VAE", "type": "VAE", "links": [ 28 ] } ], "properties": { "Node name for S&R": "VAELoader", "models": [ { "name": "p-h3-image_vae_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/P-Image-OSS-Comfy/resolve/main/vae/p-h3-image_vae_bf16.safetensors", "directory": "vae" } ] }, "widgets_values": [ "p-h3-image_vae_bf16.safetensors" ], "widgets_values_named": { "vae_name": "p-h3-image_vae_bf16.safetensors" } }, { "id": 26, "type": "PH3ImageConditioning", "pos": [ 860, 100 ], "size": [ 400, 200 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 29 }, { "localized_name": "vae", "name": "vae", "shape": 7, "type": "VAE", "link": null }, { "localized_name": "image_1", "name": "images.image_1", "shape": 7, "type": "IMAGE", "link": null }, { "localized_name": "prompt", "name": "prompt", "type": "STRING", "widget": { "name": "prompt" }, "link": 30 }, { "localized_name": "width", "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 31 }, { "localized_name": "height", "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 32 } ], "outputs": [ { "localized_name": "positive", "name": "positive", "type": "CONDITIONING", "links": [ 33 ] }, { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [ 34 ] } ], "properties": { "Node name for S&R": "PH3ImageConditioning" }, "widgets_values": [ "", 0, 0 ], "widgets_values_named": { "prompt": "", "width": 0, "height": 0 } } ], "links": [ [ 2, 14, 0, 7, 0, "MODEL" ], [ 4, 9, 0, 10, 0, "NOISE" ], [ 5, 7, 0, 10, 1, "GUIDER" ], [ 6, 8, 0, 10, 2, "SAMPLER" ], [ 7, 6, 0, 10, 3, "SIGMAS" ], [ 9, 10, 0, 11, 0, "LATENT" ], [ 11, 11, 0, 12, 0, "IMAGE" ], [ 12, 1, 0, 13, 0, "MODEL" ], [ 13, 13, 0, 14, 0, "MODEL" ], [ 22, 18, 0, 21, 0, "STRING" ], [ 23, 20, 0, 21, 1, "STRING" ], [ 25, 21, 0, 17, 0, "STRING" ], [ 19, 18, 0, 19, 0, "STRING" ], [ 20, 15, 0, 20, 0, "CLIP" ], [ 21, 19, 0, 20, 5, "STRING" ], [ 28, 25, 0, 11, 1, "VAE" ], [ 29, 24, 0, 26, 0, "CLIP" ], [ 30, 21, 0, 26, 3, "STRING" ], [ 31, 22, 0, 26, 4, "INT" ], [ 32, 22, 1, 26, 5, "INT" ], [ 33, 26, 0, 7, 1, "CONDITIONING" ], [ 34, 26, 1, 10, 4, "LATENT" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.6, "offset": [ 40, 40 ] } }, "version": 0.4}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429{ "id": "1389ab63-de89-485a-8c98-e85142253663", "revision": 0, "last_node_id": 26, "last_link_id": 34, "nodes": [ { "id": 6, "type": "ManualSigmas", "pos": [ 1340, 560 ], "size": [ 320, 82 ], "flags": {}, "order": 0, "mode": 0, "inputs": [ { "localized_name": "sigmas", "name": "sigmas", "type": "STRING", "widget": { "name": "sigmas" }, "link": null } ], "outputs": [ { "localized_name": "SIGMAS", "name": "SIGMAS", "type": "SIGMAS", "links": [ 7 ] } ], "properties": { "Node name for S&R": "ManualSigmas", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0" ], "widgets_values_named": { "sigmas": "1.0, 0.984753, 0.967905, 0.951688, 0.925372, 0.881923, 0.810083, 0.528718, 0.0" } }, { "id": 7, "type": "BasicGuider", "pos": [ 1340, 100 ], "size": [ 240, 46 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 27 }, { "localized_name": "conditioning", "name": "conditioning", "type": "CONDITIONING", "link": 33 } ], "outputs": [ { "localized_name": "GUIDER", "name": "GUIDER", "type": "GUIDER", "links": [ 5 ] } ], "properties": { "Node name for S&R": "BasicGuider", "cnr_id": "comfy-core", "ver": "0.43.0" } }, { "id": 8, "type": "KSamplerSelect", "pos": [ 1340, 220 ], "size": [ 270, 58 ], "flags": {}, "order": 1, "mode": 0, "inputs": [ { "localized_name": "sampler_name", "name": "sampler_name", "type": "COMBO", "widget": { "name": "sampler_name" }, "link": null } ], "outputs": [ { "localized_name": "SAMPLER", "name": "SAMPLER", "type": "SAMPLER", "links": [ 6 ] } ], "properties": { "Node name for S&R": "KSamplerSelect", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ "euler" ], "widgets_values_named": { "sampler_name": "euler" } }, { "id": 9, "type": "RandomNoise", "pos": [ 1340, 340 ], "size": [ 270, 82 ], "flags": {}, "order": 2, "mode": 0, "inputs": [ { "localized_name": "noise_seed", "name": "noise_seed", "type": "INT", "widget": { "name": "noise_seed" }, "link": null } ], "outputs": [ { "localized_name": "NOISE", "name": "NOISE", "type": "NOISE", "links": [ 4 ] } ], "properties": { "Node name for S&R": "RandomNoise", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ 0, "randomize" ], "widgets_values_named": { "noise_seed": 0, "control_after_generate": "randomize" } }, { "id": 10, "type": "SamplerCustomAdvanced", "pos": [ 1700, 100 ], "size": [ 270, 330 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "localized_name": "noise", "name": "noise", "type": "NOISE", "link": 4 }, { "localized_name": "guider", "name": "guider", "type": "GUIDER", "link": 5 }, { "localized_name": "sampler", "name": "sampler", "type": "SAMPLER", "link": 6 }, { "localized_name": "sigmas", "name": "sigmas", "type": "SIGMAS", "link": 7 }, { "localized_name": "latent_image", "name": "latent_image", "type": "LATENT", "link": 34 } ], "outputs": [ { "localized_name": "output", "name": "output", "type": "LATENT", "links": [ 9 ] }, { "localized_name": "denoised_output", "name": "denoised_output", "type": "LATENT", "links": [] } ], "properties": { "Node name for S&R": "SamplerCustomAdvanced", "cnr_id": "comfy-core", "ver": "0.43.0" } }, { "id": 11, "type": "VAEDecode", "pos": [ 2020, 100 ], "size": [ 210, 46 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "localized_name": "samples", "name": "samples", "type": "LATENT", "link": 9 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 28 } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 11 ] } ], "properties": { "Node name for S&R": "VAEDecode", "cnr_id": "comfy-core", "ver": "0.43.0" } }, { "id": 12, "type": "SaveImage", "pos": [ 2280, 100 ], "size": [ 520, 560 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "link": 11 }, { "localized_name": "filename_prefix", "name": "filename_prefix", "type": "STRING", "widget": { "name": "filename_prefix" }, "link": null } ], "outputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "links": null } ], "properties": { "Node name for S&R": "SaveImage", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [ "p-image-oss" ], "widgets_values_named": { "filename_prefix": "p-image-oss" } }, { "id": 13, "type": "CLIPLoader", "pos": [ 0, 760 ], "size": [ 320, 106 ], "flags": {}, "order": 3, "mode": 0, "inputs": [ { "localized_name": "clip_name", "name": "clip_name", "type": "COMBO", "widget": { "name": "clip_name" }, "link": null }, { "localized_name": "type", "name": "type", "type": "COMBO", "widget": { "name": "type" }, "link": null }, { "localized_name": "device", "name": "device", "shape": 7, "type": "COMBO", "widget": { "name": "device" }, "link": null } ], "outputs": [ { "localized_name": "CLIP", "name": "CLIP", "type": "CLIP", "links": [ 18 ] } ], "title": "p-image-oss prompt upsampler", "properties": { "Node name for S&R": "CLIPLoader", "cnr_id": "comfy-core", "ver": "0.43.0", "models": [ { "name": "p-h3-image_prompt_upsampler_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/P-Image-OSS-Comfy/resolve/main/text_encoders/p-h3-image_prompt_upsampler_bf16.safetensors", "directory": "text_encoders" } ] }, "widgets_values": [ "p-h3-image_prompt_upsampler_bf16.safetensors", "minimax", "default" ], "widgets_values_named": { "clip_name": "p-h3-image_prompt_upsampler_bf16.safetensors", "type": "minimax", "device": "default" } }, { "id": 15, "type": "PreviewAny", "pos": [ 1700, 880 ], "size": [ 480, 360 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "localized_name": "source", "name": "source", "type": "*", "link": 23 } ], "outputs": [ { "localized_name": "STRING", "name": "STRING", "type": "STRING", "links": [] } ], "title": "Upsampled prompt", "properties": { "Node name for S&R": "PreviewAny", "cnr_id": "comfy-core", "ver": "0.43.0" }, "widgets_values": [], "widgets_values_named": {} }, { "id": 16, "type": "PrimitiveStringMultiline", "pos": [ 380, 760 ], "size": [ 400, 200 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "localized_name": "value", "name": "value", "type": "STRING", "widget": { "name": "value" }, "link": null } ], "outputs": [ { "localized_name": "STRING", "name": "STRING", "type": "STRING", "links": [ 17, 20 ] } ], "title": "Request", "properties": { "Node name for S&R": "PrimitiveStringMultiline" }, "widgets_values": [ "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo" ], "widgets_values_named": { "value": "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo" } }, { "id": 17, "type": "StringFormat", "pos": [ 820, 760 ], "size": [ 400, 160 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "localized_name": "a", "name": "values.a", "shape": 7, "type": "*", "link": 17 }, { "localized_name": "b", "name": "values.b", "shape": 7, "type": "*", "link": null }, { "localized_name": "f_string", "name": "f_string", "type": "STRING", "widget": { "name": "f_string" }, "link": null } ], "outputs": [ { "localized_name": "STRING", "name": "STRING", "type": "STRING", "links": [ 19 ] } ], "title": "Upsampler input", "properties": { "Node name for S&R": "StringFormat" }, "widgets_values": [ "Aspect ratio: 1:1\nRequest: {a}" ], "widgets_values_named": { "f_string": "Aspect ratio: 1:1\nRequest: {a}" } }, { "id": 18, "type": "TextGenerate", "pos": [ 1260, 760 ], "size": [ 400, 290 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 18 }, { "localized_name": "image", "name": "image", "shape": 7, "type": "IMAGE", "link": null }, { "localized_name": "video", "name": "video", "shape": 7, "type": "IMAGE", "link": null }, { "localized_name": "audio", "name": "audio", "shape": 7, "type": "AUDIO", "link": null }, { "localized_name": "system_prompt", "name": "system_prompt", "shape": 7, "type": "STRING", "link": null }, { "localized_name": "prompt", "name": "prompt", "type": "STRING", "widget": { "name": "prompt" }, "link": 19 }, { "localized_name": "max_length", "name": "max_length", "type": "INT", "widget": { "name": "max_length" }, "link": null }, { "localized_name": "Sampling Mode", "name": "sampling_mode", "type": "COMFY_DYNAMICCOMBO_V3", "widget": { "name": "sampling_mode" }, "link": null }, { "localized_name": "thinking", "name": "thinking", "shape": 7, "type": "BOOLEAN", "widget": { "name": "thinking" }, "link": null }, { "localized_name": "use_default_template", "name": "use_default_template", "shape": 7, "type": "BOOLEAN", "widget": { "name": "use_default_template" }, "link": null }, { "localized_name": "mtp", "name": "mtp", "shape": 7, "type": "COMBO", "widget": { "name": "mtp" }, "link": null } ], "outputs": [ { "localized_name": "generated_text", "name": "generated_text", "type": "STRING", "links": [ 21 ] }, { "localized_name": "thinking", "name": "thinking", "type": "STRING", "links": null } ], "title": "Prompt upsampler", "properties": { "Node name for S&R": "TextGenerate" }, "widgets_values": [ "", 2048, "off", true, true, "auto" ], "widgets_values_named": { "prompt": "", "max_length": 2048, "sampling_mode": "off", "thinking": true, "use_default_template": true, "mtp": "auto" } }, { "id": 19, "type": "ComfySwitchNode", "pos": [ 1700, 760 ], "size": [ 300, 80 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "localized_name": "on_false", "name": "on_false", "shape": 7, "type": "STRING", "link": 20 }, { "localized_name": "on_true", "name": "on_true", "shape": 7, "type": "STRING", "link": 21 }, { "localized_name": "switch", "name": "switch", "type": "BOOLEAN", "widget": { "name": "switch" }, "link": null } ], "outputs": [ { "localized_name": "output", "name": "output", "type": "STRING", "links": [ 23, 30 ] } ], "title": "Use prompt upsampler", "properties": { "Node name for S&R": "ComfySwitchNode" }, "widgets_values": [ true ], "widgets_values_named": { "switch": true } }, { "id": 20, "type": "ResolutionSelector", "pos": [ 420, 360 ], "size": [ 300, 150 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "localized_name": "aspect_ratio", "name": "aspect_ratio", "type": "COMBO", "widget": { "name": "aspect_ratio" }, "link": null }, { "localized_name": "megapixels", "name": "megapixels", "type": "FLOAT", "widget": { "name": "megapixels" }, "link": null }, { "localized_name": "multiple", "name": "multiple", "type": "INT", "widget": { "name": "multiple" }, "link": null }, { "localized_name": "preview", "name": "preview", "shape": 7, "type": "RESOLUTION_PREVIEW", "widget": { "name": "preview" }, "link": null } ], "outputs": [ { "localized_name": "width", "name": "width", "type": "INT", "links": [ 31 ] }, { "localized_name": "height", "name": "height", "type": "INT", "links": [ 32 ] } ], "properties": { "Node name for S&R": "ResolutionSelector" }, "widgets_values": [ "1:1 (Square)", 8, 32 ], "widgets_values_named": { "aspect_ratio": "1:1 (Square)", "megapixels": 8, "multiple": 32 } }, { "id": 21, "type": "MarkdownNote", "pos": [ 0, 960 ], "size": [ 340, 230 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [], "title": "Prompt upsampler", "properties": {}, "widgets_values": [ "**Prompt upsampler.** Type a short request in **Request**; the upsampler (Generate Text) turns it into the full prompt shown in the preview.\n\nKeep the aspect ratio in **Upsampler input** the same as in **Resolution Selector** (1:1, 4:3, 3:4, 3:2, 2:3, 16:9 or 9:16).\n\nSet **Use prompt upsampler** to false to send the request to the model as it is." ], "widgets_values_named": { "text": "**Prompt upsampler.** Type a short request in **Request**; the upsampler (Generate Text) turns it into the full prompt shown in the preview.\n\nKeep the aspect ratio in **Upsampler input** the same as in **Resolution Selector** (1:1, 4:3, 3:4, 3:2, 2:3, 16:9 or 9:16).\n\nSet **Use prompt upsampler** to false to send the request to the model as it is." }, "color": "#432", "bgcolor": "#653" }, { "id": 22, "type": "UNETLoader", "pos": [ 0, 100 ], "size": [ 270, 82 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "localized_name": "unet_name", "name": "unet_name", "type": "COMBO", "widget": { "name": "unet_name" }, "link": null }, { "localized_name": "weight_dtype", "name": "weight_dtype", "type": "COMBO", "widget": { "name": "weight_dtype" }, "link": null } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 26 ] } ], "properties": { "Node name for S&R": "UNETLoader", "models": [ { "name": "p-h3-image_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/P-Image-OSS-Comfy/resolve/main/diffusion_models/p-h3-image_bf16.safetensors", "directory": "diffusion_models" } ] }, "widgets_values": [ "p-h3-image_bf16.safetensors", "default" ], "widgets_values_named": { "unet_name": "p-h3-image_bf16.safetensors", "weight_dtype": "default" } }, { "id": 23, "type": "MiniMaxH3SigmaShift", "pos": [ 0, 232 ], "size": [ 277.2857421875, 82 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 26 }, { "localized_name": "shift_video", "name": "shift_video", "type": "FLOAT", "widget": { "name": "shift_video" }, "link": null }, { "localized_name": "shift_audio", "name": "shift_audio", "type": "FLOAT", "widget": { "name": "shift_audio" }, "link": null } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 27 ] } ], "properties": { "Node name for S&R": "MiniMaxH3SigmaShift" }, "widgets_values": [ 1, 1 ], "widgets_values_named": { "shift_video": 1, "shift_audio": 1 } }, { "id": 24, "type": "CLIPLoader", "pos": [ 0, 364 ], "size": [ 270, 106 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "localized_name": "clip_name", "name": "clip_name", "type": "COMBO", "widget": { "name": "clip_name" }, "link": null }, { "localized_name": "type", "name": "type", "type": "COMBO", "widget": { "name": "type" }, "link": null }, { "localized_name": "device", "name": "device", "shape": 7, "type": "COMBO", "widget": { "name": "device" }, "link": null } ], "outputs": [ { "localized_name": "CLIP", "name": "CLIP", "type": "CLIP", "links": [ 29 ] } ], "title": "p-image-oss text encoder", "properties": { "Node name for S&R": "CLIPLoader", "models": [ { "name": "p-h3-image_text_encoder_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/P-Image-OSS-Comfy/resolve/main/text_encoders/p-h3-image_text_encoder_bf16.safetensors", "directory": "text_encoders" } ] }, "widgets_values": [ "p-h3-image_text_encoder_bf16.safetensors", "minimax", "default" ], "widgets_values_named": { "clip_name": "p-h3-image_text_encoder_bf16.safetensors", "type": "minimax", "device": "default" } }, { "id": 25, "type": "VAELoader", "pos": [ 0, 520 ], "size": [ 270, 58 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "localized_name": "vae_name", "name": "vae_name", "type": "COMBO", "widget": { "name": "vae_name" }, "link": null } ], "outputs": [ { "localized_name": "VAE", "name": "VAE", "type": "VAE", "links": [ 28 ] } ], "properties": { "Node name for S&R": "VAELoader", "models": [ { "name": "p-h3-image_vae_bf16.safetensors", "url": "https://huggingface.co/PrunaAI/P-Image-OSS-Comfy/resolve/main/vae/p-h3-image_vae_bf16.safetensors", "directory": "vae" } ] }, "widgets_values": [ "p-h3-image_vae_bf16.safetensors" ], "widgets_values_named": { "vae_name": "p-h3-image_vae_bf16.safetensors" } }, { "id": 26, "type": "PH3ImageConditioning", "pos": [ 860, 100 ], "size": [ 400, 200 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 29 }, { "localized_name": "vae", "name": "vae", "shape": 7, "type": "VAE", "link": null }, { "localized_name": "image_1", "name": "images.image_1", "shape": 7, "type": "IMAGE", "link": null }, { "localized_name": "prompt", "name": "prompt", "type": "STRING", "widget": { "name": "prompt" }, "link": 30 }, { "localized_name": "width", "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 31 }, { "localized_name": "height", "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 32 } ], "outputs": [ { "localized_name": "positive", "name": "positive", "type": "CONDITIONING", "links": [ 33 ] }, { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [ 34 ] } ], "properties": { "Node name for S&R": "PH3ImageConditioning" }, "widgets_values": [ "", 0, 0 ], "widgets_values_named": { "prompt": "", "width": 0, "height": 0 } } ], "links": [ [ 4, 9, 0, 10, 0, "NOISE" ], [ 5, 7, 0, 10, 1, "GUIDER" ], [ 6, 8, 0, 10, 2, "SAMPLER" ], [ 7, 6, 0, 10, 3, "SIGMAS" ], [ 9, 10, 0, 11, 0, "LATENT" ], [ 11, 11, 0, 12, 0, "IMAGE" ], [ 20, 16, 0, 19, 0, "STRING" ], [ 21, 18, 0, 19, 1, "STRING" ], [ 23, 19, 0, 15, 0, "STRING" ], [ 17, 16, 0, 17, 0, "STRING" ], [ 18, 13, 0, 18, 0, "CLIP" ], [ 19, 17, 0, 18, 5, "STRING" ], [ 26, 22, 0, 23, 0, "MODEL" ], [ 27, 23, 0, 7, 0, "MODEL" ], [ 28, 25, 0, 11, 1, "VAE" ], [ 29, 24, 0, 26, 0, "CLIP" ], [ 30, 19, 0, 26, 3, "STRING" ], [ 31, 20, 0, 26, 4, "INT" ], [ 32, 20, 1, 26, 5, "INT" ], [ 33, 26, 0, 7, 1, "CONDITIONING" ], [ 34, 26, 1, 10, 4, "LATENT" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.55, "offset": [ 100, 50 ] } }, "version": 0.4}.gitattributesAdded+38
LICENSEAdded+84
LICENSE-APACHEAdded+202
NOTICEAdded+14
README.mdAdded+281
assets/multi_image.jpgAdded

Large File Pointer Details
- SHA256: ee0c9775b222d2be273fe3303fec57ad61c44309303f72005c768ca29e0cd64a
- Pointer size: 131 Bytes
- Size of remote file: 761 kB
assets/p-image-oss-comfy.jpgAdded

Large File Pointer Details
- SHA256: 69dcb054da1f01f11217a39a1899d13e34ca55a50f909a70af1355b7db5f31aa
- Pointer size: 132 Bytes
- Size of remote file: 1.65 MB
assets/quantization.jpgAdded

Large File Pointer Details
- SHA256: d4d397138902a8c3cecbbdfab8e5fcc9f94123ab4490b2cfcd519f4eaa354e5e
- Pointer size: 131 Bytes
- Size of remote file: 790 kB
assets/resolutions.pngAdded

assets/weights.pngAdded

diffusion_models/p-h3-image_bf16.safetensorsAdded+3
diffusion_models/p-h3-image_int8_convrot.safetensorsAdded+3
diffusion_models/p-h3-image_w4a8.safetensorsAdded+3
diffusion_models/p-image-oss_bf16.safetensorsAdded+3
diffusion_models/p-image-oss_int8_convrot.safetensorsAdded+3
diffusion_models/p-image-oss_w4a8.safetensorsAdded+3
loras/p-h3-image_lora_bf16.safetensorsAdded+3
loras/p-image-oss_lora_bf16.safetensorsAdded+3
text_encoders/p-h3-image_prompt_upsampler_bf16.safetensorsAdded+3
text_encoders/p-h3-image_prompt_upsampler_int8_convrot.safetensorsAdded+3
text_encoders/p-h3-image_prompt_upsampler_w4a8.safetensorsAdded+3
text_encoders/p-h3-image_text_encoder_bf16.safetensorsAdded+3
text_encoders/p-h3-image_text_encoder_int8_convrot.safetensorsAdded+3
text_encoders/p-h3-image_text_encoder_w4a8.safetensorsAdded+3
text_encoders/p-image-oss_prompt_upsampler_bf16.safetensorsAdded+3
text_encoders/p-image-oss_prompt_upsampler_int8_convrot.safetensorsAdded+3
text_encoders/p-image-oss_prompt_upsampler_w4a8.safetensorsAdded+3
text_encoders/p-image-oss_text_encoder_bf16.safetensorsAdded+3
text_encoders/p-image-oss_text_encoder_int8_convrot.safetensorsAdded+3
text_encoders/p-image-oss_text_encoder_w4a8.safetensorsAdded+3
vae/p-h3-image_vae_bf16.safetensorsAdded+3
vae/p-h3-image_vae_int8_convrot.safetensorsAdded+3
vae/p-image-oss_vae_bf16.safetensorsAdded+3
vae/p-image-oss_vae_int8_convrot.safetensorsAdded+3
workflows/p-image-oss_edit.jsonAdded+1905
workflows/p-image-oss_lora_edit.jsonAdded+1988
workflows/p-image-oss_lora_text_to_image.jsonAdded+1512
workflows/p-image-oss_text_to_image.jsonAdded+1429