Skip to content

MediaMeta

What the server knows about the media file.

object
width

The width of the original image in pixels, after its EXIF orientation; absent until the file is ready, and for a remote file whose server declared none.

integer
>= 1
height

The height of the original image in pixels, after its EXIF orientation; absent until the file is ready, and for a remote file whose server declared none.

integer
>= 1
focus
required

Schema: MediaFocus

object
duration

The length of a video or audio file in seconds; absent for an image and until the file is ready.

number format: double

Example generated

{
"width": 1,
"height": 1,
"focus": {},
"duration": 1
}

For LLMs and coding agents:llms.txt,llms-full.txt, llms-small.txt

Analytics on this site