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

  • Log In
  • Sign Up

black-forest-labs
/
FLUX.1-Depth-dev

Text-to-Image
Diffusers
Safetensors
Diffusion Single File
English
FluxControlPipeline
image-generation
flux
Model card Files Files and versions
xet
Community
5

Instructions to use black-forest-labs/FLUX.1-Depth-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-Depth-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-Depth-dev", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Diffusion Single File

    How to use black-forest-labs/FLUX.1-Depth-dev with Diffusion Single File:

    # No code snippets available yet for this library.
    
    # To use this model, check the repository files and the library's documentation.
    
    # Want to help? PRs adding snippets are welcome at:
    # https://github.com/huggingface/huggingface.js
  • 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
    Add Diffusers weights (#1) over 1 year ago
  • text_encoder
    Add Diffusers weights (#1) over 1 year ago
  • text_encoder_2
    Add Diffusers weights (#1) over 1 year ago
  • tokenizer
    Add Diffusers weights (#1) over 1 year ago
  • tokenizer_2
    Add Diffusers weights (#1) over 1 year ago
  • transformer
    Add Diffusers weights (#1) over 1 year ago
  • vae
    Add Diffusers weights (#1) over 1 year ago
  • .gitattributes
    1.52 kB
    FLUX Tools over 1 year ago
  • LICENSE.md
    18.6 kB
    Update LICENSE.md 11 months ago
  • README.md
    4.74 kB
    Add Diffusers weights (#1) over 1 year ago
  • ae.safetensors
    335 MB
    xet
    FLUX Tools over 1 year ago
  • flux1-depth-dev.safetensors
    23.8 GB
    xet
    FLUX Tools over 1 year ago
  • model_index.json
    594 Bytes
    Add Diffusers weights (#1) over 1 year ago