Boosta Video Api
Overview
Use this skill to execute end-to-end Boosta API workflows: submit job, poll until completion, return clip URLs, and handle common API failures. Prefer the bundled script for deterministic execution and consistent error handling.
Quick Start Workflow
- Validate required inputs:
video_url(required)video_type(required, see references/video-types.md)config_name(optional)
- Validate credentials:
- Require
BOOSTA_API_KEYin environment. - Never print or store raw API keys in output.
- Submit job:
- Endpoint:
POST /api/v1/jobs - Base URL:
https://boosta.pro/api/v1 - Body:
video_url,video_type, optionalconfig_name
- Poll status:
- Endpoint:
GET /api/v1/jobs/:job_id - Stop when
status=completedorstatus=failed. - If completed, return
clip_urls.
- Handle API errors:
401: invalid or missing key400: invalid payload (missingvideo_url, invalidvideo_type)403: no credits429: rate limited (respectretry_after)active_job_exists: reuse returnedjob_idand continue polling
Commands
Use the bundled script:
python3 scripts/boosta_job.py --help
Submit and wait for completion:
export BOOSTA_API_KEY="sk_live_..."
python3 scripts/boosta_job.py submit \
--video-url "https://youtube.com/watch?v=xxx" \
--video-type "conversation" \
--config-name "My Config" \
--wait
Check status:
python3 scripts/boosta_job.py status --job-id "job_1234567890_abc123"
List completed jobs:
python3 scripts/boosta_job.py list
Check usage:
python3 scripts/boosta_job.py usage
Output Contract
When user asks to create clips, return:
job_id- final
status clips_countif presentclip_urlswhen completed- clear next step if processing/failed
When user asks only to check status, return:
job_id- current
status progress/stepif present
Decision Rules
- If user does not provide
video_type, infer it with references/video-types.md and state inference explicitly. - If API returns
active_job_exists, continue with providedjob_idinstead of creating another job. - On
429, waitretry_afterseconds (fallback to 60 if missing) and retry. - Keep polling interval between 10 and 20 seconds to avoid spam.
- Avoid parallel job submission per key because API allows one active job at a time.
References
- API overview and endpoint contracts: references/api-reference.md
- Video type selection: references/video-types.md
- Error handling playbook: references/errors.md