360 Secure SkillHub
360 安全技能中心

yaps-auto-captions

通过 Yaps 命令行工具为视频创建自动字幕项目:查看可用字幕样式、创建项目、按段落校对文字、拆分或合并时间轴、全局替换与重置,最后渲染导出带字幕的新视频并校验输出。

yaps
热度 18.59
最近更新 2026-09-25 09:14:31
分类:创作依赖:代码执行 / 读写文件 / 第三方 API应用场景:视频编辑 / 校对润色 / 工作流

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add yaps-auto-captions
Metadata
name
yaps-auto-captions
description
Add captions to a video with Yaps. Review the words and timing, choose a style, then export. New users: install Yaps and sign in.

Yaps Video Captions

Read the runtime guide before the first operation. It defines <yaps>, account readiness, local permissions, and file handling.

Required Yaps version: 2.3.124 or newer. Check installed command help for later capabilities.

Feature readiness: Auto Captions and its timestamped speech/render dependencies; inspect features list and captions styles before creating a project.

Workflow

Read <yaps> captions styles --pretty for the installed catalogue. Use the user's style, or bold-highlight for an unspecified social-video style if listed. Create with captions create <video> --style <id> and inspect captions show <project> --full --pretty.

Correct captions by their returned caption-NNN IDs with captions correct <project> --segment <id> --text <text>. Inspect word end timestamps before captions split <project> --segment <id> --at <seconds>. captions merge accepts --direction previous|next; captions style changes the template. Show ambiguous global replacements before using captions replace. captions reset discards edits and requires that intent.

Render with captions render <project> --output <new-captioned.mp4>. Never target the source or overwrite an existing file without exact authorization. Run captions verify <output> and check visible first, middle, and final frames for clipping and readability when preview access is available. Keep the editable project and return the video link.

Boundaries

  • A created project is not a rendered video.
  • Do not replace user corrections during a retry or reset.
  • Handle no_speech, no_audio, exists, too_long, and missing renderer dependencies explicitly.