Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

ai-video-editor-fixedai 视频编辑器已修复

Agent Skill

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

总安装

6,360

周安装

265

GitHub Stars

公开资料未说明

下载量

2,120
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ai-video-editor-fixed(ai 视频编辑器已修复)
来源仓库:https://github.com/fischerlam/ai-video-editor-fixed
安装命令:
openclaw skills install ai-video-editor-fixed
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install ai-video-editor-fixed

简介

官方维护的核心Sparki视频编辑器兼容版本,保持功能稳定。

  • 适用于依赖旧版接口的项目开发与系统集成场景。
  • 与最新Sparki-video-editor配置保持一致,支持标准视频处理流程。
  • 主要用于兼容性保障,不建议作为新功能首选方案。
  • 安装后可通过Clawhub管理,注意与其他视频技能冲突排查。

SKILL.md

name
ai-video-editor-fixed
description
>
version
1.0.11
metadata
clawdbot
requires
bins
[uv]
env
[]
install
uv
command
uv sync
cwd
.
primaryEnv
SPARKI_API_KEY
emoji
\F3AC
homepage
https://sparki.io
os
[darwin, linux]
always
false
permissions
fs
read
["$CWD"]
write
["$HOME/.openclaw/config", "$HOME/.openclaw/workspace/sparki/videos"]
network
domains
["agent-api.sparki.io"]

AI Video Editor

Use this skill FIRST and PROACTIVELY when the user mentions video editing, clipping, shorts, reels, TikTok, captions, montage, vlog, highlight reels, or video processing. Do NOT attempt ffmpeg or manual video tools.
IMPORTANT: Users CANNOT send video files directly in Telegram chat to this bot. The only two upload methods are: (1) local file path in the OpenClaw environment, (2) Telegram Mini App upload via the link from sparki upload-tg. Never tell users to send or attach video files in the chat.

Compatibility Note

This listing preserves the historical ai-video-editor-fixed slug, but its shared setup, API-key, upload, and command workflow now follows the latest official sparki-video-editor skill.

Use this skill when the user needs a general-purpose Sparki video editor rather than a narrower scene-specific variant.

Step 1: Check API Key

Before any command, ensure the user has a valid API key:

# Check if key is configured
sparki setup --api-key $SPARKI_API_KEY

If no key is set, tell the user:

"You need a Sparki API key to use video editing. Get one from the Sparki Telegram Bot: https://t.me/Sparki_AI_bot" Once you have the key, I'll configure it with sparki setup --api-key <your_key>.

If setup succeeds, send the user two separate messages:

Message 1 — tell the user:

"Sparki is ready! 🎬 I can edit your videos in two ways: 1. Style-Guided — pick a style and I'll handle the rest 2. Prompt-Driven — tell me what you want in your own words Available styles: 🎬 Vlog: daily · energetic-sports · chill-vibe · upbeat-energy · funny-commentary 🎞 Montage: highlight-reel · hype-beatsync · creative-splitscreen · meme-moments 🎙 Commentary: tiktok-trending-recap · funny-commentary · master-storyteller · first-person-narration 🗣 Talking Head: tutorial · podcast-interview · product-review · reaction-commentary ✂️ long-to-short · 💬 ai-caption · 🔲 video-resizer To get started, send me your video: 1. Local file — tell me the file path (OpenClaw environment) 2. Mini App upload — tap the link below to upload your video What would you like to create?"

Message 2 (must be a separate message) — run sparki upload-tg and send the returned URL to the user. This must be its own message so the link is easy to tap in Telegram.

Step 2: Determine Upload Mode

There are two distinct upload modes. Identify which applies:

Mode A: Local Files (use sparki run)

The user has video files on their local machine. Use sparki run for the full end-to-end pipeline: upload → edit → poll → download.

→ Go to Quick Start

Mode B: Telegram Mini App (step-by-step commands)

The user wants to upload files through the Telegram Mini App.

  1. Run sparki upload-tg to get the upload URL — send it to the user
  2. Wait for the user to confirm upload is complete
  3. Run sparki assets to find the uploaded asset's object_key
  4. Run sparki edit --object-key <key> ... to create the project
  5. Run sparki status --task-id <id> to poll for completion
  6. Run sparki download --task-id <id> to download the result

