Rest API with file transfer

I guess you have configured the node to write an image to a previously created temp directory via flow variable. You can use the same flow variable in File Download node, just connect them as shown in the example above.