Metadata Tagging
For chat over text, images and short videos, use the OpenAI-compatible Chat Completions API.
The Vision API tags videos with metadata in two ways, quick tagging and indexed tagging.
Default output fields
By default, both return these fields:
Description: stringViolence: booleanProfanity: booleanAdultContent: booleanDrugs: booleanAlcohol: booleanGambling: booleanPolitical: booleanExpectedCTR: number (0–100)ViralityScore: number (0–100)Keyword: array of stringsMoodTone: array of strings
You can add, remove and customize output fields. Contact us to tune the outputs for your use case.
Quick tagging
Quick tagging suits short videos, for example under 30 seconds. It processes each video ad hoc and does not store it.
Endpoint
POST /v1/qa/quicktag
Request
Bash
Python
Parameters
video_id(optional): ID of the video to analyzevideo_url(optional): URL of the video to analyze (eithervideo_idorvideo_urlis required)
Indexed tagging
Indexed tagging generates tags for videos you have already uploaded and indexed. It suits longer videos.
Bash
Python
Prerequisites
Before you use indexed tagging, check that your video is indexed:
- Upload a video with
index=trueusing the/videos/uploadendpoint. - Check indexing status. It should be
"indexed" - Wait for processing if status is
"indexing"
Endpoint
POST /v1/qa/indexedtag
Request
Parameters
video_id(required): ID of the previously indexed video
Pricing
Large batch jobs get discounted pricing:
- Quick tagging input: $0.004 per input video minute
- Indexed tagging input: $0.03 per input video minute
- Outputs (both): $2 per 1M output tokens