lead-magnet

Lead magnet OG image template

A downloadable ebook, checklist or guide drawn as a 3D booklet, with the format word set huge and wide behind it.

Lead magnet Open Graph image template rendered by Shareglint
Lead magnet template at square size (1080×1080)
Lead magnet template at portrait size (1080×1350)
Lead magnet template at story size (1080×1920)
Lead magnet template at pinterest size (1000×1500)
Lead magnet template at youtube size (1280×720)

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 B2B marketers and creators promoting a gated download. The cover image goes on the front of the booklet and the booklet gets thicker with the page count; without a cover the front is typeset with the title in the accent colour. A long title shrinks, the subtitle keeps two lines and the button ends in an ellipsis. Wide frames put the text on the left, the booklet on the right and the format word along the bottom edge; square and vertical frames stand the booklet above the text with the word behind it.

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
title text Title of the download. default: Free guide The B2B Pricing Playbook
format text What it is: ebook, checklist, guide, template or report; shown huge and in the pill, translated in other render languages. one of: ebook | checklist | guide | template | report default: ebook ebook
subtitle text What is inside, up to two lines. 23 pricing pages taken apart, with the numbers behind every change
pages text Page count, e.g. 48 (shown as 48 pages), or your own text such as 12 checks. 48
cta_label text Button text, e.g. Download free. default: Download free Download free
url text Landing page address next to the button. northwind.dev/playbook
cover image URL Cover image, portrait (3:4). https://example.com/images/b07-ebook-cover.png
logo image URL Your logo, square. https://example.com/images/logo-northwind.png
accent colour Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. default: #4f46e5 #4f46e5
theme dark | light Colour scheme: dark or light. —

Render it with one request

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": "lead-magnet",
    "modifications": {
        "title": "The B2B Pricing Playbook",
        "format": "ebook",
        "subtitle": "23 pricing pages taken apart, with the numbers behind every change",
        "pages": "48",
        "cta_label": "Download free",
        "url": "northwind.dev/playbook",
        "cover": "https://example.com/images/b07-ebook-cover.png",
        "logo": "https://example.com/images/logo-northwind.png"
    }
}'

Or paste a signed URL into og:image

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/lead-magnet.png?cta_label=Download%20free&format=ebook&pages=48&subtitle=23%20pricing%20pages%20taken%20apart%2C%20with%20the%20numbers%20behind%20every%20change&title=The%20B2B%20Pricing%20Playbook&url=northwind.dev%2Fplaybook&s=YOUR_SIGNATURE">

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.

curl -X POST "https://shareglint.com/v1/templates/library/lead-magnet/copy" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

More Marketing & social proof templates

All 9 Marketing & social proof templates →  ·  All templates →