Devices
The device setting specifies which device model to use for the mockup.
Usage
json
{
"settings": {
"device": "iphone-15-pro-max"
}
}Available Devices
iPhone
| ID | Model |
|---|---|
iphone-15-pro-max | iPhone 15 Pro Max |
iphone-13-pro-max | iPhone 13 Pro Max |
iphone-13-pro | iPhone 13 Pro |
iphone-11-pro | iPhone 11 Pro |
Google Pixel
| ID | Model |
|---|---|
google-pixel-10 | Google Pixel 10 |
pixel-9a | Pixel 9a |
MacBook
| ID | Model |
|---|---|
macbook-pro-16-2021 | MacBook Pro 16" (2021) |
apple-macbook-pro | MacBook Pro |
Default Behavior
If no device is specified, the API uses a default device (typically the latest iPhone model).
Example
bash
curl -X POST https://shotprose.com/api/v1/mockup \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"screenshot_url": "https://example.com/screenshot.png",
"settings": {
"device": "google-pixel-10"
}
}'