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

AmirKerr
/
ThisPerson

Image-to-Video
Diffusers
English
lora
Model card Files Files and versions
xet
Community
2

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

  • Libraries
  • Diffusers

    How to use AmirKerr/ThisPerson with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image, export_to_video
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("AmirKerr/ThisPerson")
    
    prompt = "A man with short gray hair plays a red electric guitar."
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png")
    
    image = pipe(image=input_image, prompt=prompt).frames[0]
    export_to_video(output, "output.mp4")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
ThisPerson
595 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 9 commits
linoyts's picture
linoyts HF Staff
add library tag for better usability
8a134cb verified 6 months ago
  • .gitattributes
    1.61 kB
    Upload ref_1.png 6 months ago
  • README.md
    1.76 kB
    add library tag for better usability 6 months ago
  • qwen_2509_this_person_000011250.safetensors
    590 MB
    xet
    Upload qwen_2509_this_person_000011250.safetensors 6 months ago
  • ref.png
    2.61 MB
    xet
    Upload ref.png 6 months ago
  • ref_1.png
    2.15 MB
    xet
    Upload ref_1.png 6 months ago