Advance a resumable whole-clip Comfy sequence. Reuse directory and settings to collect/continue.
cutout: point-click subject cut-out. points/negative_points are [x, y] clicks in 0..1 coordinates of the clip's
first frame (on / off the subject); a SAM2 video model (model, e.g. sam2.1_hiera_base_plus.safetensors, must
already be installed) carries the selection through the clip in one job and the masks become the clip's mask_dir
after review. Preview the first frame (preview_source) to place the clicks.
(project_id: str, clip_id: str, kind: Literal['matte', 'segmentation', 'interpolation', 'cutout'], directory: str, endpoint: str = 'http://127.0.0.1:8189', native_endpoint: str = 'http://127.0.0.1:8000', model: str | None = None, points: list[list[float]] | None = None, negative_points: list[list[float]] | None = None) -> dict
By rk0neki·Created about a month ago·Updated 16 days ago· 82