A brand's holiday greeting: one layout, with the colours and CSS-drawn decorations set by the occasion, and the message in the middle.
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 companies, agencies and local businesses sending greetings for Christmas, New Year, Diwali, Eid, Lunar New Year, Halloween, Valentine's Day, Women's Day or Thanksgiving. occasion picks the scene: baubles and trees, fireworks, diyas and rangoli, a crescent and lanterns, red lanterns, a moon, web and pumpkins, hearts, flowers and mimosa, or falling leaves; custom builds a starry scene from the accent. The decorations stay at the edges, the message shrinks to fit in the middle and is clamped past six lines, and the accent colours the rules around the sender. Without a logo the sender gets a monogram; with a photo the photo stands in an arch beside the message in wide frames and above it in square and vertical ones.
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 |
|---|---|---|---|
occasion |
text | The holiday: christmas, new_year, diwali, eid, lunar_new_year, halloween, valentines, womens_day, thanksgiving or custom. one of: christmas | new_year | diwali | eid | lunar_new_year | halloween | valentines | womens_day | thanksgiving | custom default: custom | christmas |
message |
text | The greeting itself, e.g. Warm wishes for a merry Christmas from all of us. default: Warm wishes from all of us | Thank you for every cup this year. Warm wishes for a merry Christmas and a bright new year from all of us. |
sender |
text | Who sends it, under the message. | Northwind Roastery |
logo |
image URL | Sender's logo, in a round badge; square works best. | https://example.com/images/logo-roastery.png |
photo |
image URL | Optional photo (a team, a shop front), shown in an arch. | — |
accent |
colour | Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. default: #dc2626 | #dc2626 |
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": "seasonal-greeting",
"modifications": {
"occasion": "christmas",
"message": "Thank you for every cup this year. Warm wishes for a merry Christmas and a bright new year from all of us.",
"sender": "Northwind Roastery",
"logo": "https://example.com/images/logo-roastery.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/seasonal-greeting.png?message=Thank%20you%20for%20every%20cup%20this%20year.%20Warm%20wishes%20for%20a%20merry%20Christmas%20and%20a%20bright%20new%20year%20from%20all%20of%20us.&occasion=christmas&sender=Northwind%20Roastery&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/seasonal-greeting/copy" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
Social post
Carousel cover
Carousel slide
Carousel end slide
Photo collage
Story new post
All 19 Social media & creators templates → · All templates →