File size: 4,614 Bytes
9e835d0
 
96f7b99
8b1e90a
 
 
9e835d0
96f7b99
6f8b379
 
 
96f7b99
5479b6f
 
 
 
 
f0ee643
 
 
 
 
 
 
 
 
 
 
 
 
 
5479b6f
9e835d0
e6b1d07
 
 
 
d5b4e9f
e6b1d07
 
 
 
 
7066d83
e6b1d07
 
 
 
 
 
 
 
 
 
 
 
9e835d0
 
 
 
 
7e02cc3
 
 
 
 
9e835d0
 
 
 
 
00fc38e
9e835d0
00fc38e
 
 
9e835d0
7e02cc3
9e835d0
05b71cc
9e835d0
 
affd8fe
 
9e835d0
 
 
 
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
---
language:
  - en
license: other
license_name: flux-1-dev-non-commercial-license
license_link: LICENSE.md
library_name: diffusers
pipeline_tag: text-to-image
tags:
  - text-to-image
  - image-generation
  - shuttle
widget:
  - text: >-
      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.
    output:
      url: assets/t1.webp
  - text: >-
      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.
    output:
      url: assets/t2.webp
instance_prompt: null
---
## DarkIdol-flux-v1
<table>
    <thead>
        <tr>
            <th>1088 x 1920 (8 steps)</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>
                <img src="./assets/t1.webp">
            <td>
        </tr>
    </tbody>
	<tbody>
        <tr>
            <td>
                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.
            </td>
        </tr>
    </tbody>
</table>

## Inference code

```python
from diffusers import FluxPipeline
import torch
import numpy as np

MAX_SEED = np.iinfo(np.int32).max
seed = random.randint(0, MAX_SEED)
generator = torch.Generator().manual_seed(seed)

pipeline = FluxPipeline.from_pretrained(
    "aifeifei798/DarkIdol-flux-v1", torch_dtype=torch.bfloat16
).to("cuda")
image = pipeline(
    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.",
    guidance_scale=3.5,
    num_inference_steps=8,
    height=1920,
    width=1088,
    max_sequence_length=512,
    generator=generator,
).images[0]
image.save("DarkIdol.png")
```

<img src="./assets/t2.webp">

## Documentation

* https://huggingface.co/docs/diffusers/main/en/api/pipelines/flux
* https://huggingface.co/docs/diffusers/main/en/api/models/flux_transformer