We want to leverage the image classifier as an API to use them in external applications. An API can be accessed externally, and prediction results can be obtained without setting up anything. In this recipe, we will create an API endpoint for the image classifier.