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

  • 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
1.18 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 13 commits
AmirKerr's picture
AmirKerr
Upload 2 files
dcc50b7 verified 5 months ago
  • .gitattributes
    1.61 kB
    Upload ref_1.png 6 months ago
  • README.md
    1.76 kB
    Update README.md (#2) 6 months ago
  • ThisPerson_V2.json
    23 kB
    Upload 2 files 5 months ago
  • This_Person_Workflow.json
    24.1 kB
    Upload This_Person_Workflow.json 6 months ago
  • qwen_2509_this_person_000011250.safetensors
    590 MB
    xet
    Upload qwen_2509_this_person_000011250.safetensors 6 months ago
  • qwen_2509_this_person_000014000_try.safetensors
    590 MB
    xet
    Upload 2 files 5 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