wanghaofan's picture
Update README.md
073442b verified
|
raw
history blame
2.12 kB
metadata
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

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

<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 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.