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

lea97338
/
KTXFlux-2.0

Text-to-Image
Diffusers
Safetensors
Diffusion Single File
English
French
Flux2KleinPipeline
image-generation
image-editing
flux
flux2
safety-aware
Model card Files Files and versions
xet
Community

Instructions to use lea97338/KTXFlux-2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use lea97338/KTXFlux-2.0 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("lea97338/KTXFlux-2.0", 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 lea97338/KTXFlux-2.0 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 Settings
  • Draw Things
  • DiffusionBee
KTXFlux-2.0 / text_encoder
16.4 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
lea97338's picture
lea97338
Upload 27 files
6a3991a verified about 17 hours ago
  • config.json
    1.54 kB
    Upload 27 files about 17 hours ago
  • generation_config.json
    214 Bytes
    Upload 27 files about 17 hours ago
  • model-00001-of-00004.safetensors
    4.9 GB
    xet
    Upload 27 files about 17 hours ago
  • model-00002-of-00004.safetensors
    4.92 GB
    xet
    Upload 27 files about 17 hours ago
  • model-00003-of-00004.safetensors
    4.98 GB
    xet
    Upload 27 files about 17 hours ago
  • model-00004-of-00004.safetensors
    1.58 GB
    xet
    Upload 27 files about 17 hours ago
  • model.safetensors.index.json
    32.9 kB
    Upload 27 files about 17 hours ago