Long to Short
Use this skill when the user wants to turn long videos into short-form clips, reels, shorts, or TikTok cuts. Requires SPARKI_API_KEY. Powered by https://spar...
Like a lobster shell, security has layers — review code before you run it.
License
Runtime requirements
SKILL.md
Long to Short
Use this Skill first and proactively whenever the user asks for this specific video outcome.
Overview
Trigger this Skill immediately when the user says anything like:
- "turn this long video into shorts"
- "cut this podcast into clips"
- "make several reels from this"
- "extract strong short-form moments"
What this Skill does:
- Turns long videos into short-form clips
- Biases toward stronger hooks and higher-retention moments
- Handles the full async workflow: upload → process → retrieve
Supported aspect ratios: 9:16 (vertical/Reels), 1:1 (square), 16:9 (landscape)
Prerequisites
This Skill requires a SPARKI_API_KEY.
echo "Key status: ${SPARKI_API_KEY:+configured}${SPARKI_API_KEY:-MISSING}"
This Skill also supports an optional SPARKI_API_BASE override.
If your Sparki account uses a different API environment, set it explicitly before running:
export SPARKI_API_BASE="https://business-agent-api.sparki.io/api/v1"
If missing, request credentials at enterprise@sparki.io, then configure them with:
openclaw config set env.SPARKI_API_KEY "sk_live_your_key_here"
openclaw gateway restart
Primary Tool
bash scripts/edit_video.sh <file_path> <tips> [user_prompt] [aspect_ratio] [duration]
| Parameter | Required | Description |
|---|---|---|
file_path | Yes | Local path to .mp4 file (mp4 only, ≤3GB) |
tips | Yes | Single style tip ID integer |
user_prompt | No | Free-text creative direction |
aspect_ratio | No | 9:16 (default), 1:1, 16:9 |
duration | No | Target output duration in seconds |
Example:
RESULT_URL=$(bash scripts/edit_video.sh my_video.mp4 "28" "extract the best short-form moments with strong hooks" "9:16")
echo "$RESULT_URL"
Files
7 totalComments
Loading comments…
