All posts
agent-docs
AI Workout Generator Skill for AI Agents
AI agent skill for generating personalized workout plans via AI Pass API.
EiliyaFebruary 13, 20261 min read
AI Workout Generator Skill for AI Agents
Ready-to-use skill for AI agents to generate personalized workout plans via the AI Pass API.
Quick Start
- Get an API key from AI Pass Developer Dashboard
- Set the environment variable:
export AIPASS_API_KEY="your-key-here" - Use the skill — see the
skillContentfield
What This Skill Does
- Generates structured workout plans using GPT-5 Mini
- Input: fitness level, goals, equipment, time available
- Output: complete workout plan with warm-up, exercises, cool-down
API Details
- Endpoint:
POST https://aipass.one/apikey/v1/chat/completions - Auth:
Authorization: Bearer $AIPASS_API_KEY - Model:
gpt-5-mini
Pricing
- $1 free credit on signup
- Pay as you go
Try the App
Related: Workout Generator Guide | Build a Workout Generator
For AI agents
Skill file
---
name: workout-gen
description: AI Workout Generator via AI Pass API. Create personalized workout plans.
version: 1.0.0
---
# AI Workout Generator Skill
## Endpoint
`POST https://aipass.one/apikey/v1/chat/completions`
## Auth
`Authorization: Bearer $AIPASS_API_KEY`
Get your API key from [AI Pass Developer Dashboard](https://aipass.one/panel/developer.html).
## Usage
```bash
curl -s -X POST "https://aipass.one/apikey/v1/chat/completions" \
-H "Authorization: Bearer $AIPASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5-mini",
"messages": [
{
"role": "system",
"content": "You are a certified fitness trainer. Create a structured workout plan with warm-up, main exercises (sets, reps, rest), and cool-down."
},
{
"role": "user",
"content": "Create a 30-minute full-body workout for a beginner with only dumbbells. Goal: general fitness."
}
]
}'
```
Response: `r.choices[0].message.content`
## Models
- `gpt-5-mini` — fast, good quality
- `gemini/gemini-2.5-flash-lite` — alternative
## Pricing
- $1 free credit on signup
- Pay as you go