Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

black-forest-labs
/
FLUX.1-dev

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

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

  • Libraries
  • Diffusers

    How to use black-forest-labs/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("black-forest-labs/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]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

By clicking "Agree", you agree to the FluxDev Non-Commercial License Agreement and acknowledge the Acceptable Use Policy.

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • scheduler
    update scheduler almost 2 years ago
  • text_encoder
    Add diffusers format weights almost 2 years ago
  • text_encoder_2
    Add diffusers format weights almost 2 years ago
  • tokenizer
    Add diffusers format weights almost 2 years ago
  • tokenizer_2
    Add diffusers format weights almost 2 years ago
  • transformer
    Add diffusers format weights almost 2 years ago
  • vae
    Add diffusers format weights almost 2 years ago
  • .gitattributes
    1.66 kB
    Initial commit almost 2 years ago
  • LICENSE.md
    16.9 kB
    Initial commit almost 2 years ago
  • README.md
    4.34 kB
    Update README.md almost 2 years ago
  • ae.sft
    335 MB
    xet
    Initial commit almost 2 years ago
  • dev_grid.jpg
    1.3 MB
    xet
    Initial commit almost 2 years ago
  • flux1-dev.sft
    23.8 GB
    xet
    Initial commit almost 2 years ago
  • model_index.json
    536 Bytes
    Add diffusers format weights almost 2 years ago