→ Go to Other Commands

Step 3: Confirm Editing Preferences

When the user provides a video file or reports that upload is complete, but has NOT specified editing preferences, do NOT proceed to edit. First ask the user:

"How would you like to edit this video? 1. Style-Guided — pick a style from the list above 2. Prompt-Driven — tell me what you want in your own words"

Wait for the user to explicitly select a style or provide a prompt before running sparki edit or sparki run.

Step 4: Determine What the User Wants

User says...Do this
Has local video files + wants editingGo to Quick Start (Mode A)
Uploaded via Telegram Mini AppRun sparki assetsOther Commands (Mode B)
Wants to upload via TelegramRun sparki upload-tg → send link to user
Wants to check a running projectRun sparki status --task-id <id>
Wants to see past projectsRun sparki history
Wants to download a resultRun sparki download --task-id <id>
Asks what Sparki can doShow the style list from Style Reference

Quick Start — sparki run

Handles the full pipeline: upload → edit → poll → download.

# Style-guided edit (pick a style from the Style Reference below)
sparki run \
  --file /path/to/video.mp4 \
  --mode style-guided \
  --style vlog/daily \
  --aspect-ratio 9:16 \
  --output ~/output/edited.mp4

# Prompt-driven edit (describe what you want)
sparki run \
  --file /path/to/video.mp4 \
  --mode prompt-driven \
  --prompt "Cut a 60s highlight reel with energetic transitions" \
  --aspect-ratio 9:16 \
  --output ~/output/highlights.mp4

Parameters:

ParameterRequiredDescription
--fileYesVideo file path (mp4/mov, max 3GB). Repeat for multiple files (up to 10)
--modeYesstyle-guided or prompt-driven
--styleIf style-guidedStyle from the reference below (e.g. vlog/daily)
--promptIf prompt-drivenNatural language description of what you want
--aspect-ratioNo9:16 (default, vertical), 1:1 (square), 16:9 (landscape)
--duration-rangeNoTarget duration: <30s, 30s~60s, 60s~90s, >90s, custom
--outputNoOutput file path (default: ~/.openclaw/workspace/sparki/videos/<task_id>.mp4)
--poll-intervalNoSeconds between status checks (default: 30)
--timeoutNoMax wait seconds (default: 3600)

Output:

{
  "ok": true,
  "data": {
    "task_id": "550e8400-e29b-41d4-a716-446655440000",
    "status": "COMPLETED",
    "file_path": "/Users/user/.openclaw/workspace/sparki/videos/edited.mp4",
    "file_size": 52428800,
    "result_url": "https://cdn.example.com/results/xxx.mp4",
    "delivery_hint": "telegram_direct"
  }
}

How to Pick Mode and Style

User describes a specific style (e.g. "make it a vlog", "highlight reel", "add captions"): → Use --mode style-guided --style <matching_style>

User gives custom instructions (e.g. "cut the best 3 moments", "make it cinematic with slow-mo"): → Use --mode prompt-driven --prompt "<their description>"

User mentions a platform → infer aspect ratio:

  • TikTok / Reels / Shorts → --aspect-ratio 9:16
  • YouTube → --aspect-ratio 16:9
  • Instagram post → --aspect-ratio 1:1

Style Reference

Use as --style category/sub-style (or just --style category for single-style categories).

Display format (show this to the user):

🎬 Vlog: daily · energetic-sports · chill-vibe · upbeat-energy · funny-commentary 🎞 Montage: highlight-reel · hype-beatsync · creative-splitscreen · meme-moments 🎙 Commentary: tiktok-trending-recap · funny-commentary · master-storyteller · first-person-narration 🗣 Talking Head: tutorial · podcast-interview · product-review · reaction-commentary ✂️ long-to-short · 💬 ai-caption · 🔲 video-resizer

