Downloads · 30 days
338
1% of all-time downloads
Shakker-Labs/FLUX.1-dev-LoRA-Children-Simple-Sketch
FLUX.1-dev-LoRA-Children-Simple-Sketch is a text-to-image model from Shakker-Labs. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as other.
This is a LoRA trained on FLUX.1-dev for Children's Simple-Sketch by Hongke on Shakker AI.
Downloads · 30 days
338
1% of all-time downloads
All-time downloads
35.8K
Public
Repo size
613 MB
Likes
121
Public
Click a slice to open those files.
.safetensors613 MB · 100%
From the Hugging Face model README
This is a LoRA trained on FLUX.1-dev for Children's Simple-Sketch by Hongke on Shakker AI.
<div class="container"> <img src="https://huggingface.co/Shakker-Labs/FLUX.1-dev-LoRA-live-3D/resolve/main/poster.jpg" width="1024"/> </div>You should use sketched style to trigger the image generation. The recommended scale is 0.8 to 1.5 in diffusers.
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-Children-Simple-Sketch", weight_name="FLUX-dev-lora-children-simple-sketch.safetensors")
pipe.fuse_lora(lora_scale=1.5)
pipe.to("cuda")
prompt = "sketched style,A joyful girl with balloons floats above a city wearing a hat and striped pants,"
image = pipe(prompt,
num_inference_steps=24,
guidance_scale=3.5,
).images[0]
image.save(f"example.png")
You can also run this model at Shakker AI, where we provide an online interface to generate images.
This model is trained by our copyrighted users Hongke. We release this model under permissions. The model follows flux-1-dev-non-commercial-license.