Set up image upload API