Downloads · 30 days
67
3% of all-time downloads
wanghaofan/Black-Myth-Wukong-FLUX-LoRA
Black-Myth-Wukong-FLUX-LoRA is a text-to-image model from wanghaofan. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as apache-2.0.
Downloads · 30 days
67
3% of all-time downloads
All-time downloads
2.5K
Public
Repo size
774 MB
Likes
8
Public
Click a slice to open those files.
.safetensors688 MB · 100%
From the Hugging Face model README
This is a LoRA trained on FLUX.1-dev for Black Myth: Wukong, an action role-playing game developed and published by Game Science.
wukong
import torch
from diffusers import FluxPipeline
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
pipe.load_lora_weights("wanghaofan/Black-Myth-Wukong-FLUX-LoRA")
pipe.fuse_lora(lora_scale=0.3)
pipe.to("cuda")
prompt = "wukong, working in the office, holding a paper that writeen with 'damn,they don't need to work'"
image = pipe(prompt,
num_inference_steps=24,
guidance_scale=5.0,
width=768, height=1024,
).images[0]
image.save(f"example.png")
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
You can also download this model at Liblib AI, where they provide an online interface to generate images.