Instructions to use Kontext-Style/Clay_Toy_lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Kontext-Style/Clay_Toy_lora 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("Kontext-Style/Clay_Toy_lora") 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] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Commit History
-
Update README.md
Verified signature11d1000 -
Update README.md
Verified signature072379a -
Upload README.md with huggingface_hub
Verified signature2b27df8 -
Upload example-6.png with huggingface_hub
Verified signature6f6b310 -
Upload example-5.png with huggingface_hub
Verified signature8620e9a -
Upload example-4.png with huggingface_hub
Verified signature36d40c8 -
Delete example-7.png with huggingface_hub
Verified signaturef3bf7b4 -
Upload example-7.png with huggingface_hub
Verified signature8ab9333 -
Upload example-6.png with huggingface_hub
Verified signature3994ec8 -
Upload example-5.png with huggingface_hub
Verified signaturee20bd70 -
Upload example-4.png with huggingface_hub
Verified signaturec1faa08 -
Upload example-3.png with huggingface_hub
Verified signaturecc74fef -
Upload example-2.png with huggingface_hub
Verified signature2dbfbfc -
Upload example-1.png with huggingface_hub
Verified signature425c94f -
Upload README.md with huggingface_hub
Verified signaturea57cf3f -
Upload LICENSE.md with huggingface_hub
Verified signature8fc89ce -
Upload Clay_Toy_lora_weights.safetensors with huggingface_hub
Verified signaturefc1a0cd -
initial commit
Verified signaturecdf4d7a