> ## Documentation Index
> Fetch the complete documentation index at: https://docs.littledemo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Media API

Fetch video, GIF, thumbnail, snapshots, and debug stills.

Media endpoints are useful for custom players and build workflows.

## Video

```text
GET /api/v1/demos/{id}/video
```

## GIF

```text
GET /api/v1/demos/{id}/gif
```

## Thumbnail

```text
GET /api/v1/demos/{id}/thumbnail
```

## Shortcuts

```text
GET /thumb/{id}.png
GET /gif/{id}.gif
```

Shortcut URLs return `404` until the demo has the matching thumbnail or GIF asset. Uploaded demos get those assets from `--thumbnail` / `--gif`, `littledemo record --upload`, or `POST /api/v1/demos/{id}/local-assets`.

## Analysis assets

```text
GET /api/v1/demos/{id}/snapshots/{index}
GET /api/v1/demos/{id}/debug-stills/{index}
```

These are mainly useful when reviewing generation quality.