# Workout of the day OG image template

The gym's whiteboard: exercises down the board with the reps highlighted in a bold right-hand column and the format as a big stamp.

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

For gyms, box owners, coaches and fitness apps posting the daily WOD or class plan. Up to eight rows fit; a longer list shows seven and a "+N more" row. Exercise names and reps end in an ellipsis, the title shrinks to fit, a short format (AMRAP 20) stays one heavy line while a longer one wraps to two, and without a `photo` the side shows rubber floor tiles with a hazard stripe. Wide frames put the title and stamp in a column beside the board; square and vertical frames put them over the board, which fills the rest of the frame.

## 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 | Workout name, in heavy capitals. (default: Workout of the day) | Engine Builder |
| `format` | text | Format on the stamp, e.g. AMRAP 20, EMOM 12 or For time. | AMRAP 20 |
| `exercises` | text | Exercises separated by `;`, each as name\|reps, e.g. Wall balls\|20;Box jumps\|10;Row\|250 m. Up to eight rows. | Wall balls\|20;Kettlebell swings\|15;Box jumps\|10;Pull-ups\|8;Burpees\|6;Row\|250 m |
| `date` | text | Day as you want it shown, e.g. Mon, Oct 27. | Mon, Oct 27 |
| `coach` | text | Coach or class name at the foot. | Coach Ana Ruiz |
| `photo` | image URL | Gym photo behind the title, darkened. | — |
| `logo` | image URL | Gym logo, square. | https://example.com/images/b08-gym.png |
| `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": "workout-of-the-day",
    "modifications": {
        "title": "Engine Builder",
        "format": "AMRAP 20",
        "exercises": "Wall balls|20;Kettlebell swings|15;Box jumps|10;Pull-ups|8;Burpees|6;Row|250 m",
        "date": "Mon, Oct 27",
        "coach": "Coach Ana Ruiz",
        "logo": "https://example.com/images/b08-gym.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/workout-of-the-day/copy" -H "Authorization: Bearer sk_live_YOUR_KEY"
```
