Serverless AI Image Keyword Extraction

AI powered image analysis service that extracts relevant keywords based on scenes, objects, and visual content. Perfect for automatic image tagging, content categorization, and enhancing searchability of visual content.

Endpoint

Extract relevant keywords from image content

POSThttps://api.xtartapp.com/image/keyword-extraction

*Authentication

You must use a Bearer token provided by the dashboard to use for authentication. Add the token to the Authorization header.

Request body

NameTypeRequiredMaxDescription
imagestringYes-Filename of the optimized .ximage file previously uploaded to the platform.
limitintegerNo10Maximum number of keywords to extract (defaults to 10).

Response

NameTypeDescription
dataarray of stringsArray of extracted keywords ordered by relevance
metadataobjectMetadata about the keyword extraction process
metadata.costnumberThe cost of the image keyword extraction request

Errors

{
   "error": "string", 
   "code": "string"
}
HTTP StatusError CodeMessage
400INVALID_PAYLOADOccurs when the payload is invalid.
400INVALID_REQUESTThe request is invalid.
400IMAGE_KEYWORD_EXTRACTION_ERRORCould not extract keywords from the image | parsing error.
400INVALID_IMAGEThe image was not found or is invalid.
400HARM_CONTENTThe content is harmful and cannot be processed.
400INSUFFICIENT_BALANCEThe user has insufficient balance.
401UNAUTHORIZEDThe token is invalid.
429TOO_MANY_REQUESTSThe request limit has been reached.