wanghaofan's picture
Update README.md
84a7e8b verified
metadata
tags:
  - text-to-image
  - stable-diffusion
  - lora
  - diffusers
  - template:sd-lora
widget:
  - text: >-
      wukong, working in the office, holding a paper that writeen with
      'damn,they don't need to work'
    output:
      url: images/7d0ac495a4d5e4a3a30df25f08379a3f956ef99e1dc3e252fc1fca3a.jpg
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: wukong
license: apache-2.0

Black-Myth-Wukong-FLUX-LoRA

Prompt
wukong, working in the office, holding a paper that writeen with 'damn,they don't need to work'

This is a LoRA trained on FLUX.1-dev for Black Myth: Wukong, an action role-playing game developed and published by Game Science.

Trigger words

wukong

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=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")

Download model

Weights for this model are available in Safetensors format.

Download them in the Files & versions tab.

Online demo

You can also download this model at Liblib AI, where they provide an online interface to generate images.