返回顶部
b

boosta-long-to-shorts

Create, monitor, and troubleshoot Boosta API video-processing jobs from natural-language requests. Use this skill when a user asks to generate clips from a video URL via Boosta, check job status, fetch completed clip URLs, inspect usage/credits, choose the correct video_type, or handle Boosta API errors and retry logic.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
328
下载量
0
收藏
概述
安装方式
版本历史

boosta-long-to-shorts

# 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 1. Validate required inputs: - `video_url` (required) - `video_type` (required, see [references/video-types.md](references/video-types.md)) - `config_name` (optional) 2. Validate credentials: - Require `BOOSTA_API_KEY` in environment. - Never print or store raw API keys in output. 3. Submit job: - Endpoint: `POST /api/v1/jobs` - Base URL: `https://boosta.pro/api/v1` - Body: `video_url`, `video_type`, optional `config_name` 4. Poll status: - Endpoint: `GET /api/v1/jobs/:job_id` - Stop when `status=completed` or `status=failed`. - If completed, return `clip_urls`. 5. Handle API errors: - `401`: invalid or missing key - `400`: invalid payload (missing `video_url`, invalid `video_type`) - `403`: no credits - `429`: rate limited (respect `retry_after`) - `active_job_exists`: reuse returned `job_id` and continue polling ## Commands Use the bundled script: ```bash python3 scripts/boosta_job.py --help ``` Submit and wait for completion: ```bash 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: ```bash python3 scripts/boosta_job.py status --job-id "job_1234567890_abc123" ``` List completed jobs: ```bash python3 scripts/boosta_job.py list ``` Check usage: ```bash python3 scripts/boosta_job.py usage ``` ## Output Contract When user asks to create clips, return: - `job_id` - final `status` - `clips_count` if present - `clip_urls` when completed - clear next step if processing/failed When user asks only to check status, return: - `job_id` - current `status` - `progress`/`step` if present ## Decision Rules - If user does not provide `video_type`, infer it with [references/video-types.md](references/video-types.md) and state inference explicitly. - If API returns `active_job_exists`, continue with provided `job_id` instead of creating another job. - On `429`, wait `retry_after` seconds (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](references/api-reference.md) - Video type selection: [references/video-types.md](references/video-types.md) - Error handling playbook: [references/errors.md](references/errors.md)

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 boosta-long-to-shorts-1776294749 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 boosta-long-to-shorts-1776294749 技能

通过命令行安装

skillhub install boosta-long-to-shorts-1776294749

下载 Zip 包

⬇ 下载 boosta-long-to-shorts v1.0.0

文件大小: 9.42 KB | 发布时间: 2026-4-16 18:39

v1.0.0 最新 2026-4-16 18:39
Fresh re-publish after cleanup.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部