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

  • Log In
  • Sign Up

ModelsLab
/
flux.1-dev

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

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

  • Libraries
  • Diffusers

    How to use ModelsLab/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("ModelsLab/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 / text_encoder_2
9.52 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
edwixx's picture
edwixx
Upload folder using huggingface_hub
fa45a9e verified over 1 year ago
  • config.json
    782 Bytes
    Upload folder using huggingface_hub over 1 year ago
  • model-00001-of-00002.safetensors
    4.99 GB
    xet
    Upload folder using huggingface_hub over 1 year ago
  • model-00002-of-00002.safetensors
    4.53 GB
    xet
    Upload folder using huggingface_hub over 1 year ago
  • model.safetensors.index.json
    19.9 kB
    Upload folder using huggingface_hub over 1 year ago