Video Recording
Capture smooth videos of websites, including scrolling animations, page transitions, and interactive content.
Endpoint
Video recording uses the /animate endpoint instead of /take:
GET https://api.lambdashot.com/animate?url=https://example.com&scenario=scroll&access_key=YOUR_KEY Scenarios
The scenario parameter determines how the video is captured:
Default (Stand Still)
Records the page without any interaction. Ideal for pages with built-in animations.
?scenario=default Scroll
Automatically scrolls through the page, capturing the full content.
?scenario=scroll Video Parameters
| Parameter | Description | Default |
|---|---|---|
format | Output format: mp4, webm, mov, gif | mp4 |
duration | Video duration in seconds (max 30) | 5 |
width | Video width in pixels | Viewport width |
height | Video height in pixels | Viewport height |
aspect_ratio | Aspect ratio (overrides width/height) | — |
Scroll Options
Fine-tune the scrolling behavior:
| Parameter | Description | Default |
|---|---|---|
scroll_delay | Pause between scrolls (ms) | 500 |
scroll_duration | Duration of each scroll animation (ms) | 1500 |
scroll_by | Pixels to scroll per step | 1000 |
scroll_back | Scroll back to top after reaching bottom | true |
scroll_easing | Easing function: linear, ease_in_quad, ease_out_quint, etc. | ease_out_quint |
scroll_complete | Stop when fully scrolled | true |
scroll_till_selector | Scroll until element appears | — |
Examples
Basic Scrolling Video
https://api.lambdashot.com/animate?url=https://stripe.com&scenario=scroll&duration=10&access_key=YOUR_KEY GIF Animation
https://api.lambdashot.com/animate?url=https://linear.app&scenario=default&format=gif&duration=3&access_key=YOUR_KEY Custom Scroll Speed
https://api.lambdashot.com/animate?url=https://example.com&scenario=scroll&scroll_duration=2000&scroll_delay=300&access_key=YOUR_KEY Supported Features
Video recording supports most screenshot options including:
- Viewport and device emulation
- Custom headers and cookies
- Ad and cookie banner blocking
- Geolocation settings
- Caching
- S3 storage upload
- Async processing with webhooks
Pricing
Video recording is billed at 7¢ per video, regardless of duration or format.
Limitations
- Maximum duration: 30 seconds
- Maximum resolution: 1920x1080
- Some interactive elements may not be captured accurately