A giant discount on a full accent-coloured background with diagonal stripes, the sale name and when it ends.
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 time-limited sales, Black Friday and app-wide promotions. The whole frame is your accent colour, the discount is the largest thing on it and the end time sits on a dark pill so the urgency reads at thumbnail size. Text colour adapts to the accent, so a yellow brand gets dark type automatically.
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 |
|---|---|---|---|
discount |
text | The discount, e.g. 70%. Long values shrink to fit. default: 50% | 70% |
off_label |
text | Word printed after the discount, e.g. OFF. default: OFF | — |
title |
text | Name of the sale, e.g. Flash sale. default: Flash sale | — |
subtitle |
text | What is on sale, e.g. Everything sitewide. | Everything sitewide, today only |
ends |
text | When the sale ends, e.g. Ends tonight at 23:59. | Ends tonight at 23:59 |
cta |
text | Call to action on the button. default: Shop the sale | — |
site |
text | Your domain or a short URL. | aurora-audio.com |
logo |
image URL | Shop logo, shown next to the site address. | — |
accent |
colour | Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. default: #facc15 | #facc15 |
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": "flash-sale",
"modifications": {
"discount": "70%",
"subtitle": "Everything sitewide, today only",
"ends": "Ends tonight at 23:59",
"site": "aurora-audio.com"
}
}'
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/flash-sale.png?discount=70%25&ends=Ends%20tonight%20at%2023%3A59&site=aurora-audio.com&subtitle=Everything%20sitewide%2C%20today%20only&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/flash-sale/copy" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
Blog post
Website page card
Job posting
Event
Podcast episode
Changelog / release
Documentation page
Real estate listing
Product card
Product on sale
Course lesson
Recipe
Newsletter issue
Quote card
Case study / testimonial
GitHub repository
Feature announcement
Profile / author card
Comparison (A vs B)
Stat highlight
New arrival
Price drop
Coupon code
Product rating
Gift card
Menu special
Open house
Book launch
Fundraising goal
Speaker card
Webinar
Community meetup
Countdown
Event ticket
We're hiring (several roles)
Welcome new hire
Certificate of completion
Livestream
Music release
Podcast quote (audiogram)
Star review
Social post
Editorial pull quote
Weekly digest
Listicle
Pros and cons
Before / after
Metrics grid
Bar chart
Milestone celebration
Product roadmap
API endpoint
Code snippet
App store listing
Launch day
Package release
Pricing plans