How to use XLabs-AI/flux-ip-adapter with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("XLabs-AI/flux-ip-adapter") pipe = StableDiffusionControlNetPipeline.from_pretrained( "fill-in-base-model", controlnet=controlnet )
It is hoped that the face version of ipadapter will have good support for both real people and two-dimensional elements.
· Sign up or log in to comment