Index
ImageClassificationPredictionInstance
(message)ImageObjectDetectionPredictionInstance
(message)ImageSegmentationPredictionInstance
(message)TextClassificationPredictionInstance
(message)TextExtractionPredictionInstance
(message)TextSentimentPredictionInstance
(message)VideoActionRecognitionPredictionInstance
(message)VideoClassificationPredictionInstance
(message)VideoObjectTrackingPredictionInstance
(message)
ImageClassificationPredictionInstance
Prediction input format for Image Classification.
Fields | |
---|---|
content |
The image bytes or Cloud Storage URI to make the prediction on. |
mime_ |
The MIME type of the content of the image. Only the images in below listed MIME types are supported. - image/jpeg - image/gif - image/png - image/webp - image/bmp - image/tiff - image/vnd.microsoft.icon |
ImageObjectDetectionPredictionInstance
Prediction input format for Image Object Detection.
Fields | |
---|---|
content |
The image bytes or Cloud Storage URI to make the prediction on. |
mime_ |
The MIME type of the content of the image. Only the images in below listed MIME types are supported. - image/jpeg - image/gif - image/png - image/webp - image/bmp - image/tiff - image/vnd.microsoft.icon |
ImageSegmentationPredictionInstance
Prediction input format for Image Segmentation.
Fields | |
---|---|
content |
The image bytes to make the predictions on. |
mime_ |
The MIME type of the content of the image. Only the images in below listed MIME types are supported. - image/jpeg - image/png |
TextClassificationPredictionInstance
Prediction input format for Text Classification.
Fields | |
---|---|
content |
The text snippet to make the predictions on. |
mime_ |
The MIME type of the text snippet. The supported MIME types are listed below. - text/plain |
TextExtractionPredictionInstance
Prediction input format for Text Extraction.
Fields | |
---|---|
content |
The text snippet to make the predictions on. |
mime_ |
The MIME type of the text snippet. The supported MIME types are listed below. - text/plain |
key |
This field is only used for batch prediction. If a key is provided, the batch prediction result will by mapped to this key. If omitted, then the batch prediction result will contain the entire input instance. Vertex AI will not check if keys in the request are duplicates, so it is up to the caller to ensure the keys are unique. |
TextSentimentPredictionInstance
Prediction input format for Text Sentiment.
Fields | |
---|---|
content |
The text snippet to make the predictions on. |
mime_ |
The MIME type of the text snippet. The supported MIME types are listed below. - text/plain |
VideoActionRecognitionPredictionInstance
Prediction input format for Video Action Recognition.
Fields | |
---|---|
content |
The Google Cloud Storage location of the video on which to perform the prediction. |
mime_ |
The MIME type of the content of the video. Only the following are supported: video/mp4 video/avi video/quicktime |
time_ |
The beginning, inclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with "s" appended at the end. Fractions are allowed, up to a microsecond precision. |
time_ |
The end, exclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with "s" appended at the end. Fractions are allowed, up to a microsecond precision, and "inf" or "Infinity" is allowed, which means the end of the video. |
VideoClassificationPredictionInstance
Prediction input format for Video Classification.
Fields | |
---|---|
content |
The Google Cloud Storage location of the video on which to perform the prediction. |
mime_ |
The MIME type of the content of the video. Only the following are supported: video/mp4 video/avi video/quicktime |
time_ |
The beginning, inclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with "s" appended at the end. Fractions are allowed, up to a microsecond precision. |
time_ |
The end, exclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with "s" appended at the end. Fractions are allowed, up to a microsecond precision, and "inf" or "Infinity" is allowed, which means the end of the video. |
VideoObjectTrackingPredictionInstance
Prediction input format for Video Object Tracking.
Fields | |
---|---|
content |
The Google Cloud Storage location of the video on which to perform the prediction. |
mime_ |
The MIME type of the content of the video. Only the following are supported: video/mp4 video/avi video/quicktime |
time_ |
The beginning, inclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with "s" appended at the end. Fractions are allowed, up to a microsecond precision. |
time_ |
The end, exclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with "s" appended at the end. Fractions are allowed, up to a microsecond precision, and "inf" or "Infinity" is allowed, which means the end of the video. |