Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

itslenoid
/
flux2-klein-4b-comic-lora

Text-to-Image
Diffusers
MLX
mflux
flux
flux2
flux.2-klein-4b
lora
comic
illustration
line-art
crosshatching
black-and-white
comic-art
technical-art
schematics
imaginator
apple-silicon-training
qlora
Model card Files Files and versions
xet
Community

Instructions to use itslenoid/flux2-klein-4b-comic-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use itslenoid/flux2-klein-4b-comic-lora with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-4B", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("itslenoid/flux2-klein-4b-comic-lora")
    
    prompt = "a black and white comic illustration of a software engineer at a multi-monitor workstation, detailed line art, crosshatching, technical schematics on the wall, high contrast"
    image = pipe(prompt).images[0]
  • MLX

    How to use itslenoid/flux2-klein-4b-comic-lora with MLX:

    # Download the model from the Hub
    pip install huggingface_hub[hf_xet]
    
    hf download itslenoid/flux2-klein-4b-comic-lora --local-dir flux2-klein-4b-comic-lora
  • mflux

    How to use itslenoid/flux2-klein-4b-comic-lora with mflux:

    # 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
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • LM Studio
  • Draw Things
  • DiffusionBee
  • Atomic Chat
flux2-klein-4b-comic-lora
98.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
itslenoid's picture
itslenoid
docs: update model card with FLUX.2 Klein marketing, benchmarks, and quickstart
c4d455e verified about 4 hours ago
  • .gitattributes
    1.57 kB
    Upload example-output.png with huggingface_hub about 8 hours ago
  • README.md
    8.29 kB
    docs: update model card with FLUX.2 Klein marketing, benchmarks, and quickstart about 4 hours ago
  • comic-illustration-lora.safetensors
    97.2 MB
    xet
    Upload comic-illustration-lora.safetensors with huggingface_hub about 8 hours ago
  • config.json
    248 Bytes
    Upload config.json with huggingface_hub about 8 hours ago
  • example-output.png
    1.73 MB
    xet
    Upload example-output.png with huggingface_hub about 8 hours ago