Ask a question to get started
Enter to sendā¢Shift+Enter new line
VideoContentBlock()
TypedDict
Type of the content block. Used for discrimination.
Unique identifier for this content block.
Either:
UUID4
'lc_'
Reference to the video in an external file storage system.
For example, OpenAI or Anthropic's Files API.
MIME type of the video.
Required for base64 data.
Examples from IANA
Index of block in aggregate response. Used during streaming.
URL of the video.
Data as a base64 string.
Provider-specific metadata. This shouldn't be used for the video data itself.
Video data.
create_video_block may also be used as a factory to create a VideoContentBlock. Benefits include:
create_video_block
VideoContentBlock