🚀 FLUX.1-dev-LoRA-Ghibli
這是一個基於 FLUX.1-dev 訓練的吉卜力風格 LoRA 模型,可用於生成具有吉卜力風格的圖像,為圖像創作帶來獨特的藝術效果。
🚀 快速開始
觸發詞
你需要使用 ghibli style
來觸發圖像生成。
推理示例
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-Ghibli", weight_name="ghibli_style.safetensors")
pipe.fuse_lora(lora_scale=1.0)
pipe.to("cuda")
prompt = "ghibli 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")
📦 模型信息
屬性 |
詳情 |
基礎模型 |
black-forest-labs/FLUX.1-dev |
觸發詞 |
ghibli style |
庫名稱 |
diffusers |
📄 許可證
本模型使用的許可證為 flux-1-dev-non-commercial-license。
🔍 示例展示
示例 1
- 提示詞:ghibli style, a boy and a girl looking out of a window with a cat perched on the window sill. There is a bicycle parked in front of them and a plant with flowers to the right side of the image. The wall behind them is visible in the background.
- 輸出圖像:

示例 2
- 提示詞:ghibli style, a girl in a green cloak walking alone through an ancient forest, sunlight piercing through towering trees like stained glass, glowing pollen swirling around her boots, a rusted lantern hanging from her wooden staff, shadows of deer spirits flickering between moss-covered stones, muted emerald and gold color palette
- 輸出圖像:

示例 3
- 提示詞:ghibli 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
- 輸出圖像:
