Add/upload images in feed and mutation

How can I upload images in a feed? How do I add images in mutation?

To upload images, use the file upload API. When you use the upload API

Hypi automatically detects images and creates an Imageobject which is returned and can be queried. Note that it still creates the File object but it is a field on the Image.