aifeifei798 commited on
Commit
28e5752
·
verified ·
1 Parent(s): 2557c32

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +78 -0
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: other
5
+ license_name: flux-1-dev-non-commercial-license
6
+ license_link: LICENSE.md
7
+ library_name: diffusers
8
+ pipeline_tag: text-to-image
9
+ tags:
10
+ - text-to-image
11
+ - image-generation
12
+ - shuttle
13
+ widget:
14
+ - text: >-
15
+ A high-resolution photograph of a female model posing for a Louis Vuitton brand advertisement, featuring natural lighting effects, a consistent style, balanced composition, rich details, harmonious colors, no visible flaws, emotional expression, creativity, and uniqueness, with optimized technical parameters, master-level lighting, master-level color, and master-level styling.
16
+ output:
17
+ url: assets/t1.webp
18
+ - text: >-
19
+ A high-resolution photograph of a female model in a serene, natural setting, with soft, warm lighting, and a minimalist aesthetic, showcasing a elegant fragrance bottle and the model's effortless, emotive expression, with impeccable styling, and a muted color palette, evoking a sense of understated luxury and refinement.
20
+ output:
21
+ url: assets/t2.webp
22
+ instance_prompt: null
23
+ ---
24
+ ## DarkIdol-flux-v1
25
+ <table>
26
+ <thead>
27
+ <tr>
28
+ <th>1088 x 1920 (6 steps)</th>
29
+ </tr>
30
+ </thead>
31
+ <tbody>
32
+ <tr>
33
+ <td>
34
+ <img src="./assets/t1.webp">
35
+ <td>
36
+ </tr>
37
+ </tbody>
38
+ <tbody>
39
+ <tr>
40
+ <td>
41
+ A stunning Japanese female model poses in a serene, misty forest, surrounded by lush greenery, with soft, warm light casting a golden glow on her face, as she gently lifts a delicate, crystal perfume bottle to her nose, her eyes closed in rapture, exuding an aura of elegance and refinement, with a subtle, enigmatic smile playing on her lips, in a masterful blend of natural and studio lighting, with a muted color palette of emerald greens, soft pinks, and creamy whites, and intricate details of her traditional Japanese attire, including a flowing, silk kimono with subtle, cherry blossom patterns, and a delicate, beaded obi, all perfectly captured in a high-resolution, large-format photograph, with impeccable composition, and a sense of timeless, ethereal beauty.
42
+ </td>
43
+ </tr>
44
+ </tbody>
45
+ </table>
46
+
47
+ ## Inference code
48
+
49
+ ```python
50
+ from diffusers import FluxPipeline
51
+ import torch
52
+ import numpy as np
53
+
54
+ MAX_SEED = np.iinfo(np.int32).max
55
+ seed = random.randint(0, MAX_SEED)
56
+ generator = torch.Generator().manual_seed(seed)
57
+
58
+ pipeline = FluxPipeline.from_pretrained(
59
+ "aifeifei798/DarkIdol-flux-v1", torch_dtype=torch.bfloat16
60
+ ).to("cuda")
61
+ image = pipeline(
62
+ prompt="A stunning Japanese female model poses in a serene, misty forest, surrounded by lush greenery, with soft, warm light casting a golden glow on her face, as she gently lifts a delicate, crystal perfume bottle to her nose, her eyes closed in rapture, exuding an aura of elegance and refinement, with a subtle, enigmatic smile playing on her lips, in a masterful blend of natural and studio lighting, with a muted color palette of emerald greens, soft pinks, and creamy whites, and intricate details of her traditional Japanese attire, including a flowing, silk kimono with subtle, cherry blossom patterns, and a delicate, beaded obi, all perfectly captured in a high-resolution, large-format photograph, with impeccable composition, and a sense of timeless, ethereal beauty.",
63
+ guidance_scale=0,
64
+ num_inference_steps=6,
65
+ height=1920,
66
+ width=1088,
67
+ max_sequence_length=512,
68
+ generator=generator,
69
+ ).images[0]
70
+ image.save("DarkIdol.png")
71
+ ```
72
+
73
+ <img src="./assets/t2.webp">
74
+
75
+ ## Documentation
76
+
77
+ * https://huggingface.co/docs/diffusers/main/en/api/pipelines/flux
78
+ * https://huggingface.co/docs/diffusers/main/en/api/models/flux_transformer