A player screen: the album art blurred into the background, the sleeve with its record sliding out and a scrubber with times and transport buttons.
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 music apps, radio stations, DJs and playlist curators sharing the current track, and for profile READMEs. The elapsed time is worked out from progress and a duration like 3:41 or 1:02:15; a duration in another form is shown as given without it. Progress is clamped, so the knob never leaves the bar, and a long track title shrinks to fit. Without album_art the sleeve becomes an accent tile with a note and the background a soft accent glow. Wide frames put the sleeve beside the track; square and vertical frames centre everything under a larger sleeve, like a phone player.
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 |
|---|---|---|---|
track |
text | Track title, the largest text. default: Track title | Afterglow Avenue |
artist |
text | Artist name under the title. | Lumen Harbor |
album_art |
image URL | Album cover, square; also blurred into the background. | https://example.com/images/b09-album-neon.png |
progress |
text | How far the track has played, from 0 to 1 (0.42), or a percentage (42 or 42%). default: 0.4 | 0.42 |
duration |
text | Track length, e.g. 3:41; the elapsed time on the left is computed from it. | 3:41 |
platform |
text | Station, app or playlist name next to the equaliser, e.g. Aurora Radio. | Aurora Radio |
accent |
colour | Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. default: #e879f9 | #e879f9 |
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": "now-playing",
"modifications": {
"track": "Afterglow Avenue",
"artist": "Lumen Harbor",
"progress": "0.42",
"duration": "3:41",
"platform": "Aurora Radio",
"album_art": "https://example.com/images/b09-album-neon.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/now-playing.png?artist=Lumen%20Harbor&duration=3%3A41&platform=Aurora%20Radio&progress=0.42&track=Afterglow%20Avenue&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/now-playing/copy" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
Podcast episode
Book launch
Music release
Podcast quote (audiogram)
Book recommendation
Podcast guest
Lyric card
Movie rating
Stream offline screen
All 10 Podcasts, music & books templates → · All templates →