Correct dimensions built in
- With device: "iphone-16-pro", the page is captured at an iPhone-sized viewport with mobile user agent, DPR 3, and touch emulation before being placed inside the frame.
- With device: "ipad-pro-m4", the capture switches to an iPad-sized tablet profile.
- Use aspect_ratio for a quick portrait or landscape canvas, or set output.width and output.height when you need exact App Store dimensions.
- Add text overlays with title and subtitle for captions above the device.
- For multiple screenshots per listing, use async: true to batch-render in parallel.
API example
curl -X POST https://screenframed.com/v1/capture \
-H "Authorization: Bearer sf_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"url": "https://your-app.com/dashboard",
"aspect_ratio": "9:16",
"device": "iphone-16-pro",
"output": { "format": "png", "width": 1290, "height": 2796, "dpr": 2 },
"title": "Track Your Habits",
"subtitle": "Beautiful insights at a glance",
"background_preset": "midnight",
"shadow": "float"
}'