# Invitation OG image template

An invitation card sliding out of an open envelope in your accent colour, with the occasion, date, venue, a short note and an RSVP line.

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

For parties, openings, launch nights, baby showers and christenings sent from event apps and venues. The occasion shrinks to fit without breaking words; the note keeps two to three lines and ends with an ellipsis. A photo becomes a round sticker beside the card on wide frames and a seal over the envelope flap on vertical ones; without one, the seal shows the first letter of the occasion.

## 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 |
|---|---|---|---|
| `occasion` | text | What the invitation is for, e.g. Housewarming party. (default: You are invited) | Housewarming party |
| `host` | text | Who invites, the small line above, e.g. Anna & Leo invite you to our. | Anna & Leo invite you to our |
| `date` | text | Date and time as text, e.g. Saturday, May 16 · 7 pm. | Saturday, May 16 · 7 pm |
| `venue` | text | Address or venue. | 14 Orchard Lane, Bristol |
| `details` | text | A short note: dress code, what to bring, what to expect. | Drinks, snacks and a tour of the new place. Bring a friend and your appetite. |
| `rsvp` | text | RSVP line in the pill, e.g. RSVP by May 9. | RSVP by May 9 |
| `image` | image URL | Photo for the round sticker or seal. | https://example.com/images/house-modern.jpg |
| `accent` | colour | Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. (default: #0f766e) | #0f766e |
| `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": "invitation",
    "modifications": {
        "occasion": "Housewarming party",
        "host": "Anna & Leo invite you to our",
        "date": "Saturday, May 16 · 7 pm",
        "venue": "14 Orchard Lane, Bristol",
        "details": "Drinks, snacks and a tour of the new place. Bring a friend and your appetite.",
        "rsvp": "RSVP by May 9",
        "image": "https://example.com/images/house-modern.jpg"
    }
}'
```

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