By apicloud
Updated 2 months ago

ColorTag API Documentation

ColorTag is a powerful API for color detection. Taking an image file (or URL) as input ColorTag produces a list of text labels and hex RGB values that can be then used as tags for a certain image or item. Check out visual demo here: http://apicloud.me/apis/colortag/demo/. The API can sort tags by relevance (detecting colors of objects on the image, e.g. a dress, a car, etc.) or simply by weight in the image. First mode is perfect for e-commerce applications, allowing to automatically tag items with colors by simply providing a photo or a thumbnail and build a color tag cloud, so users are able to search items by color (e.g. red). Weight sorting mode can be useful for photos, wallpapers or other images without well-defined objects on them to analyze the palette in general. Text color labels can be assigned with different precision (just basic colors, W3C-compatible colors, precise colors, etc.).

Learn more about this API
POSTTag Image File
GETTag Image URL
POSTTag Image File

Returns a JSON object that contains color tags for the uploaded image (visual demo: http://apicloud.me/apis/colortag/demo/)

Header Parameters
Code Snippet
Install SDK
Response Example

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication