DarkIdol-flux-v1.2 / README.md
aifeifei798's picture
Update README.md
9977f17 verified
|
raw
history blame
2.33 kB
---
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 sexy girl,poses,look at camera,Slim figure, gigantic breasts,poses,natural,High-quality photography, creative composition, fashion foresight, a strong visual style, and an aura of luxury and sophistication collectively define the distinctive aesthetic of Vogue magazine.
output:
url: assets/t1.webp
- text: >-
real model slight smile girl in real life
output:
url: assets/t2.webp
instance_prompt: null
---
## DarkIdol-flux-v1.2
- Online Test https://huggingface.co./spaces/aifeifei798/DarkIdol-flux
- Online Test https://huggingface.co./spaces/aifeifei798/allinone-DarkIdol-flux
<table>
<thead>
<tr>
<th>896 x 1152 (8 steps)</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<img src="./assets/t1.webp">
<td>
</tr>
</tbody>
<tbody>
<tr>
<td>
a sexy girl,poses,look at camera,Slim figure, gigantic breasts,poses,natural,High-quality photography, creative composition, fashion foresight, a strong visual style, and an aura of luxury and sophistication collectively define the distinctive aesthetic of Vogue magazine.
</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.2", torch_dtype=torch.bfloat16
).to("cuda")
# Enable VAE big pic
pipeline.vae.enable_slicing()
pipeline.vae.enable_tiling()
image = pipeline(
prompt="real model slight smile girl in real life",
guidance_scale=0,
num_inference_steps=9,
height=1152,
width=896,
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