animated-stat-counter

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.

Animated stat counter template at square size (1080×1080)
Animated stat counter template at portrait size (1080×1350)
Animated stat counter template at story size (1080×1920)
Animated stat counter template at pinterest size (1000×1500)
Animated stat counter template at youtube size (1280×720)

These are real renders from the API with the example values in the table below. Switch the size above: the same template lays itself out for all 6 sizes — send size or sizes with the request.

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

Use the slug as template. The response holds the URL of the finished PNG; ?wait=true keeps the connection open until it is ready.

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"
    }
}'

Or paste a signed URL into og:image

For static sites, Webflow, Shopify and no-code tools: put the fields in the query string and sign it with your signing secret. The first request renders the image, every later one is a redirect to the cached file. How to compute the signature.

<meta property="og:image" content="https://shareglint.com/i/acc_YOUR_ACCOUNT_ID/animated-stat-counter.png?eyebrow=Milestone&label=images%20rendered%20through%20our%20API%20last%20month&site=northwind.dev&source=Source%3A%20Northwind%20dashboard%2C%20October%202026&value=1%2C240%2C000&s=YOUR_SIGNATURE">

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.

curl -X POST "https://shareglint.com/v1/templates/library/animated-stat-counter/copy" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

More Data, charts & milestones templates

All 14 Data, charts & milestones templates →  ·  All templates →