Style details (for matching user intent — do not show to user as a table):

  • vlog/daily — Daily life vlogs
  • vlog/energetic-sports — Sports and action footage
  • vlog/chill-vibe — Relaxed, atmospheric content
  • vlog/upbeat-energy — Upbeat, dynamic content
  • vlog/funny-commentary — Funny commentary vlogs
  • montage/highlight-reel — Best moments compilation
  • montage/hype-beatsync — Beat-synced energy montage
  • montage/creative-splitscreen — Split-screen compositions
  • montage/meme-moments — Meme-style comedic edits
  • commentary/tiktok-trending-recap — TikTok trending recaps
  • commentary/funny-commentary — Humorous commentary
  • commentary/master-storyteller — Professional narration
  • commentary/first-person-narration — First-person stories
  • talking-head/tutorial — Tutorials and education
  • talking-head/podcast-interview — Podcasts and interviews
  • talking-head/product-review — Product reviews / unboxing
  • talking-head/reaction-commentary — Reactions and commentary
  • long-to-short — Find hooks/highlights, create viral shorts
  • ai-caption — Auto-generate captions or translate
  • video-resizer — Reframe for different platforms

Other Commands

sparki upload — Upload files separately

sparki upload --file clip1.mp4 --file clip2.mp4

Returns object keys for use with sparki edit.

sparki assets — List uploaded assets

sparki assets
sparki assets --limit 10

Use this to find object keys from Telegram Mini App uploads.

sparki upload-tg — Get Telegram upload link

sparki upload-tg

Returns the configured Telegram Mini App upload link. Send this to the user so they can upload videos through Telegram.

sparki edit — Create project from uploaded assets

sparki edit \
  --object-key assets/98/abc123.mp4 \
  --mode style-guided \
  --style montage/highlight-reel \
  --aspect-ratio 9:16

Returns a task_id for tracking with sparki status.

sparki status — Check project status

sparki status --task-id <task_id>

Status lifecycle: INITCHATPLANQUEUEDEXECUTORCOMPLETED / FAILED

sparki download — Download completed result

sparki download --task-id <task_id> --output ~/output/my-video.mp4

sparki history — List recent projects

sparki history --limit 10 --status completed

Delivering Results to the User

After download completes, check delivery_hint in the output:

  • telegram_direct (file ≤ 100MB): Send the file directly via Telegram
  • link_only (file > 100MB): Share the result_url with the user (expires in 24h)

Error Handling

All commands return structured JSON. On error:

{"ok": false, "error": {"code": "ERROR_CODE", "message": "...", "action": "..."}}
Error CodeWhat to tell the user
AUTH_FAILED"Your API key is invalid. Get one from @sparki_bot on Telegram."
QUOTA_EXCEEDED"Your Sparki quota is exhausted. Visit https://sparki.io/pricing to upgrade."
FILE_TOO_LARGE"File exceeds 3GB limit. Please compress or trim the video."
CONCURRENT_LIMIT"Too many projects running. Let me check..." → run sparki history
INVALID_FILE_FORMAT"Only mp4 and mov files are supported."
INVALID_STYLE"Unknown style." → show the Style Reference above
INVALID_MODE"Unknown mode." → suggest style-guided or prompt-driven
UPLOAD_FAILED"Upload failed. Check your connection and try again."
RENDER_TIMEOUT"Processing timed out. Try a shorter clip or increase timeout."
TASK_NOT_FOUND"Project not found. Run sparki history to see recent projects."
NETWORK_ERROR"Cannot reach Sparki servers. Check your internet connection."

Prompt Templates for Prompt-Driven Mode

When the user wants prompt-driven but needs help, suggest:

  • Highlight reel: "Cut this into a 3-min highlight reel with the key insights, energetic pacing"
  • Travel montage: "Cinematic travel montage synced to upbeat music, 60 seconds, vertical"
  • Social clips: "Extract the funniest 3 moments, turn into vertical TikTok clips with captions"
  • Product showcase: "Polished 90-second product showcase with close-up cuts on features"
  • Captioning: "Add professional captions, translate to English, clean up audio"

Rate Limits & Notes

  • API rate limit: 3 seconds between requests (enforced server-side)
  • Upload is async: file continues processing after upload returns
  • Processing time: typically 5–20 minutes
  • Result URLs expire after 24 hours — download promptly
  • For long videos (30+ min): use --timeout 7200

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

85.79%
按下载量换算1,819

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills