FLUX.1-Kontext-dev-LoRA-Illustration-Style

This is an illustration style style LoRA trained on FLUX.1-Kontext-dev by 木木木亘.

Showcases

Prompt
change to illustration style
Prompt
change to illustration style
Prompt
change to illustration style

Trigger words

You should use illustration style to trigger the image generation.

Inference

import torch
from diffusers import FluxKontextPipeline
from diffusers.utils import load_image

pipe = FluxKontextPipeline.from_pretrained("black-forest-labs/FLUX.1-Kontext-dev", torch_dtype=torch.bfloat16)
pipe.load_lora_weights("Shakker-Labs/FLUX.1-Kontext-dev-LoRA-Illustration-Style", weight_name="FLUX-kontext-lora-illustration-style.safetensors")
pipe.fuse_lora(lora_scale=1.0)
pipe.to("cuda")

input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
prompt = "change to illustration style"

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

Acknowledgements

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

Downloads last month
-
Inference Examples
Examples
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Shakker-Labs/FLUX.1-Kontext-dev-LoRA-Illustration-Style

Adapter
(82)
this model