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

  • Log In
  • Sign Up

jetx
/
flux1-dev

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

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

  • Libraries
  • Diffusers

    How to use jetx/flux1-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("jetx/flux1-dev", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
flux1-dev / text_encoder_2
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
jetx's picture
jetx
Upload folder using huggingface_hub
8e34af9 verified 7 months ago
  • config.json
    782 Bytes
    Upload folder using huggingface_hub 7 months ago
  • model-00001-of-00002.safetensors
    4.99 GB
    xet
    Upload folder using huggingface_hub 7 months ago
  • model-00002-of-00002.safetensors
    4.53 GB
    xet
    Upload folder using huggingface_hub 7 months ago
  • model.safetensors.index.json
    19.9 kB
    Upload folder using huggingface_hub 7 months ago