Instructions to use joyfox/Kontext-Sculptor-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use joyfox/Kontext-Sculptor-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("joyfox/Kontext-Sculptor-LoRA") prompt = "turn the image into the miniature scene, sculptors are carving giant sculptures of Q-version characters uploaded from pictures,3D cartoon Q version scene illustration." 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
- Draw Things
File size: 1,806 Bytes
51609c4 706fd98 51609c4 | 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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | ---
license: apache-2.0
language:
- en
base_model:
- black-forest-labs/FLUX.1-Kontext-dev
tags:
- image-generation
- lora
- kontext
pipeline_tag: image-to-image
library_name: diffusers
widget:
- text: turn the image into the miniature scene, sculptors are carving giant sculptures
of Q-version characters uploaded from pictures,3D cartoon Q version scene illustration.
output:
url: samples/result1.png
- text: turn the image into the miniature scene, sculptors are carving giant sculptures
of Q-version characters uploaded from pictures,3D cartoon Q version scene illustration.
output:
url: samples/result2.png
- text: turn the image into the miniature scene, sculptors are carving giant sculptures
of Q-version characters uploaded from pictures,3D cartoon Q version scene illustration.
output:
url: samples/result3.png
---
# valiantcat Kontext Dev LoRA
<Gallery />
## Model Card for Model ID
<!-- Provide a quick summary of what the model is/does. -->
This is a model for style transfer, trained on ```black-forest-labs/FLUX.1-Kontext-dev```, and it is mainly used to generate many little sculptors sculpting the scenes after the characters in this uploaded picture are animated.For use in ```ComfyUI```.
## Model description
## Trigger phrase
```turn the image into the miniature scene, sculptors are carving giant sculptures of Q-version characters uploaded from pictures,3D cartoon Q version scene illustration.```
## Download model
Weights for this model are available in Safetensors format.
[Download](https://huggingface.co/valiantcat/Kontext-Sculptor-LoRA)
## Training at Chongqing Valiant Cat
This model was trained by the AI Laboratory of Chongqing Valiant Cat Technology Co., LTD(```https://vvicat.com/```).Business cooperation is welcome |