talesofai / comfyui-browser

An image/video/workflow browser and manager for ComfyUI.
420 stars 26 forks source link

Request: Save AD gif/mp4 files in xy result. #44

Open moon47usaco opened 4 days ago

moon47usaco commented 4 days ago

Add ability to save animated gifs or mp4 files in the xyz plot result page.

I set up this basic WF that should save AD runs as gif files that are sent to the xyz plot node.

Everything works but the xyz node only saves jpg files of the first frame rather than the gifs

AD-xyz-polt.json

vhs_filenames.py.txt

Save the vhs_filenames.py.txt in custom nodes folder and remove ".txt" (can not uplaod files with .py extension)

Thank you

moon47usaco commented 4 days ago

FYI it creates the Gif files in the main output folder but only jpg images get saved to the xy folder.

If I try to do mp4 files as output it complains

cannot identify image file '...\\ComfyUI_Local\\output\\AnimateDiff_00767.mp4'

Since the browser can view mp4 it would be best if it would just save the mp4 files in the xy folder.