setup pictures http api