CoolFace
Modelpublic

InstantX/FLUX.1-dev-LoRA-Makoto-Shinkai

sourceHugging Faceotherupdated 1y agoView on Hugging Face
19likes1.9kdownloads
Model Card

FLUX.1-dev-LoRA-Makoto-Shinkai

This is a Makoto Shinkai style LoRA trained on FLUX.1-dev.

<Gallery />

Trigger words

You should use Makoto Shinkai style to trigger the image generation.

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("InstantX/FLUX.1-dev-LoRA-Makoto-Shinkai", weight_name="Makoto_Shinkai_style.safetensors")
pipe.fuse_lora(lora_scale=1.0)
pipe.to("cuda")

prompt = "Makoto Shinkai style, a shepherd boy floating on a wooly cloud-whale, holding a glowing dandelion staff to guide sheep-shaped cumulus, miniature storm clouds grazing nearby, his patched jacket flapping in high-altitude winds, aurora-like ribbons in peach and lavender stretching across the sky"

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