Instructions to use starsfriday/Qwen-Image-Liuyifei-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use starsfriday/Qwen-Image-Liuyifei-LoRA with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("starsfriday/Qwen-Image-Liuyifei-LoRA") prompt = "yfyf, 广角镜头拍摄,一只手伸出去,拉着一个女人的手,女人穿着粉色的汉服,正面对镜头,戴着精美的中式头饰,背景是维多利亚港,晚上灯光夜景,一片繁华,另一只手上拿着牌子“QWEN新王当立 FLUX已死”" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,17 +7,55 @@ base_model:
|
|
| 7 |
tags:
|
| 8 |
- image-generation
|
| 9 |
- lora
|
| 10 |
-
-
|
| 11 |
pipeline_tag: text-to-image
|
| 12 |
library_name: diffusers
|
| 13 |
widget:
|
| 14 |
-
- text:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
output:
|
| 16 |
url: result/output1.png
|
| 17 |
-
- text:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
output:
|
| 19 |
url: result/output2.png
|
| 20 |
-
- text:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
output:
|
| 22 |
url: result/output3.png
|
| 23 |
---
|
|
@@ -29,7 +67,7 @@ widget:
|
|
| 29 |
|
| 30 |
<!-- Provide a quick summary of what the model is/does. -->
|
| 31 |
|
| 32 |
-
This is a model for
|
| 33 |
|
| 34 |
### Direct Use
|
| 35 |
|
|
|
|
| 7 |
tags:
|
| 8 |
- image-generation
|
| 9 |
- lora
|
| 10 |
+
- Qwen-Image
|
| 11 |
pipeline_tag: text-to-image
|
| 12 |
library_name: diffusers
|
| 13 |
widget:
|
| 14 |
+
- text: >-
|
| 15 |
+
yfyf, The image features a woman dressed in an elegant white gown with
|
| 16 |
+
intricate gold embroidery, which suggests a formal or ceremonial occasion.
|
| 17 |
+
The dress has a high neckline and long sleeves, adding to its sophisticated
|
| 18 |
+
look. She is accessorized with delicate jewelry, including a necklace and
|
| 19 |
+
earrings that complement her attire. Her pose, with one hand gently touching
|
| 20 |
+
the collar of her dress, adds a graceful element to the composition. The
|
| 21 |
+
background is minimalistic, featuring a wooden panel on the right side and a
|
| 22 |
+
neutral-toned wall on the left, ensuring that the focus remains on her and
|
| 23 |
+
her outfit. This description aims to provide a comprehensive understanding
|
| 24 |
+
of the visual elements present in the photograph without making assumptions
|
| 25 |
+
about the individual's identity or personal attributes beyond what is
|
| 26 |
+
directly observable.
|
| 27 |
output:
|
| 28 |
url: result/output1.png
|
| 29 |
+
- text: >-
|
| 30 |
+
yfyf, The image features a young woman with an engaging and gentle
|
| 31 |
+
expression. She is likely in her late twenties or early thirties, judging by
|
| 32 |
+
her youthful appearance and the style of her makeup. Her hair is styled in
|
| 33 |
+
soft waves that cascade over her shoulders, adding to her approachable
|
| 34 |
+
demeanor. The woman's attire, consisting of a light yellow cardigan over a
|
| 35 |
+
white top, suggests a casual yet put-together look suitable for a variety of
|
| 36 |
+
settings.She holds a wooden spoon near her face, which could imply she is
|
| 37 |
+
either about to taste something or is playfully posing with it. This action
|
| 38 |
+
adds a dynamic element to the otherwise serene composition. The background
|
| 39 |
+
is softly blurred but hints at a domestic setting with natural lighting
|
| 40 |
+
coming from a window on the left side, indicated by the bright illumination
|
| 41 |
+
and vertical lines that suggest curtains or blinds. The overall color
|
| 42 |
+
palette is warm and inviting, contributing to the pleasant atmosphere of the
|
| 43 |
+
photograph.
|
| 44 |
output:
|
| 45 |
url: result/output2.png
|
| 46 |
+
- text: >-
|
| 47 |
+
yfyf, The image features a woman dressed in an elegant white gown with
|
| 48 |
+
intricate gold embroidery, which suggests a formal or ceremonial occasion.
|
| 49 |
+
The dress has a high neckline and long sleeves, adding to its sophisticated
|
| 50 |
+
look. She is accessorized with delicate jewelry, including a necklace and
|
| 51 |
+
earrings that complement her attire. Her pose, with one hand gently touching
|
| 52 |
+
the collar of her dress, adds a graceful element to the composition. The
|
| 53 |
+
background is minimalistic, featuring a wooden panel on the right side and a
|
| 54 |
+
neutral-toned wall on the left, ensuring that the focus remains on her and
|
| 55 |
+
her outfit. This description aims to provide a comprehensive understanding
|
| 56 |
+
of the visual elements present in the photograph without making assumptions
|
| 57 |
+
about the individual's identity or personal attributes beyond what is
|
| 58 |
+
directly observable.
|
| 59 |
output:
|
| 60 |
url: result/output3.png
|
| 61 |
---
|
|
|
|
| 67 |
|
| 68 |
<!-- Provide a quick summary of what the model is/does. -->
|
| 69 |
|
| 70 |
+
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.
|
| 71 |
|
| 72 |
### Direct Use
|
| 73 |
|