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

  • Log In
  • Sign Up

HelloTestUser
/
FLUX.1-dev

Text-to-Image
Diffusers
Safetensors
English
FluxPipeline
image-generation
flux
Model card Files Files and versions
xet
Community

Instructions to use HelloTestUser/FLUX.1-dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use HelloTestUser/FLUX.1-dev with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("HelloTestUser/FLUX.1-dev", 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
FLUX.1-dev / vae
168 MB
Ctrl+K
Ctrl+K
  • 9 contributors
History: 1 commit
timudk's picture
timudk
Add diffusers format weights (#3)
01aa605 verified almost 2 years ago
  • config.json
    820 Bytes
    Add diffusers format weights (#3) almost 2 years ago
  • diffusion_pytorch_model.safetensors
    168 MB
    xet
    Add diffusers format weights (#3) almost 2 years ago