Classifier model
Label a post and link the entities it names.
Classify posts from your own code.
Send your post (text, images or both) to the AssetFeed API with your API key. Get post type, asset classes, event type, direction and entities.
- Endpoint
- POST https://api.assetfeed.com/api/v1/classifier/classify
- Access
- Your AssetFeed API key, as an X-Api-Token header or as a Bearer token.
- Input
- Post text up to 6,000 characters, images, or both. Up to 4 images in all, 8 MB each, sent as files, public image addresses or base64.
- Output
- The post’s content type, promo type, asset classes, event type, direction, the entities it names and, if you sent images, the text read from each one.
- Limits
- 20 requests a minute for each account.
- Price
- 1 credit per 15 posts, plus the OCR price when you send images. A call that fails is not charged.On the Free plan: 1 credit per 5 posts
- Your text
- Not saved. We don’t keep the text, the images or the result.
Example request
curl -X POST https://api.assetfeed.com/api/v1/classifier/classify \
-H "X-Api-Token: $ASSETFEED_API_KEY" \
-F "text=Your post text." \
-F "images[]=@post.png"