Use Case Examples
- Demo your app’s onboarding flow
- Capture animation effects or video players
- Scroll through an entire product page for marketing
- Generate reels or preview clips for social media
API Parameters
Optional Parameters
format- Type: string
- Allowed:
webm,mp4,mov,avi - Default:
mp4 - Description: The video output format.
mp4is widely supported and recommended for general use.
- Type: integer
- Range:
1to30seconds - Default:
5 - Description: The total duration of the recording. Longer durations are useful for full scrolls or animations.
- Type: string
- Options:
video,scroll - Default:
video - Description:
video: A static screen recording, useful for animations, transitions, or video players.scroll: Automatically scrolls the page down during recording, ideal for long-form content like blog posts.
Scrolling-Specific Options
(Only used when scenario isscroll)
scroll_by_amount
- Type: integer
- Default:
1000 - Description: Number of pixels to scroll per step.
- Type: integer (ms)
- Default:
500 - Description: Time to wait between each scroll step.
- Type: integer (ms)
- Default:
1500 - Description: Duration of the scroll animation itself (smooth scroll).
- Type: boolean
- Default:
true - Description: If enabled, the page scrolls back up to the top at the end.
- Type: integer (ms)
- Default:
800 - Description: Time to wait before starting the scroll-back animation.
- Type: string
- Default:
linear - Description: Easing function applied to scrolling animations. Controls the smoothness and acceleration.
How the scroll scenario works
When using scenarioscroll option, the animation simulates a natural reading or browsing experience:
- The page scrolls down by
scroll_by_amountpixels. - After each scroll, it pauses for
scroll_by_delaymilliseconds. - Each scroll movement is animated over
scroll_by_durationmilliseconds for smoothness. - This process repeats step-by-step until the bottom of the page is reached.
- If
scroll_backis set to true, the page will pause forscroll_back_delaymilliseconds, then scroll back to the top in one smooth motion.
Making Scrolls Feel Natural with scroll_easing parameter
The scroll_easing parameter is a powerful tool for controlling the feel of your scroll animations.,It allows you to choose how the scrolling motion behaves, making it more or less dynamic depending on your needs.
The scroll_easing parameter affects each scroll step in the scroll scenario, giving you fine control over the pacing and fluidity of the motion.
Why Easing Matters
A scroll that moves linearly feels robotic. Easing functions allow for acceleration and deceleration, creating a more human-like experience.
Available Easing Options
Need help? Contact us at support@screenshotmax.com

