Disclosed is an artificial intelligence server. The artificial intelligence server includes a communication unit in communication with an electronic device, a memory for storing data, and a processor configured to receive an image of ingredients from the electronic device, provide the image of the ingredients to an artificial intelligence model to obtain a food name corresponding to the image of the ingredients, and transmit a recipe corresponding to the food name to the electronic device.