> ## 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 URLs

Fetch raw video, GIF, thumbnail, and debug assets.

Use media URLs when you need raw files for a custom player, build pipeline, or social image workflow.

## Video

```text
GET https://littledemo.com/api/v1/demos/{demoId}/video
```

Video responses support range requests, which browsers use for seeking.

## GIF

```text
GET https://littledemo.com/api/v1/demos/{demoId}/gif
```

Use GIFs for small previews, not full product tours.

For uploaded demos, GIF URLs exist only after a GIF asset has been attached.

## Thumbnail

```text
GET https://littledemo.com/api/v1/demos/{demoId}/thumbnail
```

Short URL:

```text
https://littledemo.com/thumb/{demoId}.png
```

GIF shortcut:

```text
https://littledemo.com/gif/{demoId}.gif
```

Thumbnail shortcut URLs also require a stored thumbnail asset. `littledemo record --upload` attaches both assets automatically.

## Variants

Some media endpoints accept a `variant` query parameter.

```text
GET /api/v1/demos/demo_abc123/video?variant=main
```

Use variants only after inspecting the demo response and confirming the variant exists.