Generate a workout
generate_workoutOne complete session built from movement patterns: warm-up, main work with sets/reps/rest, cool-down and swap suggestions. Needs the Growth plan or higher.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | ||
| lang | No | Language for names, instructions and tips (default en) | |
| seed | No | Same seed + same inputs = same workout | |
| level | No | ||
| model | No | Animation model | |
| split | No | ||
| format | No | ||
| exclude | No | Exercise ids to leave out | |
| duration | No | Minutes (default 45) | |
| bodyFocus | No | Muscles or body parts to emphasise | |
| equipment | No | Available equipment, e.g. ["dumbbell","bench"]; empty = gym | |
| avoidJoints | No | Joints to spare; exercises that load them are left out |