# Animated stat counter OG image template

One big figure that counts up from zero, with a label, a source line and an underline that draws in.

- Slug: `animated-stat-counter`
- Preview (real render): https://shareglint.com/storage/template-previews/animated-stat-counter.jpg
- Page: https://shareglint.com/en/templates/animated-stat-counter

For milestones, reports and growth posts. In `gif` and `mp4` the digits count up from zero while keeping the separators and the suffix you send (1,240,000 or 98%), then hold. A still format shows the final figure.

## 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 |
|---|---|---|---|
| `value` | text | The number, e.g. 87%. Long numbers shrink to fit. (default: 100%) | 1,240,000 |
| `label` | text | What the number means. | images rendered through our API last month |
| `eyebrow` | text | Short label above the title. | Milestone |
| `source` | text | Where the number comes from. | Source: Northwind dashboard, October 2026 |
| `site` | text | Your domain or a short URL. | northwind.dev |
| `accent` | colour | Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. (default: #f97316) | #f97316 |
| `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": "animated-stat-counter",
    "modifications": {
        "value": "1,240,000",
        "label": "images rendered through our API last month",
        "eyebrow": "Milestone",
        "source": "Source: Northwind dashboard, October 2026",
        "site": "northwind.dev"
    }
}'
```

## 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/animated-stat-counter/copy" -H "Authorization: Bearer sk_live_YOUR_KEY"
```
