VideoContent: {
    data?: string;
    mime_type?: VideoContentMimeType;
    name?: string;
    processing?: MediaProcessing | ProcessingEnum;
    resolution?: MediaResolution;
    type: "video";
    uri?: string;
}

A video content block.

Type declaration

  • Optionaldata?: string

    The video content.

  • Optionalmime_type?: VideoContentMimeType

    The mime type of the video.

  • Optionalname?: string

    A user-defined name for this content block. Can be referenced by the model

    in the final response.

  • Optionalprocessing?: MediaProcessing | ProcessingEnum

    How the model processes this video for understanding.

  • Optionalresolution?: MediaResolution
  • type: "video"
  • Optionaluri?: string

    The URI of the video.