Detect color.
POST/ai/detectcolor
Detect color from given image.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
imageUrlstringrequired
Image for color detection.
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (auto)
Schema
dominantColorForegroundstring
dominantColorBackgroundstring
dominantColorsstring[]
isBwImgboolean
accentColorstring
{
"dominantColorForeground": "string",
"dominantColorBackground": "string",
"dominantColors": [
"string"
],
"isBwImg": true,
"accentColor": "string"
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}