Open rossaai opened 5 months ago
"style and composition" requires two input images, the advanced IPAdapter node doesn't have that.
What happens when using the same image for composition and style?
you are patching those two layers with the same image
The
ipadapter_execute
function already supports the "style and composition" and "strong style and composition" weight types. However, these weight types are not currently listed in theWEIGHT_TYPES
array. To ensure these weight types are recognized and can be utilized effectively, we need to update theWEIGHT_TYPES
array to include them.Context:
The
WEIGHT_TYPES
array currently includes the following weight types:https://github.com/cubiq/ComfyUI_IPAdapter_plus/blob/d33265adf72974213fd4ea9bdbba1d0f176e7658/IPAdapterPlus.py#L40-L42
Proposed Solution:
WEIGHT_TYPES
array to include "style and composition" and "strong style and composition".Updated Code:
Benefits:
WEIGHT_TYPES
array will accurately reflect all supported weight types, making the API more intuitive and easier to use.Action Items:
WEIGHT_TYPES
array to include the new weight types.By implementing these changes, we can provide a more robust and flexible solution for users of the IPAdapter suite.