File size: 5,540 Bytes
224ccd9 805afc0 224ccd9 fb65d11 224ccd9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
---
license: apache-2.0
language:
- en
base_model:
- Qwen/Qwen-Image
tags:
- image-generation
- lora
- Qwen-Image
pipeline_tag: text-to-image
library_name: diffusers
widget:
- text: >-
yfyf, 广角镜头拍摄,一只手伸出去,拉着一个女人的手,女人穿着粉色的汉服,正面对镜头,戴着精美的中式头饰,背景是维多利亚港,晚上灯光夜景,一片繁华,另一只手上拿着牌子“QWEN新王当立 FLUX已死”
output:
url: result/output.png
- text: >-
yfyf, The image features a woman dressed in an elegant white gown with
intricate gold embroidery, which suggests a formal or ceremonial occasion.
The dress has a high neckline and long sleeves, adding to its sophisticated
look. She is accessorized with delicate jewelry, including a necklace and
earrings that complement her attire. Her pose, with one hand gently touching
the collar of her dress, adds a graceful element to the composition. The
background is minimalistic, featuring a wooden panel on the right side and a
neutral-toned wall on the left, ensuring that the focus remains on her and
her outfit. This description aims to provide a comprehensive understanding
of the visual elements present in the photograph without making assumptions
about the individual's identity or personal attributes beyond what is
directly observable.
output:
url: result/output1.png
- text: >-
yfyf, The image features a young woman with an engaging and gentle
expression. She is likely in her late twenties or early thirties, judging by
her youthful appearance and the style of her makeup. Her hair is styled in
soft waves that cascade over her shoulders, adding to her approachable
demeanor. The woman's attire, consisting of a light yellow cardigan over a
white top, suggests a casual yet put-together look suitable for a variety of
settings.She holds a wooden spoon near her face, which could imply she is
either about to taste something or is playfully posing with it. This action
adds a dynamic element to the otherwise serene composition. The background
is softly blurred but hints at a domestic setting with natural lighting
coming from a window on the left side, indicated by the bright illumination
and vertical lines that suggest curtains or blinds. The overall color
palette is warm and inviting, contributing to the pleasant atmosphere of the
photograph.
output:
url: result/output2.png
- text: >-
yfyf, The image features a woman dressed in an elegant white gown with
intricate gold embroidery, which suggests a formal or ceremonial occasion.
The dress has a high neckline and long sleeves, adding to its sophisticated
look. She is accessorized with delicate jewelry, including a necklace and
earrings that complement her attire. Her pose, with one hand gently touching
the collar of her dress, adds a graceful element to the composition. The
background is minimalistic, featuring a wooden panel on the right side and a
neutral-toned wall on the left, ensuring that the focus remains on her and
her outfit. This description aims to provide a comprehensive understanding
of the visual elements present in the photograph without making assumptions
about the individual's identity or personal attributes beyond what is
directly observable.
output:
url: result/output3.png
---
# valiantcat Qwen-Image LoRA
<Gallery />
## Model Card for Model ID
<!-- Provide a quick summary of what the model is/does. -->
This is a model for Qwen-Image in Portrait generation, trained on ```Qwen/Qwen-Image```, and is suitable for Used to generate various photos of Liu Yifei.For use in through the following code.
### Direct Use
```
from diffusers import DiffusionPipeline
import torch
model_name = "Qwen/Qwen-Image"
# Load the pipeline
if torch.cuda.is_available():
torch_dtype = torch.bfloat16
device = "cuda"
else:
torch_dtype = torch.float32
device = "cpu"
pipe = DiffusionPipeline.from_pretrained(model_name, torch_dtype=torch_dtype)
pipe = pipe.to(device)
# Load LoRA weights
pipe.load_lora_weights('valiantcat/Qwen-Image-Liuyifei-LoRA/qwen_image_liuyifei.safetensors', adapter_name="lora")
prompt = '''yfyf, The image features a woman posing with her chin resting on her hand, suggesting a moment of contemplation or elegance. Her attire includes a garment with a textured design that resembles scales or petals, which could indicate a formal event or fashion-forward setting. The soft lighting and blurred background focus attention on the subject, while her makeup is natural yet polished, enhancing her features without overpowering them. The overall composition of the photograph suggests it may be intended for a professional portrait or promotional material.
'''
negative_prompt = " "
image = pipe(
prompt=prompt,
negative_prompt=negative_prompt,
width=1024,
height=1024,
num_inference_steps=50,
true_cfg_scale=5,
generator=torch.Generator(device="cuda").manual_seed(123456)
)
image = image.images[0]
image.save("output.png")
```
## Trigger phrase
```yfyf```
## Download model
Weights for this model are available in Safetensors format.
[Download](https://huggingface.co/valiantcat/Qwen-Image-Liuyifei-LoRA)
## Training at Chongqing Valiant Cat
This model was trained by the AI Laboratory of Chongqing Valiant Cat Technology Co., LTD(```https://vvicat.com/```).Business cooperation is welcome |