๐ What is lorem.video?
Need free sample videos for testing your app? Just request a URL with your specs. For prototyping video players, testing responsive designs, streaming applications, or generating placeholder content during development. No signup required, completely free API.
๐ Quick Start Examples
Basic placeholder:
https://lorem.video/720p - Standard 720p test video
Custom resolution:
https://lorem.video/1280x720 - Custom 1280x720 test video
Modern codec testing:
https://lorem.video/720p_av1 - Test AV1 codec support
Short clips for prototyping:
https://lorem.video/720p_h264_10s - Quick 10-second sample
Change video source:
https://lorem.video/cat_128kbps - Cat video instead of default bunny
โ๏ธ Available Parameters
๐ Resolutions
1080p1440p4k240p360p480p720pWxH custom
๐ฅ Video Codecs
av1h264h265vp8vp9novideo
๐ Audio Codecs
aacopusvorbisnoaudio
๐ท๏ธ Names
| Parameter | Format | Default |
|---|---|---|
| Name | input source | bunny |
| Resolution | WxH or preset | 1280x720 (720p) |
| Video Codec | codec name | h264 |
| Frame Rate | NUMBERfps | 30fps |
| Duration | NUMBERs | 20s |
| Video Bitrate | NUMBERcrf/cbr/vbr | 25crf |
| Audio Codec | codec name | aac |
| Audio Bitrate | NUMBERkbps | 128kbps |
| Container | extension | .mp4 |
๐ Parameter Rules:
- Parameters are separated by underscores (
_) - If multiple parameters specify the same setting, the last one wins
- Unknown/invalid parameters are silently ignored
- Example:
/720p_h264_30fps_h265_60fpsโ uses h265 codec and 60fps
๐ Testing Scenarios
High-res performance testing:
https://lorem.video/bunny_4k_h265_30fps_60s_23crf_aac_192kbps.mp4
Mobile app development:
https://lorem.video/cat_480p_h264_30fps_15s_26crf_aac_96kbps.mp4
Web player compatibility:
https://lorem.video/test_1080p_vp9_30fps_30s_25crf_opus_128kbps.webm
Legacy WebM playback:
https://lorem.video/bunny_480p_vp8_30fps_10s_25crf_vorbis_96kbps.webm
Audio player testing:
https://lorem.video/bunny_novideo_30s_aac_128kbps.mp4
โ ๏ธ Important Notes:
- Most popular codecs and resolutions are pregenerated
- Unconventional params transcodes on demand and stays in cache
- First-time transcoding may take time depending on complexity
- AV1 encoding is slower but produces smaller files
- Codec/container pairing: MP4 carries h264, h265, vp9 or av1 with aac, opus or vorbis audio. WebM carries vp8, vp9 or av1 with opus or vorbis audio. Anything else (h264 in WebM, vp8 in MP4) returns 400 with the supported list.
- vp8 is WebM only - the container defaults to mp4, so request it with an explicit
.webmextension.
๐ ๏ธ Usage
๐งช Testing
Video player development, codec support testing, performance benchmarking
๐จ Prototyping
Mockups, demos, design systems, responsive video layouts
๐ฑ Development
Mobile apps, web apps, streaming services, media processing pipelines
๐ง CI/CD
Automated testing, integration tests, deployment validation
๐น Live HLS streams
Available (fake) live streams:
๐ API Endpoints
| Endpoint | Method | Description |
|---|---|---|
/{params} |
GET | Get or generate video with specified parameters |
/hls/{fileName} |
GET | Stream live HLS videos (1 second GOP). Not configurable yet! |
/getInfo/{filename} |
GET | Get technical information about a video file |
๐ CORS Policy:
All endpoints include Access-Control-Allow-Origin: * headers, making them safe to use from any domain without CORS issues. Perfect for frontend development, testing, and cross-origin requests.