| Type | Supported Formats | Supported Types | |
|---|---|---|---|
| Library Template | png jpg jpeg webp pdf | base64 url binary |
Automate this template using integrations
You can generate Testimonial Screenshot 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": "testimonial-screenshot",
"response": {
"format": "png",
"type": "base64"
"scale": 1
},
"modifications": {
"testimonialText": "Pika has converted me from any other screenshot tool I used before (happily)",
"testimonialFontSize": "42",
"rating": "3",
"authorPhoto": "https://cdn.pika.style/headshots/caleb.png",
"authorName": "Caleb Leigh",
"authorDescription": "Head of Marketplace, Elgato",
"authorMetaFontSize": "40",
"width": "800"
}
}),
});You can customize the template using following modifications
| Key | Description | Type |
|---|---|---|
| testimonialText | Testimonial | string |
| testimonialFontSize | Font size of testimonial in CSS pixels value | number |
| rating | Rating value out of 5, set 0 to hide rating | number |
| authorPhoto | Author's Photo Image URL or base64 | string |
| authorName | Author's Name | string |
| authorDescription | Author's Description | string |
| authorMetaFontSize | Font size of author's name and description in CSS pixels value | number |
| width | Width of the testimonial | number |