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

Aquiles-ai
/
FLUX.2-dev

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

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

  • Libraries
  • Diffusers

    How to use Aquiles-ai/FLUX.2-dev 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("Aquiles-ai/FLUX.2-dev", 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
FLUX.2-dev / text_encoder
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Fredtt3's picture
Fredtt3
Add files using upload-large-folder tool
e10070c verified 5 months ago
  • config.json
    1.22 kB
    Add files using upload-large-folder tool 5 months ago
  • generation_config.json
    155 Bytes
    Add files using upload-large-folder tool 5 months ago
  • model-00001-of-00010.safetensors
    4.88 GB
    xet
    Add files using upload-large-folder tool 5 months ago
  • model-00002-of-00010.safetensors
    4.78 GB
    xet
    Add files using upload-large-folder tool 5 months ago
  • model-00003-of-00010.safetensors
    4.89 GB
    xet
    Add files using upload-large-folder tool 5 months ago
  • model-00004-of-00010.safetensors
    4.78 GB
    xet
    Add files using upload-large-folder tool 5 months ago
  • model-00005-of-00010.safetensors
    4.78 GB
    xet
    Add files using upload-large-folder tool 5 months ago
  • model-00006-of-00010.safetensors
    4.89 GB
    xet
    Add files using upload-large-folder tool 5 months ago
  • model-00007-of-00010.safetensors
    4.78 GB
    xet
    Add files using upload-large-folder tool 5 months ago
  • model-00008-of-00010.safetensors
    4.78 GB
    xet
    Add files using upload-large-folder tool 5 months ago
  • model-00009-of-00010.safetensors
    4.89 GB
    xet
    Add files using upload-large-folder tool 5 months ago
  • model-00010-of-00010.safetensors
    4.57 GB
    xet
    Add files using upload-large-folder tool 5 months ago
  • model.safetensors.index.json
    57.9 kB
    Add files using upload-large-folder tool 5 months ago