Your Image only has the outside view there is no inside view. It would be easy to make a mockup for that outside view. I'm sure you can find mockup template on the web for cups like that. The may even be 3D animated one but that a different ballgame IMO. Free coffee mug mockup template
i know about your script but what i actually want may not work with your script.I am uploading 4 images which are manully made by me with animated mug mockup,i want a landscape image which cover whole mug(not handle) and give 3 images like below images(in bulk)..
You would need three mockup and three replacement images. With your single replacement design image and your simple cylinder mug you could most like create a 3d mockup where you replace the cups cylinder's surface. Like in the coffee can demo I saw on the web. You may be able to generate an aninated gif and mp4.
I have done a more complex 3D mockup but all I automated was generating replacement surfaces for there were many more image required for the complex surfaces. Once I replace the surface in the 3d mockup I could save animated Gif and MP4 for the Video time line in the mockup. I saw no reason to automate that for I could not see a reason one would want to batch a process that would require so many images,