prompt-card

AI prompt card OG image template

An AI prompt typed into a chat input with a caret and a send button, the generated result beside it in a frame stamped with the tool's logo.

AI prompt card Open Graph image template rendered by Shareglint
AI prompt card template at square size (1080×1080)
AI prompt card template at portrait size (1080×1350)
AI prompt card template at story size (1080×1920)
AI prompt card template at pinterest size (1000×1500)
AI prompt card 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 AI tools, prompt libraries and creators sharing one prompt per card. A long prompt shrinks to fit and then ends in an ellipsis; without an output image the frame shows a soft gradient with a spark, as if the result were still rendering, and without a tool logo the tool name gets a monogram. Wide frames set the input on the left and the result on the right; square and vertical frames put the result on top and the input below.

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
prompt text The prompt text, shown in the chat input. default: Your prompt A misty pine forest at dawn, soft light falling through the trees, muted greens, wide angle, light film grain
tool text Name of the AI tool, above the input. Lumen Studio
category text Category chip next to the tool name, e.g. Landscape. Landscape
author text Who wrote the prompt, in the input's toolbar, e.g. @mira.makes. @mira.makes
tool_logo image URL Tool logo, square; also stamped on the result. https://example.com/images/b06-icon-spark.png
output_image image URL The generated image; it covers the result frame. https://example.com/images/forest.jpg
accent colour Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. default: #ec4899 #ec4899
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": "prompt-card",
    "modifications": {
        "prompt": "A misty pine forest at dawn, soft light falling through the trees, muted greens, wide angle, light film grain",
        "tool": "Lumen Studio",
        "category": "Landscape",
        "author": "@mira.makes",
        "tool_logo": "https://example.com/images/b06-icon-spark.png",
        "output_image": "https://example.com/images/forest.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/prompt-card.png?author=%40mira.makes&category=Landscape&prompt=A%20misty%20pine%20forest%20at%20dawn%2C%20soft%20light%20falling%20through%20the%20trees%2C%20muted%20greens%2C%20wide%20angle%2C%20light%20film%20grain&tool=Lumen%20Studio&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/prompt-card/copy" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

More Developer templates

All 11 Developer templates →  ·  All templates →