# Sale pulse OG image template

A discount sticker that beats over turning rays, a shining button and a ticker running along the bottom.

- Slug: `animated-sale-pulse`
- Preview (real render): https://shareglint.com/storage/template-previews/animated-sale-pulse.jpg
- Page: https://shareglint.com/en/templates/animated-sale-pulse

For flash sales and promo codes. Everything moves in a loop that closes seamlessly, so the GIF never jumps when it starts over. A still format renders the sticker, title and button as a regular sale card.

## 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 |
|---|---|---|---|
| `discount` | text | Discount on the sticker, e.g. -30%. (default: 50%) | 70% |
| `off_label` | text | Word under the discount, e.g. OFF. (default: OFF) | — |
| `title` | text | The main headline. (default: Flash sale) | — |
| `subtitle` | text | One line under the title, e.g. Everything sitewide, today only. | Everything sitewide, today only |
| `ends` | text | When the sale ends, on a chip, e.g. Ends tonight at 23:59. | Ends tonight at 23:59 |
| `cta` | text | Call to action on the button. (default: Shop the sale) | — |
| `site` | text | Your domain or a short URL. | aurora-audio.com |
| `accent` | colour | Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. (default: #facc15) | #facc15 |
| `theme` | dark | light | Colour scheme: dark or light. | — |

## Render it with one request

```bash
curl -X POST "https://shareglint.com/v1/images?wait=true" \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "animated-sale-pulse",
    "modifications": {
        "discount": "70%",
        "subtitle": "Everything sitewide, today only",
        "ends": "Ends tonight at 23:59",
        "site": "aurora-audio.com"
    }
}'
```

## 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.

```bash
curl -X POST "https://shareglint.com/v1/templates/library/animated-sale-pulse/copy" -H "Authorization: Bearer sk_live_YOUR_KEY"
```
