Documentation

Use our Interactive Documentation to interact with the API directly from the browser

Detailed documentation available here: EyeEm Vision API (03/29/17)

Using the Interactive Documentation

Access Tokens

You must use the POST Token function to aquire an Access Token. Access Tokens are valid for 72 hours, after which you'll need to request a new one to continue analysing images.

Enter the Client ID and Client Secret provided to you in their corresponding fields and click the "Try it out" button. In the Response Body will be an "access_token" which you'll use as Authentication in the next section.

Analyzing Images

Once you have your access token from above, you can input that into the Authorization field in the Analyze section.
You'll need to enter it with a "Bearer 'space' " prefix, for example:
Bearer pp6rm917dpi73npbqniu13f8moagsq57ncqsd3t6

Within the body of the message you'll need to input the information desired. Example input:

{
   "requests":[
      {
         "tasks":[
            {
               "type":"TAGS"
            },
            {
               "type":"CAPTIONS"
            },
            {
               "type":"AESTHETIC_SCORE"
            }
         ],
         "image":{
            "url": "https://cdn.eyeem.com/thumb/f3e4327f06cd082545c053b50ec5a0704b7db22f-1408044750/5000/5000"
         }
      }
   ]
  }