Devices Reference
Device presets emulate specific devices with accurate viewport dimensions, device pixel ratio, and mobile/touch settings.
Using Device Presets
POST Request
{
"url": "https://example.com",
"viewport": {
"device": "iphone_14_pro"
}
}
GET Request
GET /v1/screenshot?url=https://example.com&device=iphone_14_pro
With Landscape
{
"viewport": {
"device": "iphone_14_pro",
"landscape": true
}
}
iPhone Devices
iphone14pro
| Property |
Value |
| Viewport |
390 × 844 |
| Scale |
3x |
| Mobile |
true |
| Touch |
true |
{ "viewport": { "device": "iphone_14_pro" } }
iphone14pro_max
| Property |
Value |
| Viewport |
430 × 932 |
| Scale |
3x |
| Mobile |
true |
| Touch |
true |
{ "viewport": { "device": "iphone_14_pro_max" } }
iphone_14
| Property |
Value |
| Viewport |
390 × 844 |
| Scale |
3x |
| Mobile |
true |
| Touch |
true |
{ "viewport": { "device": "iphone_14" } }
iphone_13
| Property |
Value |
| Viewport |
390 × 844 |
| Scale |
3x |
| Mobile |
true |
| Touch |
true |
{ "viewport": { "device": "iphone_13" } }
iphone_12
| Property |
Value |
| Viewport |
390 × 844 |
| Scale |
3x |
| Mobile |
true |
| Touch |
true |
{ "viewport": { "device": "iphone_12" } }
iphone_se
| Property |
Value |
| Viewport |
375 × 667 |
| Scale |
2x |
| Mobile |
true |
| Touch |
true |
{ "viewport": { "device": "iphone_se" } }
Android Devices
pixel_7
| Property |
Value |
| Viewport |
412 × 915 |
| Scale |
2.625x |
| Mobile |
true |
| Touch |
true |
{ "viewport": { "device": "pixel_7" } }
pixel7pro
| Property |
Value |
| Viewport |
412 × 892 |
| Scale |
3.5x |
| Mobile |
true |
| Touch |
true |
{ "viewport": { "device": "pixel_7_pro" } }
pixel_6
| Property |
Value |
| Viewport |
412 × 915 |
| Scale |
2.625x |
| Mobile |
true |
| Touch |
true |
{ "viewport": { "device": "pixel_6" } }
samsunggalaxys21
| Property |
Value |
| Viewport |
360 × 800 |
| Scale |
3x |
| Mobile |
true |
| Touch |
true |
{ "viewport": { "device": "samsung_galaxy_s21" } }
iPad Devices
ipadpro12
| Property |
Value |
| Viewport |
1024 × 1366 |
| Scale |
2x |
| Mobile |
true |
| Touch |
true |
{ "viewport": { "device": "ipad_pro_12" } }
ipadpro11
| Property |
Value |
| Viewport |
834 × 1194 |
| Scale |
2x |
| Mobile |
true |
| Touch |
true |
{ "viewport": { "device": "ipad_pro_11" } }
ipad_air
| Property |
Value |
| Viewport |
820 × 1180 |
| Scale |
2x |
| Mobile |
true |
| Touch |
true |
{ "viewport": { "device": "ipad_air" } }
ipad_mini
| Property |
Value |
| Viewport |
768 × 1024 |
| Scale |
2x |
| Mobile |
true |
| Touch |
true |
{ "viewport": { "device": "ipad_mini" } }
Desktop Devices
macbookpro14
| Property |
Value |
| Viewport |
1512 × 982 |
| Scale |
2x |
| Mobile |
false |
| Touch |
false |
{ "viewport": { "device": "macbook_pro_14" } }
macbookpro16
| Property |
Value |
| Viewport |
1728 × 1117 |
| Scale |
2x |
| Mobile |
false |
| Touch |
false |
{ "viewport": { "device": "macbook_pro_16" } }
macbook_air
| Property |
Value |
| Viewport |
1470 × 956 |
| Scale |
2x |
| Mobile |
false |
| Touch |
false |
{ "viewport": { "device": "macbook_air" } }
Device Comparison Table
| Device |
Viewport |
Scale |
Mobile |
| iPhones |
|
|
|
| iphone14pro |
390×844 |
3x |
✓ |
| iphone14pro_max |
430×932 |
3x |
✓ |
| iphone_se |
375×667 |
2x |
✓ |
| Android |
|
|
|
| pixel_7 |
412×915 |
2.625x |
✓ |
| pixel7pro |
412×892 |
3.5x |
✓ |
| samsunggalaxys21 |
360×800 |
3x |
✓ |
| iPads |
|
|
|
| ipadpro12 |
1024×1366 |
2x |
✓ |
| ipadpro11 |
834×1194 |
2x |
✓ |
| ipad_air |
820×1180 |
2x |
✓ |
| MacBooks |
|
|
|
| macbookpro14 |
1512×982 |
2x |
✗ |
| macbookpro16 |
1728×1117 |
2x |
✗ |
| macbook_air |
1470×956 |
2x |
✗ |
Device Properties Explained
| Property |
Description |
| Viewport |
CSS pixel dimensions (width × height) |
| Scale |
Device pixel ratio (DPR) |
| Mobile |
Emulates mobile browser behavior |
| Touch |
Enables touch event handling |
Output Resolution
The actual output image size is: viewport × scale
For example, iPhone 14 Pro:
- Viewport: 390 × 844
- Scale: 3x
- Output: 1170 × 2532 pixels
Custom Devices
For devices not in the preset list, use custom viewport settings:
{
"viewport": {
"width": 400,
"height": 900,
"scale": 2.5,
"mobile": true,
"touch": true
}
}
See Also