DarkIdol-flux-v1 / README.md
aifeifei798's picture
Upload 2 files
9e835d0 verified
|
raw
history blame
748 Bytes
---
language:
- en
library_name: diffusers
license: other
license_name: flux-1-dev-non-commercial-license
license_link: LICENSE.md
---
## Inference code
```python
from diffusers import FluxPipeline
import torch
pipeline = FluxPipeline.from_pretrained(
"aifeifei798/DarkIdol-flux-v1", torch_dtype=torch.bfloat16
).to("cuda")
image = pipeline(
prompt="the photo is a 18 yo jpop girl",
guidance_scale=3.5,
num_inference_steps=4,
height=880,
width=1184,
max_sequence_length=512,
generator=torch.manual_seed(0),
).images[0]
image.save("merged_flux.png")
```
## Documentation
* https://huggingface.co/docs/diffusers/main/en/api/pipelines/flux
* https://huggingface.co/docs/diffusers/main/en/api/models/flux_transformer