A round portrait wearing a drawn mortarboard on the school colour, with the class year outlined large behind the name and degree.
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 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.
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. | — |
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": "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"
}
}'
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/graduation.png?class_year=2026°ree=BSc%20in%20Computer%20Science&honors=Summa%20cum%20laude&name=Amelia%20Novak&school=University%20of%20Lisbon&s=YOUR_SIGNATURE">
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/graduation/copy" \
-H "Authorization: Bearer sk_live_YOUR_KEY"