Skip to content
Sale or offer template filled with example text

Sale or offer template

Big discount, short headline, a code and an end date. For sales, coupons and limited-time offers.

Sizes

  • link 1200×630
  • square 1080×1080
  • portrait 1080×1350
  • story 1080×1920

Ways to make it

  • An HTTP request from n8n, Make, Zapier or your code (API)
  • A signed image URL, for Open Graph tags and email (signed URLs)
  • A CSV file or Google Sheet, many images at once (bulk)

Fields

FieldTypeLimitNotes
discountrequiredtext12 charactersDiscount. Shown huge, e.g. "30% OFF" or "BOGO"
headlinerequiredtext80 charactersHeadline
detailstext140 charactersDetails
codetext24 charactersCode. Shown as "Code: …"
endstext40 charactersEnd date text. e.g. "Ends Sunday"
ctatext28 charactersButton text. Default: Shop the sale
brand_nametext40 charactersBrand name. Your business name. brand=default fills it from your brand kit.
logo_urlimage (https URL or sample:)—Logo. Square PNG or JPEG works best. https URL, a built-in sample, or your brand kit logo with brand=default.
brand_colorcolour #RRGGBB—Brand colour. Default: #D7263D
fontinter / fraunces / grotesk / mono—Headline font. inter (clean sans), fraunces (serif), grotesk (bold sans), mono (typewriter). Default: grotesk

Request for the image above

curl https://postimager.com/v1/renders?wait=20 \
  -H "Authorization: Bearer $POSTIMAGER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "template": "sale-offer",
  "size": "square",
  "format": "png",
  "variables": {
    "brand_color": "#D7263D",
    "font": "grotesk",
    "brand_name": "Kiln & Clay",
    "discount": "30% OFF",
    "headline": "The winter studio sale",
    "details": "Every mug, bowl and planter. In store and online.",
    "code": "WINTER30",
    "ends": "Ends Sunday",
    "cta": "Shop the sale"
  }
}'

More offers templates