Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

ostris
/
OpenFLUX.1

Text-to-Image
Diffusers
Safetensors
FluxPipeline
Model card Files Files and versions
xet
Community
31

Instructions to use ostris/OpenFLUX.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use ostris/OpenFLUX.1 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("ostris/OpenFLUX.1", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
OpenFLUX.1 / text_encoder_2
9.52 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
ostris's picture
ostris
Upload folder using huggingface_hub
4db07a1 verified almost 2 years ago
  • config.json
    905 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • model-00001-of-00002.safetensors
    4.99 GB
    xet
    Upload folder using huggingface_hub almost 2 years ago
  • model-00002-of-00002.safetensors
    4.53 GB
    xet
    Upload folder using huggingface_hub almost 2 years ago
  • model.safetensors.index.json
    19.9 kB
    Upload folder using huggingface_hub almost 2 years ago