360 Secure SkillHub
360 安全技能中心

Boosta Long to Shorts

核心功能包括提交长转短视频任务、监控任务状态、获取成品链接、查询使用额度及处理API常见错误。典型场景:用户需从视频URL生成短视频、查询任务进度、获取剪辑链接或排查API故障。输入为自然语言请求,需提供视频URL,视频类型可自动推断;依赖Boosta API密钥,输出含任务ID、状态、剪辑链接等结构化信息,也支持命令行脚本操作。

hundevmode
hundevmode
热度 56.77
最近更新 2026-05-11 17:27:36
分类:自动化依赖:代码执行 / 第三方 API应用场景:自动化脚本 / 视频编辑 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add boosta-long-to-shorts
Metadata
name
boosta-long-to-shorts
description
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.
compatibility
Requires network access and valid Boosta API key
metadata
{"author":"hundevmode","version":"1.0","clawdbot":{"homepage":"https://boosta.pro","source":"https://github.com/hundevmode/boosta-long-to-shorts-openclaw-skill","requires":{"env":["BOOSTA_API_KEY"]}}}

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:
  1. Validate credentials:
  • Require BOOSTA_API_KEY in environment.
  • Never print or store raw API keys in output.
  1. Submit job:
  • Endpoint: POST /api/v1/jobs
  • Base URL: https://boosta.pro/api/v1
  • Body: video_url, video_type, optional config_name
  1. Poll status:
  • Endpoint: GET /api/v1/jobs/:job_id
  • Stop when status=completed or status=failed.
  • If completed, return clip_urls.
  1. 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:

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_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 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