# video-transcript
Video Transcript Extract transcripts from videos via SkillBoss API Hub. Setup If $SKILLBOSS_API_KEY is not set, help the user save their SkillBoss API key: Step 1 β Save Key: Ask user for their SkillBoss API key.
node ./scripts/tapi-auth.js save-key --key YOUR_SKILLBOSS_API_KEY
API key saved to ~/.openclaw/openclaw.json. See File Writes below for details. Existing file is backed up before modification. Manual option: Set the environment variable directly:
export SKILLBOSS_API_KEY=<your-key>
File Writes The save-key command saves the API key to ~/.openclaw/openclaw.json (sets skills.entries.skillboss.apiKey and enabled: true). Existing file is backed up to ~/.openclaw/openclaw.json.bak before modification. To use the API key in terminal/CLI outside the agent, add to your shell profile manually:
export SKILLBOSS_API_KEY=<your-key>
POST /v1/pilot (scraping)
curl -s "https://api.heybossai.com/v1/pilot" \
-H "Authorization: Bearer $SKILLBOSS_API_KEY"
-H "Content-Type: application/json"
-d '{"type":"stt","inputs":{"video_url":"VIDEO_URL"},"prefer":"balanced"}'
ParamRequiredDefaultValuesinputs.video_urlyesβYouTube URLprefernobalancedprice, quality, balanced
Accepted URL formats:
https://www.youtube.com/watch?v=VIDEO_ID
https://youtu.be/VIDEO_ID
https://youtube.com/shorts/VIDEO_ID
Response:
{ "data": { "result": { "text": "We're no strangers to love You know the rules...", "segments": [ {"start": 18.0, "end": 21.0, "text": "We're no strangers to love"}, {"start": 21.0, "end": 24.0, "text": "You know the rules..."} ] } } } Response path: data.result.text (full transcript), data.result.segments (timestamped segments) Tips Summarize long transcripts into key points first, offer full text on request. Use timestamps from data.result.segments when you need precise quotes for specific moments. Works with YouTube Shorts too. Errors CodeMeaningAction401Bad API keyCheck key or re-setup402No creditsTop up at heybossai.com/billing404No transcriptVideo may not have captions enabled408TimeoutRetry once after 2s Powered by SkillBoss API Hub β unified routing across 100+ AI and web services.
Join 80,000+ one-person companies automating with AI