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
|
Download README.md from xiaolxl/HXHY-Takeclothes-KontextLoRA: direct link, hf CLI and curl.
- Browser
- Download file 1.15 kB
-
https://huggingface.co/xiaolxl/HXHY-Takeclothes-KontextLoRA/resolve/main/README.md
- Command line
-
hf download hf://xiaolxl/HXHY-Takeclothes-KontextLoRA/README.md
-
curl -L -o README.md https://huggingface.co/xiaolxl/HXHY-Takeclothes-KontextLoRA/resolve/main/README.md
1.15 kB
| 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 |