Downloads · 30 days
36
16% of all-time downloads
mastersubhajit/FLUX.1-dev-Finetuned-LoRA-Makoto-Shinkai
FLUX.1-dev-Finetuned-LoRA-Makoto-Shinkai is a text-to-image model from mastersubhajit. 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 Cinderella-themed LoRA trained on FLUX.1-dev, designed to generate storybook-style fairytale illustrations inspired by the classic Cinderella tale.
Downloads · 30 days
36
16% of all-time downloads
All-time downloads
226
Public
Repo size
169 MB
Likes
0
Public
Click a slice to open those files.
.safetensors159 MB · 94%
From the Hugging Face model README
This is a Cinderella-themed LoRA trained on FLUX.1-dev, designed to generate storybook-style fairytale illustrations inspired by the classic Cinderella tale.
<Gallery />Use the phrase:
Cinderella style
to trigger the trained LoRA style in image generation.
You can extend the prompt with scene details, characters, magic effects, or emotions.
import torch
from diffusers import FluxPipeline
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
# Updated model path
pipe.load_lora_weights("mastersubhajit/FLUX.1-dev-Finetuned-LoRA-Makoto-Shinkai",
weight_name="Flux-Finetuned-LoRA-Makoto_Shinkai.safetensors")
pipe.fuse_lora(lora_scale=1.0)
pipe.to("cuda")
prompt = (
"Cinderella style, Cinderella stepping into a glowing crystal carriage "
"with shimmering blue butterflies swirling around her, her ball gown "
"sparkling with magic, moonlight shining on the palace in the distance."
)
image = pipe(
prompt,
num_inference_steps=24,
guidance_scale=3.5,
width=960, height=1280,
).images[0]
image.save('cinderella.png')