DeepCoreB4's picture
Upload 1369 files
6c10d0d
raw
history blame
No virus
1.24 kB
# gif2gif
The purpose of this script is to accept an animated gif as input, process frames as img2img typically would, and recombine them back into an animated gif. Not intended to have extensive functionality. Referenced code from prompts_from_file.
**Instructions:**
- img2img batch *count* represents completed GIFs, not individual images.
- All images in a single batch will be blended together
- Drop or select gif in the script's box; a preview should appear if it is a valid animated gif.
- Inpainting works, but currently limited to one mask applied to all frames equally.
- Adjust desired FPS if needed/wanted. Default slider position is original FPS.
- Add interpolation frames if wanted. Preview should render.
- Count of interp frames represent the number of blend steps between keyframes.
- This is a very simple dynamic interp function; the keyframes are left as-is.
- When *actual FPS* reaches 50, the maximum, the resultant gif will slow and extend to accomodate interp.
- Results are dropped into outputs/img2img/gif2gif.
**Tips:**
- Configure and process the gif in img2img (it'll use the first frame) before running the script. Find a good seed!
- Interpolation is not always necessary nor helpful.