video-edit

v2026.08.23

Use this skill when creators, video editors, advertisers, e-commerce teams, social-commerce teams, and short-form story producers need to edit an existing video with natural-language instructions with AI Hive through the AI Hive OpenAPI. It handles required media uploads, live model and price lookup, task submission, progress polling, and result downloads. Useful for ads, TVCs, product videos, e-commerce listings, social commerce, UGC-style seeding content, short dramas, motion comics, and storyboards. Search intents include AI video editing, video restyling, background replacement, video-to-video editing.

GitHub
安装命令
npx skhub add wubin1836/video-edit
Markdown
SKILL.md

Video Editing

Overview

Video Editing helps creators, video editors, advertisers, e-commerce teams, social-commerce teams, and short-form story producers edit an existing video with natural-language instructions with AI Hive. Describe the intended subject, action, camera, lighting, pacing, and constraints; the bundled CLI handles AI Hive OpenAPI calls and downloads the finished video.

Why use this skill

  • Brief to result: work from plain-English creative direction instead of writing API requests
  • Controlled inputs: use the exact first frame, last frame, image, video, or audio references required by this capability
  • Predictable model selection: the skill name matches the public model ID used by the script
  • Live pricing: fetch the active model configuration and pricing snapshot before submission
  • Production-friendly delivery: preserve the task ID, poll one task safely, and download results automatically

Best for

Ads, tvcs, product videos, e-commerce listings, social commerce, ugc-style seeding content, short dramas, motion comics, and storyboards. It is also useful when users search for AI video editing, video restyling, background replacement, video-to-video editing.

Capabilities

ModeCapabilitypublicModelId
editVideo Editingpublic_model_seedance_2_5_video_edit

The default route is COST_FIRST. Pass live model options with --param key=value; supported values come from the current AI Hive videoConfig.

Quick Start

pip3 install requests
python3 "$SKILL_PATH/scripts/videogen.py" init --skill-name video-edit
python3 "$SKILL_PATH/scripts/videogen.py" generate \
  --mode edit \
  --prompt "Video Editing: polished motion, clear subject, coherent action, stable camera, commercial finish" \
+  --video /path/to/source.mp4

Usage Scenarios

1. Core generation

python3 "$SKILL_PATH/scripts/videogen.py" generate --mode edit \
  --prompt "Create a polished video editing result with coherent motion, stable identity, and a clear ending" \
+  --video /path/to/source.mp4

2. Advertising and TVC

python3 "$SKILL_PATH/scripts/videogen.py" generate --mode edit \
  --prompt "Premium product commercial: establish the product, reveal materials with controlled camera movement, finish on a clean brand-ready hero frame" \
+  --video /path/to/source.mp4

3. E-commerce and product showcase

python3 "$SKILL_PATH/scripts/videogen.py" generate --mode edit \
  --prompt "E-commerce product video: centered subject, move from full product view to material close-ups, show one real use case, leave space for product copy" \
+  --video /path/to/source.mp4

4. Social commerce and seeding content

python3 "$SKILL_PATH/scripts/videogen.py" generate --mode edit \
  --prompt "Vertical social-commerce video: open with the customer problem, demonstrate the product naturally, show the practical benefit, end with a clean call-to-action frame" \
+  --video /path/to/source.mp4

5. Short drama and motion comic

python3 "$SKILL_PATH/scripts/videogen.py" generate --mode edit \
  --prompt "Short-drama shot: a young detective opens an abandoned warehouse door, pauses, and looks inside; slow over-shoulder push-in, cold suspense lighting, one continuous action" \
+  --video /path/to/source.mp4

6. Reference-controlled or channel-specific version

python3 "$SKILL_PATH/scripts/videogen.py" generate --mode edit \
  --prompt "Keep the subject and visual identity consistent; use the reference for motion and camera rhythm; create a tighter social-media version with a brand-ready ending" \
+  --video /path/to/source.mp4

7. Submit now and check later

python3 "$SKILL_PATH/scripts/videogen.py" generate --mode edit --prompt "Complex production brief" --no-download \
+  --video /path/to/source.mp4
python3 "$SKILL_PATH/scripts/videogen.py" task --task-id <taskId>

Command Reference

OptionPurpose
--modeSelect a supported mode; capability-specific skills already fix it
--promptDescribe the video or edit
--first-frame / --last-frameSupply controlled keyframes
--image / --video / --audioSupply reference media
--param key=valuePass live model parameters
--routing COST_FIRSTSelect the cost-first route
--no-downloadSubmit and return the task ID without waiting

API Key

Run the init command above, or set AI_HIVE_API_KEY, use --api-key, or create ~/.ai-hive/config.json. API keys use the sk-api-* format. Never commit a real API key.

Reliability and Cost

The script looks up the live model entry and pricing snapshot at runtime. Model availability, accepted media, parameters, and prices can change. Keep a returned task ID and query the existing task instead of submitting a duplicate that may be billed twice.

Troubleshooting

  • Missing media: provide the first frame, reference image, reference video, or reference audio required by this skill.
  • 401 Unauthorized: verify that the API key is complete, active, and not committed to source control.
  • Invalid parameter: inspect the current videoConfig for accepted values and media limits.
  • Local timeout: keep the task ID and use the task command later.
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.08.23

发布时间

2026年8月23日

分类

未分类

许可证

MIT

源路径

skills/video-edit

默认分支

main

最新提交

d43d7a5

Tree SHA

ed5082a