How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("speach1sdef178/Project0_PJ0_Krea_v2_FP8_FP16")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

Project0_PJ0_Krea_v2_FP8_FP16

Updated version with improved realism and detail.


Performance

  • Recommended samplers: Euler/Simple

Examples

пример 1
пример 2
пример 3
пример 4
пример 5
пример 6
пример 7
пример 8 пример 9 пример 10 пример 11 пример 12 пример 13 пример 14 пример 15 пример 16 пример 17


License

https://huggingface.co/black-forest-labs/FLUX.1-dev

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support