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

  • Log In
  • Sign Up

Alissonerdx
/
CustomLightning

Text-to-Image
Diffusers
lora
qwen
qwen image
QIE
lightning
lightx2v
Model card Files Files and versions
xet
Community
2

Instructions to use Alissonerdx/CustomLightning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Alissonerdx/CustomLightning with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2511", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Alissonerdx/CustomLightning")
    
    prompt = "head_swap: start with Picture 1 as the base image, keeping its lighting, environment, and background. remove the head from Picture 1 completely and replace it with the head from Picture 2, strictly preserving the hair, eye color, nose structure of Picture 2. copy the direction of the eye, head rotation, micro expressions from Picture 1, high quality, sharp details, 4k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
CustomLightning
171 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
Alissonerdx's picture
Alissonerdx
Delete images/ComfyUI_04979_.png
ae69304 verified 4 months ago
  • .gitattributes
    2.31 kB
    initial commit 4 months ago
  • README.md
    1.19 kB
    Update README.md 4 months ago
  • custom_lightning_qwen_image_edit_2511_4or8steps_rank_4_fp32.safetensors
    171 MB
    xet
    Upload folder using huggingface_hub 4 months ago