Primitives for common channels
- Instagram — aspect_ratio: "1:1" with device: "iphone-16-pro" for a square at 1080x1080 with an iPhone frame.
- Twitter/X — aspect_ratio: "16:9" with device: "browser-macos" for a 1200x628 card with browser chrome.
- Product launches — aspect_ratio: "16:9" with a device mockup for a polished 1200x675 hero.
- Add ai_copy: true to auto-generate a headline from the page content.
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",
"aspect_ratio": "1:1",
"device": "iphone-16-pro",
"ai_style": true,
"title": "Now available on mobile"
}'