Google Cloud Video Intelligence · Schema
GoogleCloudVideointelligenceV1_AnnotateVideoRequest
Video annotation request.
Content ModerationGoogle CloudMachine LearningObject DetectionVideo AnalysisVideo Intelligence
Properties
| Name | Type | Description |
|---|---|---|
| inputUri | string | Input video location. Currently, only [Cloud Storage](https://cloud.google.com/storage/) URIs are supported. URIs must be specified in the following format: `gs://bucket-id/object-id` (other URI forma |
| locationId | string | Optional. Cloud region where annotation should take place. Supported cloud regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region is specified, the region will be determined b |
| inputContent | string | The video data bytes. If unset, the input video(s) should be specified via the `input_uri`. If set, `input_uri` must be unset. |
| videoContext | object | Additional video context and/or feature-specific parameters. |
| features | array | Required. Requested video annotation features. |
| outputUri | string | Optional. Location where the output (in JSON format) should be stored. Currently, only [Cloud Storage](https://cloud.google.com/storage/) URIs are supported. These must be specified in the following f |
JSON Schema
google-cloud-video-intelligence-google-cloud-videointelligence-v1-annotate-video-request-schema.json
Raw ↑
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/google-cloud-video-intelligence/json-schema/google-cloud-video-intelligence-google-cloud-videointelligence-v1-annotate-video-request-schema.json",
"title": "GoogleCloudVideointelligenceV1_AnnotateVideoRequest",
"description": "Video annotation request.",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/google-cloud-video-intelligence-videos-api-openapi.yml#/components/schemas/GoogleCloudVideointelligenceV1_AnnotateVideoRequest",
"type": "object",
"properties": {
"inputUri": {
"type": "string",
"description": "Input video location. Currently, only [Cloud Storage](https://cloud.google.com/storage/) URIs are supported. URIs must be specified in the following format: `gs://bucket-id/object-id` (other URI formats return google.rpc.Code.INVALID_ARGUMENT). For more information, see [Request URIs](https://cloud.google.com/storage/docs/request-endpoints). To identify multiple videos, a video URI may include wildcards in the `object-id`. Supported wildcards: '*' to match 0 or more characters; '?' to match 1 character. If unset, the input video should be embedded in the request as `input_content`. If set, `input_content` must be unset."
},
"locationId": {
"description": "Optional. Cloud region where annotation should take place. Supported cloud regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region is specified, the region will be determined based on video file location.",
"type": "string"
},
"inputContent": {
"description": "The video data bytes. If unset, the input video(s) should be specified via the `input_uri`. If set, `input_uri` must be unset.",
"format": "byte",
"type": "string"
},
"videoContext": {
"$ref": "#/$defs/GoogleCloudVideointelligenceV1_VideoContext",
"description": "Additional video context and/or feature-specific parameters."
},
"features": {
"description": "Required. Requested video annotation features.",
"type": "array",
"items": {
"type": "string",
"enum": [
"FEATURE_UNSPECIFIED",
"LABEL_DETECTION",
"SHOT_CHANGE_DETECTION",
"EXPLICIT_CONTENT_DETECTION",
"FACE_DETECTION",
"SPEECH_TRANSCRIPTION",
"TEXT_DETECTION",
"OBJECT_TRACKING",
"LOGO_RECOGNITION",
"PERSON_DETECTION"
]
}
},
"outputUri": {
"description": "Optional. Location where the output (in JSON format) should be stored. Currently, only [Cloud Storage](https://cloud.google.com/storage/) URIs are supported. These must be specified in the following format: `gs://bucket-id/object-id` (other URI formats return google.rpc.Code.INVALID_ARGUMENT). For more information, see [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).",
"type": "string"
}
},
"$defs": {
"GoogleCloudVideointelligenceV1_ExplicitContentDetectionConfig": {
"properties": {
"model": {
"description": "Model to use for explicit content detection. Supported values: \"builtin/stable\" (the default if unset) and \"builtin/latest\".",
"type": "string"
}
},
"description": "Config for EXPLICIT_CONTENT_DETECTION.",
"type": "object"
},
"GoogleCloudVideointelligenceV1_FaceDetectionConfig": {
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "Model to use for face detection. Supported values: \"builtin/stable\" (the default if unset) and \"builtin/latest\"."
},
"includeAttributes": {
"type": "boolean",
"description": "Whether to enable face attributes detection, such as glasses, dark_glasses, mouth_open etc. Ignored if 'include_bounding_boxes' is set to false."
},
"includeBoundingBoxes": {
"description": "Whether bounding boxes are included in the face annotation output.",
"type": "boolean"
}
},
"description": "Config for FACE_DETECTION."
},
"GoogleCloudVideointelligenceV1_LabelDetectionConfig": {
"description": "Config for LABEL_DETECTION.",
"type": "object",
"properties": {
"videoConfidenceThreshold": {
"type": "number",
"description": "The confidence threshold we perform filtering on the labels from video-level and shot-level detections. If not set, it's set to 0.3 by default. The valid range for this threshold is [0.1, 0.9]. Any value set outside of this range will be clipped. Note: For best results, follow the default threshold. We will update the default threshold everytime when we release a new model.",
"format": "float"
},
"frameConfidenceThreshold": {
"format": "float",
"description": "The confidence threshold we perform filtering on the labels from frame-level detection. If not set, it is set to 0.4 by default. The valid range for this threshold is [0.1, 0.9]. Any value set outside of this range will be clipped. Note: For best results, follow the default threshold. We will update the default threshold everytime when we release a new model.",
"type": "number"
},
"model": {
"type": "string",
"description": "Model to use for label detection. Supported values: \"builtin/stable\" (the default if unset) and \"builtin/latest\"."
},
"stationaryCamera": {
"description": "Whether the video has been shot from a stationary (i.e., non-moving) camera. When set to true, might improve detection accuracy for moving objects. Should be used with `SHOT_AND_FRAME_MODE` enabled.",
"type": "boolean"
},
"labelDetectionMode": {
"type": "string",
"description": "What labels should be detected with LABEL_DETECTION, in addition to video-level labels or segment-level labels. If unspecified, defaults to `SHOT_MODE`.",
"enum": [
"LABEL_DETECTION_MODE_UNSPECIFIED",
"SHOT_MODE",
"FRAME_MODE",
"SHOT_AND_FRAME_MODE"
]
}
}
},
"GoogleCloudVideointelligenceV1_ObjectTrackingConfig": {
"type": "object",
"description": "Config for OBJECT_TRACKING.",
"properties": {
"model": {
"type": "string",
"description": "Model to use for object tracking. Supported values: \"builtin/stable\" (the default if unset) and \"builtin/latest\"."
}
}
},
"GoogleCloudVideointelligenceV1_PersonDetectionConfig": {
"properties": {
"includeBoundingBoxes": {
"description": "Whether bounding boxes are included in the person detection annotation output.",
"type": "boolean"
},
"includeAttributes": {
"description": "Whether to enable person attributes detection, such as cloth color (black, blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair, etc. Ignored if 'include_bounding_boxes' is set to false.",
"type": "boolean"
},
"includePoseLandmarks": {
"description": "Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes' is set to false.",
"type": "boolean"
}
},
"type": "object",
"description": "Config for PERSON_DETECTION."
},
"GoogleCloudVideointelligenceV1_ShotChangeDetectionConfig": {
"properties": {
"model": {
"description": "Model to use for shot change detection. Supported values: \"builtin/stable\" (the default if unset), \"builtin/latest\", and \"builtin/legacy\".",
"type": "string"
}
},
"type": "object",
"description": "Config for SHOT_CHANGE_DETECTION."
},
"GoogleCloudVideointelligenceV1_SpeechContext": {
"properties": {
"phrases": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional. A list of strings containing words and phrases \"hints\" so that the speech recognition is more likely to recognize them. This can be used to improve the accuracy for specific words and phrases, for example, if specific commands are typically spoken by the user. This can also be used to add additional words to the vocabulary of the recognizer. See [usage limits](https://cloud.google.com/speech/limits#content)."
}
},
"type": "object",
"description": "Provides \"hints\" to the speech recognizer to favor specific words and phrases in the results."
},
"GoogleCloudVideointelligenceV1_SpeechTranscriptionConfig": {
"properties": {
"filterProfanity": {
"type": "boolean",
"description": "Optional. If set to `true`, the server will attempt to filter out profanities, replacing all but the initial character in each filtered word with asterisks, e.g. \"f***\". If set to `false` or omitted, profanities won't be filtered out."
},
"audioTracks": {
"items": {
"type": "integer",
"format": "int32"
},
"type": "array",
"description": "Optional. For file formats, such as MXF or MKV, supporting multiple audio tracks, specify up to two tracks. Default: track 0."
},
"enableAutomaticPunctuation": {
"type": "boolean",
"description": "Optional. If 'true', adds punctuation to recognition result hypotheses. This feature is only available in select languages. Setting this for requests in other languages has no effect at all. The default 'false' value does not add punctuation to result hypotheses. NOTE: \"This is currently offered as an experimental service, complimentary to all users. In the future this may be exclusively available as a premium feature.\""
},
"enableSpeakerDiarization": {
"description": "Optional. If 'true', enables speaker detection for each recognized word in the top alternative of the recognition result using a speaker_tag provided in the WordInfo. Note: When this is true, we send all the words from the beginning of the audio for the top alternative in every consecutive response. This is done in order to improve our speaker tags as our models learn to identify the speakers in the conversation over time.",
"type": "boolean"
},
"audioOutputUriPrefix": {
"type": "string",
"description": "Optional. Legacy field. This field must be a Cloud Storage URI prefix. (e.g., `gs://bucket/path/`)."
},
"languageCode": {
"description": "Required. *Required* The language of the supplied audio as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: \"en-US\". See [Language Support](https://cloud.google.com/speech/docs/languages) for a list of the currently supported language codes.",
"type": "string"
},
"speechContexts": {
"type": "array",
"items": {
"$ref": "#/$defs/GoogleCloudVideointelligenceV1_SpeechContext"
},
"description": "Optional. A means to provide context to assist the speech recognition."
},
"diarizationSpeakerCount": {
"type": "integer",
"format": "int32",
"description": "Optional. If set, specifies the estimated number of speakers in the conversation. If not set, defaults to '2'. Ignored unless enable_speaker_diarization is set to true."
},
"maxAlternatives": {
"format": "int32",
"type": "integer",
"description": "Optional. Maximum number of recognition hypotheses to be returned. Specifically, the maximum number of `SpeechRecognitionAlternative` messages within each `SpeechTranscription`. The server may return fewer than `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will return a maximum of one. If omitted, will return a maximum of one."
},
"enableWordConfidence": {
"description": "Optional. If `true`, the top result includes a list of words and the confidence for those words. If `false`, no word-level confidence information is returned. The default is `false`.",
"type": "boolean"
}
},
"description": "Config for SPEECH_TRANSCRIPTION.",
"type": "object"
},
"GoogleCloudVideointelligenceV1_TextDetectionConfig": {
"properties": {
"languageHints": {
"type": "array",
"description": "Language hint can be specified if the language to be detected is known a priori. It can increase the accuracy of the detection. Language hint must be language code in BCP-47 format. Automatic language detection is performed if no hint is provided.",
"items": {
"type": "string"
}
},
"model": {
"type": "string",
"description": "Model to use for text detection. Supported values: \"builtin/stable\" (the default if unset) and \"builtin/latest\"."
}
},
"description": "Config for TEXT_DETECTION.",
"type": "object"
},
"GoogleCloudVideointelligenceV1_VideoContext": {
"description": "Video context and/or feature-specific parameters.",
"properties": {
"speechTranscriptionConfig": {
"$ref": "#/$defs/GoogleCloudVideointelligenceV1_SpeechTranscriptionConfig",
"description": "Config for SPEECH_TRANSCRIPTION."
},
"faceDetectionConfig": {
"$ref": "#/$defs/GoogleCloudVideointelligenceV1_FaceDetectionConfig",
"description": "Config for FACE_DETECTION."
},
"textDetectionConfig": {
"$ref": "#/$defs/GoogleCloudVideointelligenceV1_TextDetectionConfig",
"description": "Config for TEXT_DETECTION."
},
"shotChangeDetectionConfig": {
"$ref": "#/$defs/GoogleCloudVideointelligenceV1_ShotChangeDetectionConfig",
"description": "Config for SHOT_CHANGE_DETECTION."
},
"objectTrackingConfig": {
"$ref": "#/$defs/GoogleCloudVideointelligenceV1_ObjectTrackingConfig",
"description": "Config for OBJECT_TRACKING."
},
"labelDetectionConfig": {
"$ref": "#/$defs/GoogleCloudVideointelligenceV1_LabelDetectionConfig",
"description": "Config for LABEL_DETECTION."
},
"segments": {
"description": "Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.",
"items": {
"$ref": "#/$defs/GoogleCloudVideointelligenceV1_VideoSegment"
},
"type": "array"
},
"personDetectionConfig": {
"$ref": "#/$defs/GoogleCloudVideointelligenceV1_PersonDetectionConfig",
"description": "Config for PERSON_DETECTION."
},
"explicitContentDetectionConfig": {
"$ref": "#/$defs/GoogleCloudVideointelligenceV1_ExplicitContentDetectionConfig",
"description": "Config for EXPLICIT_CONTENT_DETECTION."
}
},
"type": "object"
},
"GoogleCloudVideointelligenceV1_VideoSegment": {
"type": "object",
"properties": {
"endTimeOffset": {
"type": "string",
"description": "Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).",
"format": "google-duration"
},
"startTimeOffset": {
"description": "Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).",
"type": "string",
"format": "google-duration"
}
},
"description": "Video segment."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-cloud-video-intelligence-google-cloud-videointelligence-v1-annotate-video-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.