# Lighthouse scores OG image template

An audit report in a browser window: the URL in the address bar, up to four ring gauges coloured by Lighthouse bands and an optional screenshot.

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

For agencies, hosting, SEO and developer tools sharing a site's performance, accessibility, best practices and SEO scores. Rings are clamped to 0–100 and turn red under 50, orange under 90 and green from 90; the number shown is the one you sent. Wide frames show four gauges in a row with the screenshot on the right, cropped from its top; square and vertical frames put the screenshot above a two-by-two grid.

## 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 |
|---|---|---|---|
| `url` | text | Address of the audited page, e.g. northwind.dev/pricing. (default: example.com) | northwind.dev/pricing |
| `scores` | text | Up to four scores as label:number pairs separated by commas or semicolons, e.g. Performance:98, Accessibility:100, Best practices:96, SEO:100. | Performance:87, Accessibility:100, Best practices:96, SEO:100 |
| `device` | text | Device of the audit: mobile or desktop. | mobile |
| `date` | text | Date of the audit as written. | Oct 26, 2026 |
| `screenshot` | image URL | Screenshot of the page. | https://example.com/images/phone-app.png |
| `logo` | image URL | Logo in the bottom corner of the window. | https://example.com/images/logo-northwind.png |
| `accent` | colour | Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. (default: #2563eb) | #2563eb |
| `theme` | dark | light | Colour scheme: dark or light. (default: 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": "lighthouse-scores",
    "modifications": {
        "url": "northwind.dev/pricing",
        "scores": "Performance:87, Accessibility:100, Best practices:96, SEO:100",
        "device": "mobile",
        "date": "Oct 26, 2026",
        "screenshot": "https://example.com/images/phone-app.png",
        "logo": "https://example.com/images/logo-northwind.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/lighthouse-scores/copy" -H "Authorization: Bearer sk_live_YOUR_KEY"
```
