|
--- |
|
license: apache-2.0 |
|
tags: |
|
- text-to-image |
|
--- |
|
# AuraFlow |
|
|
|
 |
|
|
|
|
|
AuraFlow v0.1 is the largest, fully open-sourced, flow-based text-to-image generation model. |
|
|
|
This model achieves state-of-the-art results on GenEval. Read blog post for more technical details. |
|
|
|
The model is currently in beta. We are working on improving it and the community's feedback is important. |
|
Join [fal's Discord](https://discord.gg/fal-ai) to give us feedback and stay in touch with the model development. |
|
|
|
## Usage |
|
|
|
```bash |
|
$ pip install diffusers transformers accelerate protobuf sentencepiece |
|
``` |
|
|
|
```python |
|
from diffusers import AuraFlowPipeline |
|
import torch |
|
|
|
pipeline = AuraFlowPipeline( |
|
"fal/AuraFlow", |
|
torch_dtype=torch.float16 |
|
).to("cuda") |
|
|
|
image = pipeline( |
|
prompt="close-up portrait of a majestic iguana with vibrant blue-green scales, piercing amber eyes, and orange spiky crest. Intricate textures and details visible on scaly skin. Wrapped in dark hood, giving regal appearance. Dramatic lighting against black background. Hyper-realistic, high-resolution image showcasing the reptile's expressive features and coloration.", |
|
height=1024, |
|
width=1024, |
|
num_inference_steps=50, |
|
generator=torch.Generator().manual_seed(666), |
|
guidance_scale=3.5, |
|
).images[0] |
|
``` |