# Giveaway winners OG image template

Winners announced on a stage: each in their own spotlight, a round photo over a name plate, confetti in the air.

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

For brands and giveaway apps posting the result of a contest. One to five winners stand on the stage; more are counted next to the prize. A winner without a photo gets their initials on an accent circle, long names and handles end in an ellipsis. Wide frames set all winners in one row; square and vertical frames break four or five into two rows, and three on a vertical frame put the first one on top.

## 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 |
|---|---|---|---|
| `title` | text | Heading above the stage, e.g. And the winners are…. (default: And the winners are…) | And the winners are… |
| `winners` | text | Winners separated by `;`, each as name\|handle, e.g. Lena Sørensen\|@lenaknits;Tomás Ruiz\|@tomas.makes. Five are shown. | Lena Sørensen\|@lenaknits;Tomás Ruiz\|@tomas.makes;Aiko Tanaka\|@aiko_draws |
| `prize` | text | What they won, in the pill at the bottom. | Each wins a pair of Studio Wireless Headphones |
| `avatar_1` | image URL | Photo of the first winner. | https://example.com/images/avatar-woman.jpg |
| `avatar_2` | image URL | Photo of the second winner. | https://example.com/images/avatar-man.jpg |
| `avatar_3` | image URL | Photo of the third winner. | https://example.com/images/avatar-woman2.jpg |
| `avatar_4` | image URL | Photo of the fourth winner. | — |
| `avatar_5` | image URL | Photo of the fifth winner. | — |
| `logo` | image URL | Brand logo next to the title, 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-winner",
    "modifications": {
        "title": "And the winners are…",
        "winners": "Lena Sørensen|@lenaknits;Tomás Ruiz|@tomas.makes;Aiko Tanaka|@aiko_draws",
        "prize": "Each wins a pair of Studio Wireless Headphones",
        "avatar_1": "https://example.com/images/avatar-woman.jpg",
        "avatar_2": "https://example.com/images/avatar-man.jpg",
        "avatar_3": "https://example.com/images/avatar-woman2.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-winner/copy" -H "Authorization: Bearer sk_live_YOUR_KEY"
```
