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

  • Log In
  • Sign Up

joyfox
/
FLUX.2-klein-AC-Style-LORA

Image-to-Image
Diffusers
English
image-generation
lora
black-forest-labs/FLUX.2-klein-base-9B
Model card Files Files and versions
xet
Community

Instructions to use joyfox/FLUX.2-klein-AC-Style-LORA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use joyfox/FLUX.2-klein-AC-Style-LORA 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-base-9B", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("joyfox/FLUX.2-klein-AC-Style-LORA")
    
    prompt = "Transform this picture into an American comic style + Pop Art + cyber neon illustration "
    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
  • Draw Things
FLUX.2-klein-AC-Style-LORA / result
12.5 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
starsfriday's picture
starsfriday
Upload folder using huggingface_hub
f5fb375 verified 4 months ago
  • result1.png
    3.61 MB
    xet
    Upload folder using huggingface_hub 4 months ago
  • result2.png
    3.99 MB
    xet
    Upload folder using huggingface_hub 4 months ago
  • result3.png
    4.33 MB
    xet
    Upload folder using huggingface_hub 4 months ago
  • test.jpg
    542 kB
    xet
    Upload folder using huggingface_hub 4 months ago