@@ -95,6 +95,12 @@ class File(BaseModel):
9595 ai_tags : Optional [List [AITag ]] = FieldInfo (alias = "AITags" , default = None )
9696 """An array of tags assigned to the file by auto tagging."""
9797
98+ audio_codec : Optional [str ] = FieldInfo (alias = "audioCodec" , default = None )
99+ """The audio codec used in the video (only for video/audio)."""
100+
101+ bit_rate : Optional [int ] = FieldInfo (alias = "bitRate" , default = None )
102+ """The bit rate of the video in kbps (only for video)."""
103+
98104 created_at : Optional [datetime ] = FieldInfo (alias = "createdAt" , default = None )
99105 """Date and time when the file was uploaded.
100106
@@ -113,6 +119,15 @@ class File(BaseModel):
113119 Can be set by the user or the ai-auto-description extension.
114120 """
115121
122+ duration : Optional [int ] = None
123+ """The duration of the video in seconds (only for video)."""
124+
125+ embedded_metadata : Optional [Dict [str , object ]] = FieldInfo (alias = "embeddedMetadata" , default = None )
126+ """Consolidated embedded metadata associated with the file.
127+
128+ It includes exif, iptc, and xmp data.
129+ """
130+
116131 file_id : Optional [str ] = FieldInfo (alias = "fileId" , default = None )
117132 """Unique identifier of the asset."""
118133
@@ -188,5 +203,8 @@ class File(BaseModel):
188203 version_info : Optional [VersionInfo ] = FieldInfo (alias = "versionInfo" , default = None )
189204 """An object with details of the file version."""
190205
206+ video_codec : Optional [str ] = FieldInfo (alias = "videoCodec" , default = None )
207+ """The video codec used in the video (only for video)."""
208+
191209 width : Optional [float ] = None
192210 """Width of the file."""
0 commit comments