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

Product Showcase, rendered by oJo with its first sample

Variables

  • badgetext
    Top Rated
  • features[]text
    360° Surround Sound
  • originalPricetext
    79.99
  • productImagetext
    https://img.ojo.so/products/portable-bluetooth-speaker.jpg
  • productLinktext
    https://example.com/bluetooth-speaker
  • productNametext
    Portable Bluetooth Speaker
  • productPricetext
    59.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

Related templates

All templates
Product Showcase - oJo