Instructions to use prithivMLmods/Outfit-Cut-Specified with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use prithivMLmods/Outfit-Cut-Specified 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("black-forest-labs/FLUX.1-Kontext-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("prithivMLmods/Outfit-Cut-Specified") prompt = "[photo content], extract only the specified clothing item [full outfit, top wear, bottom wear, t-shirt, jacket, dress, etc.] from the image and place it over a clean, plain background. Present the result in a product photography style — well-lit, crisp, and professional — while preserving the garment’s original textures, colors, shapes, and fine details." 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] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Update README.md
Browse files
README.md
CHANGED
|
@@ -31,16 +31,22 @@ library_name: diffusers
|
|
| 31 |
|  |  |
|
| 32 |
|---|---|
|
| 33 |
|
|
|
|
|
|
|
| 34 |
> Prompt: [photo content], extract only the specified clothing item [t-shirt] from the image and place it over a clean, plain background. Present the result in a product photography style — well-lit, crisp, and professional — while preserving the garment’s original textures, colors, shapes, and fine details.
|
| 35 |
|
| 36 |
|  |  |
|
| 37 |
|---|---|
|
| 38 |
|
|
|
|
|
|
|
| 39 |
> Prompt: [photo content], extract only the specified clothing item [t-shirt] from the image and place it over a clean, plain background. Present the result in a product photography style — well-lit, crisp, and professional — while preserving the garment’s original textures, colors, shapes, and fine details.
|
| 40 |
|
| 41 |
|  |  |
|
| 42 |
|---|---|
|
| 43 |
|
|
|
|
|
|
|
| 44 |
> Prompt: [photo content], extract only the specified clothing item [t-shirt] from the image and place it over a clean, plain background. Present the result in a product photography style — well-lit, crisp, and professional — while preserving the garment’s original textures, colors, shapes, and fine details.
|
| 45 |
|
| 46 |
|  |  |
|
|
|
|
| 31 |
|  |  |
|
| 32 |
|---|---|
|
| 33 |
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
> Prompt: [photo content], extract only the specified clothing item [t-shirt] from the image and place it over a clean, plain background. Present the result in a product photography style — well-lit, crisp, and professional — while preserving the garment’s original textures, colors, shapes, and fine details.
|
| 37 |
|
| 38 |
|  |  |
|
| 39 |
|---|---|
|
| 40 |
|
| 41 |
+
---
|
| 42 |
+
|
| 43 |
> Prompt: [photo content], extract only the specified clothing item [t-shirt] from the image and place it over a clean, plain background. Present the result in a product photography style — well-lit, crisp, and professional — while preserving the garment’s original textures, colors, shapes, and fine details.
|
| 44 |
|
| 45 |
|  |  |
|
| 46 |
|---|---|
|
| 47 |
|
| 48 |
+
---
|
| 49 |
+
|
| 50 |
> Prompt: [photo content], extract only the specified clothing item [t-shirt] from the image and place it over a clean, plain background. Present the result in a product photography style — well-lit, crisp, and professional — while preserving the garment’s original textures, colors, shapes, and fine details.
|
| 51 |
|
| 52 |
|  |  |
|