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

24yearsold
/
flux2-klein-9b-character-transfer-lora-r128

Image-to-Image
Diffusers
lora
flux2
flux2-klein
character-transfer
Model card Files Files and versions
xet
Community

Instructions to use 24yearsold/flux2-klein-9b-character-transfer-lora-r128 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use 24yearsold/flux2-klein-9b-character-transfer-lora-r128 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("black-forest-labs/FLUX.2-klein-9B", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("24yearsold/flux2-klein-9b-character-transfer-lora-r128")
    
    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
  • Local Apps Settings
  • Draw Things
flux2-klein-9b-character-transfer-lora-r128
471 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
24yearsold's picture
24yearsold
docs: ComfyUI ≥v0.10.0 (2026-01-20) loads this LoRA directly via PR #11981
b5d481d verified 2 months ago
  • samples
    initial: P12 r=128 gauss 6e ck-4056 LoRA + samples 2 months ago
  • .gitattributes
    2.04 kB
    initial: P12 r=128 gauss 6e ck-4056 LoRA + samples 2 months ago
  • README.md
    5.4 kB
    docs: ComfyUI ≥v0.10.0 (2026-01-20) loads this LoRA directly via PR #11981 2 months ago
  • pytorch_lora_weights.safetensors
    445 MB
    xet
    initial: P12 r=128 gauss 6e ck-4056 LoRA + samples 2 months ago