VACE icon indicating copy to clipboard operation
VACE copied to clipboard

swap_anything failed, basicly remove the object in mask area

Open Meterwalon opened this issue 7 months ago • 2 comments

I tried to replace a person in video to another one in my reference image (use command line not ComfyUI), the cmd is like

python vace/vace_pipeline.py --base wan --task swap_anything --video video.mp4 --image ref.jpg --mode bboxtrack --bbox 0,150,200,350--prompt 'replace the person in the video mask area by the person of reference image'

It runs successfully but the result just repainting the mask area to the background, actually the removal is well :) So I wonder how to performance swap mission well? Anyone could share your cmd or settings?

Meterwalon avatar Jun 12 '25 01:06 Meterwalon

same problem.

0xLDF avatar Jun 14 '25 13:06 0xLDF

Use descriptive prompt instead of instructive prompt.

hanzhn avatar Jun 16 '25 09:06 hanzhn

Use descriptive prompt instead of instructive prompt.

It works for me, thanks a lot!

Meterwalon avatar Jun 18 '25 00:06 Meterwalon