Spaces:
Running
on
Zero
Change the 16x9 image formatting method.
Cropping the image that you input is kind of annoying, it removes information. an idea that would work better is if you put the uploaded image within a 16x9 image space, with the edges of the uploaded image sticking to the edges of the 16x9 image (without stretching). Then when the video is finally exported, set the aspect ratio of the output video to the original image unmodified image, that way you get the whole original image back in video form.
I have a workaround for you, @Aibecool1062 :
- Enlarge your image (with GIMP for example) to get a 16:9 ration
- Inpaint the new empty area with an AI like this one: https://huggingface.co/spaces/diffusers/stable-diffusion-xl-inpainting
- Generate the video with the current AI
- Crop the final video
I also suggest you to:
- Convert the video into images
- Inpaint the last one in the new empty area
- Crop the motion of the hand
- Paste the hand on the inpainted image
- Convert the images into video
Would it be possible to add parameters for height and width?
Hi @tbdaox,
OK perhaps, it's not possible. Another space allows any size but it begins resizing the image, which is worse. You can add my tutorial above in the space to help users to get rid of this problem.