How to create a media object from image URL programatically

Thanks @DMehaffy. Your understanding of the issue is correct. I have another tool which uploads the media in S3 bucket and I just need to make a database entry of the media in Strapi without re-uploading it anywhere.