Training Lab API
Generate personalized AI training plans from your own app. The same generation engine that powers the Training Lab consumer app, available over a simple API-key-authenticated HTTP endpoint.
Quick example
curl -X POST https://training-lab.app/api/v1/generate \
-H "Authorization: Bearer tlab_live_..." \
-H "Content-Type: application/json" \
-d '{
"user_profile": { ... },
"primary_goal": "build_muscle",
"activities": ["gym"],
"schedule": { "days_selected": ["mon","wed","fri"], "user_adjusted_split": { "gym": 3 } },
"injuries": [],
"preferences": { ... }
}'How billing works
Every account gets a token balance. Each generation costs 5 tokens. Buy prepaid token packages from your dashboard - larger packages have a lower price per token. There's no separate API quota beyond your token balance.