content
ClarifaiPublicModels
  Last updated: 16/11/2017
  • Installs:
  • Today: 8
  • This Week: 42
  • This Month: 134
  • All Time: 8789
Developer:userdimashirokov

ClarifaiPublicModels API Package

Identify and tag objects in images with Clarifai's models.

List of Endpoints
This is the list of endpoints this API includes. To add of the endpoints to your app, please click on “Connect to endpoint” text.
See All
Discussions
See All
Readme

ClarifaiPublicModels

ClarifaiPublicModels Package

Identify and tag objects in images with Clarifai's models (Wedding, Image Color, Faces, Age/Gender/Ethnicity))/

  • Domain: clarifai.com
  • Credentials: clientId, clientSecret

How to get credentials:

  1. Signup in clarifai.com
  2. Go to Developer Dashboard
  3. Press Create a New Application button
  4. Copy and save your client_id and and client_secret
  5. Press Generate Access Token button or use getAccessToken method.

ClarifaiPublicModels.analyzeImageGeneral

The General model contains a wide range of tags across many different topics. In most cases, tags returned from the general model will sufficiently recognize what's inside your image.

FieldTypeDescription
clientIdcredentialsThis identifies which application is trying to access the API. This is unique and generated once for each application in your account.
clientSecretcredentialsThis provides security when authorizing with the API. This is unique and generated once for each application in your account.
imageFileImage to analyze

ClarifaiPublicModels.analyzeImageFood

The Food model analyzes images and videos and returns probability scores on the likelihood that the image contains a recognized food ingredient and dish.

FieldTypeDescription
clientIdcredentialsThis identifies which application is trying to access the API. This is unique and generated once for each application in your account.
clientSecretcredentialsThis provides security when authorizing with the API. This is unique and generated once for each application in your account.
imageFileImage to analyze

ClarifaiPublicModels.analyzeImageTravel

The Travel model analyzes images and returns probability scores on the likelihood that the image contains a recognized travel related category.

FieldTypeDescription
clientIdcredentialsThis identifies which application is trying to access the API. This is unique and generated once for each application in your account.
clientSecretcredentialsThis provides security when authorizing with the API. This is unique and generated once for each application in your account.
imageFileImage to analyze

ClarifaiPublicModels.analyzeImageNSFW

The NSFW (Not Safe For Work) model analyzes images and videos and returns probability scores on the likelihood that the image contains pornography.

FieldTypeDescription
clientIdcredentialsThis identifies which application is trying to access the API. This is unique and generated once for each application in your account.
clientSecretcredentialsThis provides security when authorizing with the API. This is unique and generated once for each application in your account.
imageFileImage to analyze

ClarifaiPublicModels.analyzeImageWedding

The Wedding model knows all about weddings including brides, grooms, dresses, flowers, etc.

FieldTypeDescription
clientIdcredentialsThis identifies which application is trying to access the API. This is unique and generated once for each application in your account.
clientSecretcredentialsThis provides security when authorizing with the API. This is unique and generated once for each application in your account.
imageFileImage to analyze

ClarifaiPublicModels.analyzeImageColor

The Color model is used to retrieve the dominant colors present in your images. Color predictions are returned in the hex format. A density value is also returned to let you know how much of the color is present. In addition, colors are also mapped to their closest W3C counterparts.

FieldTypeDescription
clientIdcredentialsThis identifies which application is trying to access the API. This is unique and generated once for each application in your account.
clientSecretcredentialsThis provides security when authorizing with the API. This is unique and generated once for each application in your account.
imageFileImage to analyze

ClarifaiPublicModels.detectFaces

The Face Detection model analyzes images, GIFs and videos and returns probability scores on the likelihood that the media contains human faces. If human faces are detected, the model will also return the coordinate locations of those faces with a bounding box.

FieldTypeDescription
clientIdcredentialsThis identifies which application is trying to access the API. This is unique and generated once for each application in your account.
clientSecretcredentialsThis provides security when authorizing with the API. This is unique and generated once for each application in your account.
imageFileImage to analyze

ClarifaiPublicModels.detectAgeGenderEtnicity

The 'Age, Gender and Ethnicity' model analyzes images and returns bounding box locations of detected human faces. For each of found cropped faces, a prediction as to the person's age (1-100), gender (male, female) and ethnicity (asian, black, indian, latino, middle-eastern, white).

FieldTypeDescription
clientIdcredentialsThis identifies which application is trying to access the API. This is unique and generated once for each application in your account.
clientSecretcredentialsThis provides security when authorizing with the API. This is unique and generated once for each application in your account.
imageFileImage to analyze
x
circle
ClarifaiPublicModels
$ / m
We will charge your card every month for the plan amount, as well as any overages incurred in the previous month.
?

Oops, we are missing some details

Looks like there are a few missing details that you haven't filled in yet.
These details are important and will help us protect you and let you know about anything new.

x

Connect your app to APIs via RapidAPI

Consume and monitor multiple APIs through the RapidAPI SDK.
Click start to set up your app and connect to your first API.

START

Give your app a name

This app will be used in RapidAPI to collect and connect all the APIs you need.

NEXT

Connect your project

Choose your backend language and then install & require the RapidAPI SDK.

  • node
    NodeJS
  • php
    PHP
  • python
    Python
  • objc
    Obj-C
  • android
    Android
  • go
    GO
  • ruby
    Ruby
  • csharp
    C#

Install SDK

Run the following command to install the SDK:

npm install rapidapi-connect --save

Require SDK

In your code, add the following code to require the RapidAPI SDK:

NEXT

Hooray! You are connected

Use the following code to try it out by getting all the APIs that are on RapidAPI.

rapid.call('RapidAPI', 'getAll', {'{}'});
FINISH
esccloses this view
x

Login to RapidAPI

Create endpoints based on popular APIs and share with others.
Follow popular APIs and get updated. Stand out in the community of developers.

Login with Github
Login with Facebook
Login with Google
Or
Remember Me

  • We're not going to post anything on your wall.
  • We're not planning to spam you.
  • esccloses this view
    x

    Why sign up to RapidAPI?

    • integrate
      Integrate APIs into your app
      Ruby, Java, Elixir, Node.js, Phyton, Objective C, Swift, PHP and MORE
    • keys
      Save all API keys in one place
    • notifications
      Get notifications about API changes
    • stats
      Get stats and monitor API connections
    Sign up with Github
    Sign up with Facebook
    Sign up with Google
  • We're not going to post anything on your wall.
  • We're not planning to spam you.
  • esccloses this view
    x

    Authentication

    Authenticate
    esccloses this view