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
File size: 1,148 Bytes
b19d400 ed69238 b19d400 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | ---
license: creativeml-openrail-m
language:
- en
library_name: diffusers
pipeline_tag: image-to-image
tags:
- Flux-Kontext-dev
- Flux-Kontext-dev-Lora
---
对比图(Comparison chart):

幻象绘影取衣去人-TakeclothesKontextLoRA。用于各类图片的人物去除并保留服装。
权重:建议值1.0。
触发词:Remove the characters, keep the clothing
通用工作流:https://civitai.com/models/1733176/fluxkontextdev-lora-general-workflow
自动大小通用工作流:https://civitai.com/models/1733187/fluxkontextdev-lora-general-workflow-auto-size-fluxkontextdev-lora
=======
幻象绘影取衣去人-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 |