# Year in review OG image template

A personal recap card: the period on its side in an accent band, one huge number, up to four stat capsules and a numbered top three with pictures.

- Slug: `year-in-review`
- Preview (real render): https://shareglint.com/storage/template-previews/year-in-review.jpg
- Page: https://shareglint.com/en/templates/year-in-review

For apps that send every user their year (or month) so far: music, fitness, reading, finance or SaaS usage, one render per user. The big number and the period shrink to fit, capsules and names end with an ellipsis, and a top item without a picture gets a monogram tile. Wide and square frames stand the period along the left edge like a book spine; vertical ones lay the band across the top and give the top three bigger pictures.

## 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 |
|---|---|---|---|
| `headline_value` | text | The big number, e.g. 48,210. (default: 1,000) | 48,210 |
| `headline_label` | text | What the number counts, e.g. minutes listened. | minutes listened |
| `period` | text | The period in the band, e.g. 2026 or October so far. (default: 2026) | 2026 |
| `user_name` | text | Name of the person the recap is for. | Maya Chen |
| `stats` | text | Up to four capsules as label\|value pairs separated by semicolons, e.g. Songs\|2,140; Artists\|386. | Songs\|2,140; Artists\|386; Top genre\|Indie pop; Longest streak\|41 days |
| `top_1` | text | Name of the first item in the top three (artist, route, book). | Lena Ortiz |
| `top_1_image` | image URL | Picture of the first item; without it a monogram tile is shown. | https://example.com/images/avatar-woman.jpg |
| `top_2` | text | Name of the second item. | The Night Owls |
| `top_2_image` | image URL | Picture of the second item. | https://example.com/images/album-cover.png |
| `top_3` | text | Name of the third item. | Marcus Lee |
| `top_3_image` | image URL | Picture of the third item. | https://example.com/images/avatar-man.jpg |
| `app_name` | text | App name in the top corner. | Northwind Music |
| `logo` | image URL | App logo in the accent band. | https://example.com/images/logo-m.png |
| `accent` | colour | Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. (default: #a3e635) | #a3e635 |
| `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": "year-in-review",
    "modifications": {
        "headline_value": "48,210",
        "headline_label": "minutes listened",
        "period": "2026",
        "user_name": "Maya Chen",
        "stats": "Songs|2,140; Artists|386; Top genre|Indie pop; Longest streak|41 days",
        "top_1": "Lena Ortiz",
        "top_2": "The Night Owls",
        "top_3": "Marcus Lee",
        "app_name": "Northwind Music",
        "top_1_image": "https://example.com/images/avatar-woman.jpg",
        "top_2_image": "https://example.com/images/album-cover.png",
        "top_3_image": "https://example.com/images/avatar-man.jpg",
        "logo": "https://example.com/images/logo-m.png"
    }
}'
```

## 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/year-in-review/copy" -H "Authorization: Bearer sk_live_YOUR_KEY"
```
