| Type | Supported Formats | Supported Types | |
|---|---|---|---|
| Library Template | png jpg jpeg webp pdf | base64 url binary |
Automate this template using integrations
You can generate iPhone 14 Mockup renders using Rest API and Orshot SDKs
await fetch("https://api.orshot.com/v1/generate/images", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: "Bearer <ORSHOT_API_KEY>",
},
body: JSON.stringify({
"templateId": "iphone-14-mockup",
"response": {
"format": "png",
"type": "base64"
"scale": 1
},
"modifications": {
"screenshotImage": "https://pika.style/templates/demo-images/iphone-2.png"
}
}),
});You can customize the template using following modifications
| Key | Description | Type |
|---|---|---|
| screenshotImage | A URL or base64 string of iOS screenshot | string |