I have created custom media upload meta box using plupload which uploads image directly to amazon s3 bucket along with creating thumbnail. I am able to show images in the post and everything is fine.
What I would like to do is efficiently store a title for the image and description. Since default media library already has this functionality how do I add items manually to it?