Guides
Using Mockups
Learn how to enhance screenshots with device mockups
Using Mockups
This guide will show you how to enhance your screenshots by applying device mockups directly through the screenshot API.
Available Mockups
Screenshotly provides several mockup templates that can be applied when capturing screenshots:
Template ID | Description | Best For |
---|---|---|
browser-light | Modern browser with light theme (1920×1036) | Websites, web apps |
browser-dark | Modern browser with dark theme (1920×1036) | Dark mode websites |
iphone-14 | iPhone 14 Pro with Dynamic Island (1000×1760) | Mobile apps, responsive designs |
macbook-pro | Modern MacBook Pro (1980×1230) | Desktop applications |
Using Mockups
To apply a mockup, simply include the mockup
parameter in your screenshot request:
Browser Window Mockup
The browser mockup is perfect for showcasing websites:
Mobile Device Mockup
Perfect for showcasing mobile-responsive designs:
Best Practices
-
Match Device and Mockup: Use appropriate device settings for each mockup:
browser-light
/browser-dark
: Use withdevice: 'desktop'
iphone-14
: Use withdevice: 'mobile'
macbook-pro
: Use withdevice: 'desktop'
-
Clean Screenshots: Use AI removal to clean up unwanted elements before applying mockups:
-
Image Quality: Use PNG format for best results with mockups:
Next Steps
- Learn about AI element removal
- Explore API token management
- Check out the API reference