Written By Brian Sathinathan (Super Administrator)

Updated at October 14th, 2020


The Clarifai API offers image and video recognition as a service. Whether you have one image or billions, you are only steps away from using artificial intelligence to recognize your visual content. The API is built around a simple idea. You send inputs (an image or video) to the service and it returns predictions. The type of prediction is based on what model you run the input through. For example, if you run your input through the ‘food’ model, the predictions it returns will contain concepts that the ‘food’ model knows about. If you run your input through the ‘color’ model, it will return predictions about the dominant colors in your image.
The current version of this component predicts the contents of an image by passing in a url.

Code For Above Flow



payload (string)A string url that links to an image (Example:


API_KEY(string)The users API Key for the scope they wish to analyze the image.


payload (object)A JSON string containing the results of the analysis done by the scope called by the API Key

Was this article helpful?