Instructions to use xiaolxl/HXHY-Takeclothes-KontextLoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use xiaolxl/HXHY-Takeclothes-KontextLoRA with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("xiaolxl/HXHY-Takeclothes-KontextLoRA", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
幻象绘影取衣去人-TakeclothesKontextLoRA。用于各类图片的人物去除并保留服装。
权重:建议值1.0。
触发词:Remove the characters, keep the clothing
通用工作流:https://civitai.com/models/1733176/fluxkontextdev-lora-general-workflow
=======
幻象绘影取衣去人-TakeclothesKontextLoRA。Used for removing people from various types of images while retaining clothing.
Weight: Recommended value 1.0.
Trigger word: Remove the characters, keep the clothing
General workflow:https://civitai.com/models/1733176/fluxkontextdev-lora-general-workflow
Auto-size Universal Workflow:https://civitai.com/models/1733187/fluxkontextdev-lora-general-workflow-auto-size-fluxkontextdev-lora
- Downloads last month
- 24
