Skip to content

MediaVariant

A rendition of a media file, without metadata. Its URL never serves other content, so it may be cached for good. content_type, width, height, and size are present for an upload, and absent where unknown for a remote file served through the media proxy.

object
url
required

Where the rendition is served.

string format: uri
content_type

The media type of the rendition.

string
width

The width in pixels.

integer
>= 1
height

The height in pixels.

integer
>= 1
size

The size of the file in bytes.

integer format: int64
>= 1

Example generated

{
"url": "https://example.com",
"content_type": "example",
"width": 1,
"height": 1,
"size": 1
}

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

Analytics on this site