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

  • Log In
  • Sign Up

tanjohnngu
/
FLUX.1-Canny-dev

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

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

  • Libraries
  • Diffusers

    How to use tanjohnngu/FLUX.1-Canny-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("tanjohnngu/FLUX.1-Canny-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 tanjohnngu/FLUX.1-Canny-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
FLUX.1-Canny-dev
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
tanjohnngu's picture
tanjohnngu
Upload folder using huggingface_hub
57d0321 verified 10 months ago
  • scheduler
    Upload folder using huggingface_hub 10 months ago
  • text_encoder
    Upload folder using huggingface_hub 10 months ago
  • text_encoder_2
    Upload folder using huggingface_hub 10 months ago
  • tokenizer
    Upload folder using huggingface_hub 10 months ago
  • tokenizer_2
    Upload folder using huggingface_hub 10 months ago
  • transformer
    Upload folder using huggingface_hub 10 months ago
  • vae
    Upload folder using huggingface_hub 10 months ago
  • .gitattributes
    1.52 kB
    initial commit 10 months ago
  • LICENSE.md
    17.1 kB
    Upload folder using huggingface_hub 10 months ago
  • README.md
    4.52 kB
    Upload folder using huggingface_hub 10 months ago
  • ae.safetensors
    134 Bytes
    xet
    Upload folder using huggingface_hub 10 months ago
  • flux1-canny-dev.safetensors
    136 Bytes
    xet
    Upload folder using huggingface_hub 10 months ago
  • model_index.json
    594 Bytes
    Upload folder using huggingface_hub 10 months ago