Fix API: Swap image width/height, make replies an integer, fix original filename