# Quiz result OG image template

A shareable quiz or assessment result: the score in a scalloped accent seal, the result name as the headline, a short description and ten-cell trait meters.

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

For quiz apps, media personality tests, courses and HR assessments, one render per person. Without a score the seal shows the person's photo or the result's first letter; with both, the photo becomes a medallion on the seal's edge. Traits are clamped to 0–100 and rounded to whole cells. Wide frames put the seal beside the text, square and vertical ones centre it above; wide and square frames show three traits, vertical ones up to five.

## 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 |
|---|---|---|---|
| `result_title` | text | The result, e.g. The Curious Explorer. (default: Your result) | The Curious Explorer |
| `quiz_name` | text | Name of the quiz, shown above the result. | What kind of learner are you? |
| `user_name` | text | Name of the person who took it. | Maya Chen |
| `description` | text | Two sentences about the result. | You learn by poking at things until they make sense. Give yourself projects, not lectures. |
| `score` | text | Score in the seal, e.g. 8. | 8 |
| `max_score` | text | Maximum score under it, e.g. 10. | 10 |
| `traits` | text | Up to five traits as name\|value (0–100) separated by semicolons, e.g. Curiosity\|90; Focus\|70. | Curiosity\|90; Persistence\|70; Teamwork\|60; Focus\|50 |
| `photo` | image URL | Photo of the person. | https://example.com/images/avatar-woman.jpg |
| `logo` | image URL | Logo next to the quiz name. | https://example.com/images/logo-northwind.png |
| `site` | text | Site under the text. | quiz.northwind.dev |
| `accent` | colour | Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. (default: #f472b6) | #f472b6 |
| `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": "quiz-result",
    "modifications": {
        "result_title": "The Curious Explorer",
        "quiz_name": "What kind of learner are you?",
        "user_name": "Maya Chen",
        "description": "You learn by poking at things until they make sense. Give yourself projects, not lectures.",
        "score": "8",
        "max_score": "10",
        "traits": "Curiosity|90; Persistence|70; Teamwork|60; Focus|50",
        "site": "quiz.northwind.dev",
        "photo": "https://example.com/images/avatar-woman.jpg",
        "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/quiz-result/copy" -H "Authorization: Bearer sk_live_YOUR_KEY"
```
