|
--- |
|
tags: |
|
- text-to-image |
|
- stable-diffusion |
|
- lora |
|
- diffusers |
|
- template:sd-lora |
|
widget: |
|
- text: >- |
|
<black-wukong>, the monkey king, walking through a snowy area, a highly |
|
detailed CGI rendering of a humanoid character with a monkey-like face, tall |
|
and slender, bushy mane of golden-brown hair, dressed in ornate, regal |
|
armor, armor features intricate, swirling patterns and floral designs, |
|
suggesting a high level of craftsmanship |
|
output: |
|
url: images/ae125b3a4fb283a33b0abc8e6a8d5019b29deffce2b3c4b82f91cd2a.jpg |
|
base_model: black-forest-labs/FLUX.1-dev |
|
instance_prompt: <black-wukong>, the monkey king |
|
license: apache-2.0 |
|
--- |
|
# Black-Myth-Wukong-FLUX-LoRA |
|
|
|
<Gallery /> |
|
|
|
This is a LoRA trained on FLUX.1-dev for [Black Myth: Wukong](https://en.wikipedia.org/wiki/Black_Myth:_Wukong), an action role-playing game developed and published by Game Science. |
|
|
|
## Trigger words |
|
|
|
\<black-wukong\>, the monkey king |
|
|
|
## Example |
|
|
|
``` |
|
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=1.0) |
|
pipe.to("cuda") |
|
|
|
prompt = "<black-wukong>, the monkey king, walking through a snowy area, a highly detailed CGI rendering of a humanoid character with a monkey-like face, tall and slender, bushy mane of golden-brown hair, dressed in ornate, regal armor, armor features intricate, swirling patterns and floral designs, suggesting a high level of craftsmanship" |
|
|
|
image = pipe(prompt, |
|
num_inference_steps=20, |
|
guidance_scale=5.0, |
|
width=768, height=1024, |
|
).images[0] |
|
image.save(f"example.png") |
|
``` |
|
|
|
|
|
## Download model |
|
|
|
Weights for this model are available in Safetensors format. |
|
|
|
[Download](/wanghaofan/Black-Myth-Wukong-FLUX-LoRA/tree/main) them in the Files & versions tab. |
|
|
|
|
|
## Online demo |
|
|
|
You can also download this model at [Liblib AI](https://www.liblib.art/modelinfo/e8d0f6faaf284d708fa75de6d1fec0b1?from=feed), where they provide an online interface to generate images. |