# Giveaway OG image template

A contest post: the prize in a round window on a sunburst, numbered entry steps and the end date on a tear-off tab.

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

For brands, creators, stores and giveaway apps announcing a contest. Up to four steps are numbered, more are counted ("+2 more"), and long steps end in an ellipsis. A date and time in `ends_at` goes on the tab as Nov 8 over 23:59; text Carbon cannot read is shown as written. Without a prize photo the window shows a gift. Wide frames put the burst on the left and the tab on the bottom edge; square frames put the burst on top, and vertical frames hang the tab from the top edge.

## 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 |
|---|---|---|---|
| `prize` | text | What can be won, the headline. (default: Win a prize) | Win a pair of Studio Wireless Headphones |
| `label` | text | Word in the accent block, e.g. Giveaway or Win. (default: Giveaway) | Giveaway |
| `steps` | text | Entry steps separated by `;`, e.g. Follow @brand;Like this post;Tag two friends. Four are shown. | Follow @auroraaudio;Like this post;Tag two friends who need better sound |
| `ends_at` | text | When it closes, e.g. 2026-11-08 23:59. | 2026-11-08 23:59 |
| `sponsor` | text | Brand running the giveaway, next to the logo. | Aurora Audio |
| `prize_image` | image URL | Prize photo; cropped to a circle. | https://example.com/images/headphones.jpg |
| `logo` | image URL | Sponsor logo, square. | https://example.com/images/b07-aurora.png |
| `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. | — |

## 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": "giveaway",
    "modifications": {
        "prize": "Win a pair of Studio Wireless Headphones",
        "label": "Giveaway",
        "steps": "Follow @auroraaudio;Like this post;Tag two friends who need better sound",
        "ends_at": "2026-11-08 23:59",
        "sponsor": "Aurora Audio",
        "prize_image": "https://example.com/images/headphones.jpg",
        "logo": "https://example.com/images/b07-aurora.png"
    }
}'
```

## 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/giveaway/copy" -H "Authorization: Bearer sk_live_YOUR_KEY"
```
