2024-07-01 11:50:31 +07:00
2024-06-29 01:21:37 +07:00
2024-06-30 19:46:00 +07:00
2024-07-01 11:50:31 +07:00
2024-06-29 01:25:16 +07:00
2024-06-29 01:21:37 +07:00
2024-07-01 11:09:40 +07:00
2024-06-29 01:21:37 +07:00
2024-07-01 11:50:31 +07:00
2024-06-30 22:35:41 +07:00
2024-06-30 22:35:41 +07:00
2024-06-29 01:21:37 +07:00
2024-06-28 18:18:40 +07:00
2024-06-30 22:35:41 +07:00
2024-06-30 22:35:41 +07:00
2024-07-01 11:50:31 +07:00
2024-06-30 19:46:00 +07:00
2024-06-30 22:35:41 +07:00
2024-07-01 11:50:31 +07:00
2024-06-30 22:35:41 +07:00
2024-06-30 22:35:41 +07:00
2024-06-29 01:21:37 +07:00

ComfyUI-FirstOrderMM

A ComfyUI-native node to run First Order Motion Model for Image Animation

https://github.com/AliaksandrSiarohin/first-order-model

Now supports Face Swapping using Motion Supervised co-part Segmentation

https://github.com/AliaksandrSiarohin/motion-cosegmentation

Workflow:

FOMM.json

FOMM Workflow

https://github.com/FuouM/ComfyUI-FirstOrderMM/assets/57849916/36833a94-67f9-4dd9-b79b-181f86e83bfe

Arguments

  • relative_movement: Relative keypoint displacement (Inherit object proporions from the video)
  • relative_jacobian: No idea what this does, but usually == relative_movement
  • adapt_movement_scale: If disabled, will heavily distort the source face to match the driving face
  • find_best_frame: Find driving frame that best match the source. Split the batch into two halves, with the first half reversed. Gives mixed results. Needs to install face-alignment library.

Installation

  1. Clone the repo to ComfyUI/custom_nodes/
git clone https://github.com/FuouM/ComfyUI-FirstOrderMM.git
  1. Install required dependencies
pip install -r requirements.txt

Optional: Install face-alignment to use the find_best_frame feature:

pip install face-alignment

Model

Currently supporting vox and vox-adv. Models can and must be manually downloaded from:

Place them in the checkpoints folder. It should look like this:

place_checkpoints_here.txt
vox-adv-cpk.pth.tar
vox-cpk.pth.tar
S
Description
No description provided
Readme MIT
3.6 MiB
Languages
Python 100%