testimonial-stars

Star review OG image template

A star rating with the score, a review in a speech bubble and the reviewer below.

Star review Open Graph image template rendered by Shareglint
Star review template at square size (1080×1080)
Star review template at portrait size (1080×1350)
Star review template at story size (1080×1920)
Star review template at pinterest size (1000×1500)
Star review 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 review pages, landing pages and social proof posts. Stars fill to the exact score — 4.7 shows four and seven tenths — and the review sits in a speech bubble that points at the person who wrote it. Light by default.

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
quote text The review text. Quotation marks are added for you. default: Customer review Setup took ten minutes and our support tickets about broken previews dropped to zero. The best tool we added this year.
rating text Score from 0 to 5, decimals allowed, e.g. 4.9. default: 5 4.9
rating_label text Line under the stars, e.g. Rated by 2,300 teams. Rated by 2,300 teams
name text Reviewer's name. Sofia Ramos
role text Role or job title. Head of Growth
company text Company name. Northwind
site text Your domain or a short URL. northwind.dev
avatar image URL Reviewer's photo. https://example.com/images/avatar-woman2.jpg
accent colour Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. default: #f59e0b #f59e0b
theme dark | light Colour scheme: dark or light. default: 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": "testimonial-stars",
    "modifications": {
        "quote": "Setup took ten minutes and our support tickets about broken previews dropped to zero. The best tool we added this year.",
        "rating": "4.9",
        "rating_label": "Rated by 2,300 teams",
        "name": "Sofia Ramos",
        "role": "Head of Growth",
        "company": "Northwind",
        "site": "northwind.dev",
        "avatar": "https://example.com/images/avatar-woman2.jpg"
    }
}'

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/testimonial-stars.png?company=Northwind&name=Sofia%20Ramos&quote=Setup%20took%20ten%20minutes%20and%20our%20support%20tickets%20about%20broken%20previews%20dropped%20to%20zero.%20The%20best%20tool%20we%20added%20this%20year.&rating=4.9&rating_label=Rated%20by%202%2C300%20teams&role=Head%20of%20Growth&site=northwind.dev&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/testimonial-stars/copy" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

More OG image templates

All templates →