CoolFace
Modelpublic

Shakker-Labs/FLUX.1-dev-LoRA-MiaoKa-Yarn-World

sourceHugging Faceotherupdated 2y agoView on Hugging Face
24likes102downloads
Model Card

FLUX.1-dev-LoRA-MiaoKa-Yarn-World

This is a LoRA (MiaoKa-Yarn-World) trained on FLUX.1-dev by MIAOKA for creating wool yarn art. It is capable of producing intricate and realistic woolen textures and patterns while maintaining high performance.

<div class="container"> <img src="./poster.jpg" width="1024"/> </div>

Showcases

<Gallery />

Trigger words

You should use mkym this is made of wool to trigger the image generation. The recommended scale is 0.8 to 1.0 in diffusers.

Inference

python
import torch
from diffusers import FluxPipeline

pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
pipe.load_lora_weights("Shakker-Labs/FLUX.1-dev-LoRA-MiaoKa-Yarn-World", weight_name="FLUX-dev-lora-MiaoKa-Yarn-World.safetensors")
pipe.fuse_lora(lora_scale=1.0)
pipe.to("cuda")

prompt = "mkym this is made of wool, sports car"

image = pipe(prompt, 
             num_inference_steps=24, 
             guidance_scale=3.5,
            ).images[0]
image.save(f"example.png")

Online Inference

You can also download this model at Shakker AI, where we provide an online interface to generate images.

Acknowledgements

This model is trained by our copyrighted users MIAOKA. We release this model under permissions. The model follows flux-1-dev-non-commercial-license.