add support for .MP4 & .gif preview images for checkpoints and loras
Civitai has many such, and whenever you scroll past them in the manager, you see this error: "failed to load image"
Quick research shows that the first image in each of these (eg this one) is animated.
Edit: turns out the animation was an .MP4 so have updated the title
Working with a model library containing animations is getting increasingly annoying, given the popularity of SVD etc making it easier for people to create these short animations. CivitAI is also starting to make it easier to share video. Screenshots of working with such a model in the downloader and manager screens:
Would be a quick workaround to simply use one of the alternate model images from civitAI.
Cross-posted to discord https://discord.com/channels/1115555685476868168/1188514961127903302
The issue with picking a "non-video" is that CivitAI returns the file extension as .jpeg 100% of the time, even when it's not: https://github.com/civitai/civitai/issues/769. If this isn't fixed by the time we're ready to launch v2.8, we may have some other workarounds...
However, we are working on .gif and .webp support to go with img2vid in Inference, will see if we can add mp4 to the list too :)
This issue is stale because it has been open 30 days with no activity. Remove the stale label or comment, else this will be closed in 5 days.
This issue was closed because it has been stale for 5 days with no activity.