This API is used to generate text from a given image.