Product Showcase
Render one per product from your catalogue, with the photo, name, price, original price, a badge and a QR code to the product page.
Image, 1080 × 1080, 1 credit
Output

Variables
badgetextTop Ratedfeatures[]text360° Surround SoundoriginalPricetext79.99productImagetexthttps://img.ojo.so/products/portable-bluetooth-speaker.jpgproductLinktexthttps://example.com/bluetooth-speakerproductNametextPortable Bluetooth SpeakerproductPricetext59.99
Send any of these in modify. Anything you leave out prints the sample value, and the response lists it in warnings.
Render it
Save the template to your account first. Saving gives you its ID.
curl --request POST \
--url https://api.ojo.so/v1/image/template \
--header 'Authorization: Bearer <your API key>' \
--header 'Content-Type: application/json' \
--data '{
"templateId": "<YOUR_TEMPLATE_ID>",
"modify": {
"productName": "Portable Bluetooth Speaker",
"productImage": "https://img.ojo.so/products/portable-bluetooth-speaker.jpg",
"productPrice": "59.99",
"originalPrice": "79.99"
},
"viewportWidth": 1080,
"viewportHeight": 1080
}'What's included
- Glassmorphism
- Automatic QR Code
- Responsive Design


