Vionlabs Scene Tags API
Gets scene tags (mood_tag, environment and keyword) aggregated over a time interval of a given title.
The pipeline computes a set of keywords per fixed (~30s) segment; this
endpoint aligns those segments to the requested [start, end] interval,
weighting each keyword by how much of the interval is covered by segments
that contain it, and returns the top top_n tags per category ordered by
descending weight.
From product version 2 the spec also includes nudity, blood-gore, profanity, and metadata-v1. Moderation flags are yes/no for the interval. Nudity and gore PTS keys are converted with the video stream time_base.
Stytch access token authentication. Requires BOTH:
- Authorization: Bearer ACCESS_TOKEN
- catalog query parameter
Example: Authorization: Bearer ACCESS_TOKEN ?catalog=my_catalog
In: header
Path Parameters
Customer's identifier for a catalog item.
Query Parameters
Start time of the interval to get scene tags for (seconds).
0 <= valueEnd time of the interval to get scene tags for (seconds).
0 < valueMaximum number of tags to return per category.
101 <= value <= 100Specify scene tags model version code.
Response Body
application/json
application/json
curl -X GET "https://example.com/results/scene_tags/v1/string?start=0&end=1"{
"status": "success",
"error": "string",
"updated": "2019-08-24T14:15:22Z",
"version_id": "string",
"inventory_id": "string",
"type": "movie",
"data": {
"inventory_id": "string",
"type": "movie",
"vionlabs_id": "string",
"version_id": "string",
"start_sec": 0,
"end_sec": 0,
"mood_tag": [
{
"tag": "string",
"weight": 0
}
],
"environment": [
{
"tag": "string",
"weight": 0
}
],
"keyword": [
{
"tag": "string",
"weight": 0
}
],
"contains_nudity": true,
"contains_gore": true,
"contains_profanity": true
}
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Gets a scene tags result status (readiness) for a given asset.
Stytch access token authentication. Requires BOTH:
- Authorization: Bearer ACCESS_TOKEN
- catalog query parameter
Example: Authorization: Bearer ACCESS_TOKEN ?catalog=my_catalog
In: header
Path Parameters
Customer's identifier for a catalog item.
Query Parameters
Specify scene tags model version code.
Response Body
application/json
application/json
curl -X GET "https://example.com/results/scene_tags/v1/status/string"{
"status": "success",
"error": "string",
"updated": "2019-08-24T14:15:22Z",
"version_id": "string",
"inventory_id": "string",
"type": "movie"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Gets a paginated list of items with scene tags result statuses for the customer catalog. Results are ordered by processing time of an asset, with the most recently updated assets first.
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
Specifies start of time window (ISO 8601). If not specified then all results will be returned
Specifies end of time window (ISO 8601). If not specified then utcnow() value will be used.It is recommended to fix this argument while looping across pages to establish a fixed time window
Specifies a positional number of page with results
00 <= valueSpecifies a max number of results per page
5001 <= valuefalseSpecifies scene tags version code
Response Body
application/json
application/json
curl -X GET "https://example.com/results/scene_tags/v1/"{
"page_num": 0,
"page_size": 0,
"total_count": 0,
"data": [
{
"status": "success",
"error": "string",
"updated": "2019-08-24T14:15:22Z",
"version_id": "string",
"inventory_id": "string",
"type": "movie"
}
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Vionlabs Content Summary API
Vionlabs Content Summary API for summarizing information-heavy content (news segments, podcasts).
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.