# Product rating OG image template

An average rating set huge with stars filled to the exact score, the number of reviews and one review next to the product photo.

- Slug: `product-review`
- Preview (real render): https://shareglint.com/img/templates/product-review.jpg
- Page: https://shareglint.com/en/templates/product-review

For shops, marketplaces and review sites: social proof in one glance. Stars are filled to the decimal (4.8 shows four and four-fifths), the review count sits under the score and one customer sentence carries the voice. Send `rating` as a number out of 5.

## Fields

Every field is optional. Long text shrinks to fit instead of overflowing; an image field takes a public URL that we fetch on our side.

| Field | Type | Description | Example |
|---|---|---|---|
| `product` | text | Product name, shown over the photo. (default: Product name) | Daily Glow Vitamin C Serum |
| `rating` | text | Average rating out of 5, e.g. 4.8. (default: 5) | 4.8 |
| `reviews` | text | Number of reviews as you want it printed, e.g. 2,314 reviews. | 2,314 verified reviews |
| `review` | text | One short review in the customer's words. | My skin looked brighter after two weeks, and one bottle lasts for months. |
| `reviewer` | text | Who wrote the review, e.g. Anna K., verified buyer. | Anna K., verified buyer |
| `badge` | text | Label on the photo, e.g. Best seller. | Best seller |
| `site` | text | Your domain or a short URL. | florahouse.com |
| `photo` | image URL | Product photo, shown in a tall rounded card. | https://example.com/images/serum.jpg |
| `accent` | colour | Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. (default: #f59e0b) | #f59e0b |
| `theme` | dark | light | Colour scheme: dark or light. | — |

## Render it with one request

```bash
curl -X POST "https://shareglint.com/v1/images?wait=true" \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "product-review",
    "modifications": {
        "product": "Daily Glow Vitamin C Serum",
        "rating": "4.8",
        "reviews": "2,314 verified reviews",
        "review": "My skin looked brighter after two weeks, and one bottle lasts for months.",
        "reviewer": "Anna K., verified buyer",
        "badge": "Best seller",
        "site": "florahouse.com",
        "photo": "https://example.com/images/serum.jpg"
    }
}'
```

## Make it yours

accent and theme change per request. For anything more, copy the template into your account: you get an ordinary HTML template with the same fields that you can edit in the dashboard or through the API. If the slug is free on your account, the copy takes it — your integrations switch to your version without changing a line.

```bash
curl -X POST "https://shareglint.com/v1/templates/library/product-review/copy" -H "Authorization: Bearer sk_live_YOUR_KEY"
```
