Files
SMGandMuyang Li 70fa195472 feat: add IP-Adapter support to ComfyUI (#305)
* feat:IP-adapter

* add IP-adpater workflow

* delete wrong example

* start testing ipa

* add tests

* make linter happy

* add a utility function

* add the docs of ipadapter

* style: make linter happy

* update

* chore: fix the github variables

* no need to capture output

* debug the tests

* fix the dependencies versions

* reduce the VRAM usage

* update the test score

---------

Co-authored-by: Muyang Li <lmxyy1999@foxmail.com>
2025-07-27 13:11:49 -07:00

28 lines
1.3 KiB
ReStructuredText

FLUX IP-Adapter
===============
.. _nunchaku-flux.1-ip-adapter-json:
nunchaku-flux.1-ip-adapter.json
-------------------------------
.. image:: https://huggingface.co/datasets/nunchaku-tech/cdn/resolve/main/ComfyUI-nunchaku/workflows/nunchaku-flux.1-ip-adapter.png
:alt: nunchaku-flux.1-ip-adapter.json
:target: https://github.com/nunchaku-tech/ComfyUI-nunchaku/blob/main/example_workflows/nunchaku-flux.1-ip-adapter.json
Image-based prompting workflow using `IP-Adapter <https://huggingface.co/XLabs-AI/flux-ip-adapter-v2>`__ and the Nunchaku FLUX.1-dev model.
**Links:**
- Workflow: :download:`nunchaku-flux.1-ip-adapter.json <https://github.com/nunchaku-tech/ComfyUI-nunchaku/blob/main/example_workflows/nunchaku-flux.1-ip-adapter.json>`
- Example input image: :download:`monalisa.jpg <https://huggingface.co/datasets/nunchaku-tech/test-data/resolve/main/ComfyUI-nunchaku/inputs/monalisa.jpg>`
.. warning::
This workflow is experimental and currently requires a large amount of VRAM.
It will automatically download the IP-Adapter and its associated CLIP models
from `Hugging Face <https://huggingface.co/XLabs-AI/flux-ip-adapter-v2>`__ to the default cache directory.
At this time, specifying custom model paths is not supported.
.. seealso::
See nodes :ref:`nunchaku-flux-ip-adapter-loader` and :ref:`nunchaku-flux-ip-adapter-apply`.