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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

msrcam
/
flux2-dev-mirror

Image-to-Image
Diffusers
Safetensors
Flux2Pipeline
flux
mirror
Model card Files Files and versions
xet
Community

Instructions to use msrcam/flux2-dev-mirror with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use msrcam/flux2-dev-mirror with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("msrcam/flux2-dev-mirror", torch_dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Turn this cat into a dog"
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
    
    image = pipe(image=input_image, prompt=prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle

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.

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
    initial mirror of black-forest-labs/FLUX.2-dev 3 months ago
  • text_encoder
    initial mirror of black-forest-labs/FLUX.2-dev 3 months ago
  • tokenizer
    initial mirror of black-forest-labs/FLUX.2-dev 3 months ago
  • transformer
    initial mirror of black-forest-labs/FLUX.2-dev 3 months ago
  • vae
    initial mirror of black-forest-labs/FLUX.2-dev 3 months ago
  • .gitattributes
    1.87 kB
    initial mirror of black-forest-labs/FLUX.2-dev 3 months ago
  • LICENSE.md
    18.2 kB
    initial mirror of black-forest-labs/FLUX.2-dev 3 months ago
  • README.md
    104 Bytes
    Upload README.md with huggingface_hub about 2 months ago
  • ae.safetensors
    336 MB
    xet
    initial mirror of black-forest-labs/FLUX.2-dev 3 months ago
  • flux2-dev.safetensors
    64.4 GB
    xet
    initial mirror of black-forest-labs/FLUX.2-dev 3 months ago
  • model_index.json
    431 Bytes
    initial mirror of black-forest-labs/FLUX.2-dev 3 months ago
  • teaser_editing.png
    11.3 MB
    xet
    initial mirror of black-forest-labs/FLUX.2-dev 3 months ago
  • teaser_generation.png
    23.3 MB
    xet
    initial mirror of black-forest-labs/FLUX.2-dev 3 months ago