Vionlabs Recommender API
Generate personalized recommendations from a user's full viewing history.
Uses behavioral signals — both which items were watched and in what order — to recommend content tailored to the individual user.
Stytch access token authentication. Requires BOTH:
- Authorization: Bearer ACCESS_TOKEN
- catalog query parameter
Example: Authorization: Bearer ACCESS_TOKEN ?catalog=my_catalog
In: header
Query Parameters
Recommender product version to use. Defaults to a version pre-configured in Vionlabs systems if omitted.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/results/recommender/v1/for-you" \ -H "Content-Type: application/json" \ -d '{ "inventory_ids": [ "string" ] }'{
"version": "string",
"recommendations": [
{
"inventory_id": "string"
}
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Recommend content anchored on a single item, informed by behavioral data.
Unlike /more-like-this, this endpoint leverages viewing patterns across users (e.g. "users who watched X also watched Y") rather than pure content similarity. The order of items in aggregate viewing sequences influences the results.
Typical use: a home-screen row whose heading cites the anchor title, for example the Because you watched … pattern common in streaming apps.
Stytch access token authentication. Requires BOTH:
- Authorization: Bearer ACCESS_TOKEN
- catalog query parameter
Example: Authorization: Bearer ACCESS_TOKEN ?catalog=my_catalog
In: header
Query Parameters
Recommender product version to use. Defaults to a version pre-configured in the Vionlabs system if omitted.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/results/recommender/v1/because-you-watched" \ -H "Content-Type: application/json" \ -d '{ "inventory_id": "string" }'{
"version": "string",
"recommendations": [
{
"inventory_id": "string"
}
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Return items most similar to a single anchor item based on content attributes.
Purely item-based: results depend only on the anchor item's properties (genre, mood, narrative style, etc.) and do not use any behavioral or user-level data.
Typical use: a "More like this" section on a detail page.
Stytch access token authentication. Requires BOTH:
- Authorization: Bearer ACCESS_TOKEN
- catalog query parameter
Example: Authorization: Bearer ACCESS_TOKEN ?catalog=my_catalog
In: header
Query Parameters
Recommender product version to use. Defaults to a version pre-configured in the Vionlabs system if omitted.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/results/recommender/v1/more-like-this" \ -H "Content-Type: application/json" \ -d '{ "inventory_id": "string" }'{
"version": "string",
"recommendations": [
{
"inventory_id": "string"
}
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Vionlabs Vertical Conversion API
Vionlabs API for retrieving vertical conversion data, used to reframe a horizontal source video into a vertical crop without losing the subject of interest. For each frame, the response gives an x_center coordinate (in source-pixel units) saying where the camera should focus horizontally, plus the detected upper and lower black bar positions and the source frame dimensions. The API does not return a cropped video. Aspect ratio is independent of the conversion: the output is not tied to any specific output ratio (9:16, 4:5, 1:1, ...); the consumer picks one at render time by choosing how much of the source to include around x_center. Accordingly, the endpoint accepts no aspect-ratio, framing, or cropping parameters, only an optional version.
Vionlabs Portal API
Programmatically access your organization's Smartlists, Recipes, Creative Assets, and Catalogs.