# Graduation OG image template

A round portrait wearing a drawn mortarboard on the school colour, with the class year outlined large behind the name and degree.

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

For graduates, universities, bootcamps and student apps. The whole background takes the accent, so set it to the school colour; text switches between light and dark to stay readable. Without a photo the circle shows the initials. Wide frames put the portrait on the left; square and vertical frames centre it above the text.

## 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 |
|---|---|---|---|
| `name` | text | Name of the graduate, the headline. (default: Graduate name) | Amelia Novak |
| `degree` | text | Degree or programme, e.g. BSc in Computer Science. | BSc in Computer Science |
| `school` | text | School or university name. | University of Lisbon |
| `class_year` | text | Graduation year, shown as "Class of" and as the big outlined numeral. | 2026 |
| `honors` | text | Optional honours in a gold pill, e.g. Summa cum laude. | Summa cum laude |
| `photo` | image URL | Portrait photo in the circle under the cap. | https://example.com/images/avatar-woman2.jpg |
| `school_logo` | image URL | School logo next to its name. | https://example.com/images/logo-m.png |
| `accent` | colour | Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. (default: #1e3a8a) | #1e3a8a |
| `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": "graduation",
    "modifications": {
        "name": "Amelia Novak",
        "degree": "BSc in Computer Science",
        "school": "University of Lisbon",
        "class_year": "2026",
        "honors": "Summa cum laude",
        "photo": "https://example.com/images/avatar-woman2.jpg",
        "school_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/graduation/copy" -H "Authorization: Bearer sk_live_YOUR_KEY"
```
