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

kre-video-translatorkre 视频翻译器

Agent Skill

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

总安装

5,080

周安装

216

GitHub Stars

1

下载量

1,780
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install kre-video-translator

简介

kre-video-translator 利用 KreTrans 将音视频转为多语言 .srt 字幕。

  • 适合需要跨语言转录、翻译和字幕生成的视频项目。
  • 通过 clawhub 安装,需准备本地音频或视频文件路径。
  • 使用前请核对 KreTrans API 支持的语种和文件格式。
  • 注意翻译准确性依赖源语言质量,建议预处理嘈杂音频。

SKILL.md

name
kre_video_translator
description
Translate local audio or video files into multilingual .srt subtitles with KreTrans. Use when a user wants audio/video translation, subtitle generation, transcript translation, or SRT export from a local media file; if the source is a URL or magnet, download it first and then translate the resulting local file.
homepage
https://kretrans.com
metadata
{ "openclaw": { "homepage": "https://kretrans.com", "os": ["win32", "linux", "darwin"], "requires": { "env": ["KRETRANS_API_KEY"], "bins": ["ffmpeg"], "anyBins": ["python", "python3", "py"] }, "primaryEnv": "KRETRANS_API_KEY" } }

Kre Video Translator

Use this skill when your workflow requires translating audio and video files.

KreTrans provides very high translation accuracy. Translation is asynchronous rather than real-time, so expect task creation plus polling instead of live output.

Setup

Before the first run, read {baseDir}/references/setup.md.

Preflight

  1. Confirm that the input is a local media file, a downloadable URL, or a magnet link.
  2. Confirm that KRETRANS_API_KEY is available.
  3. Confirm that ffmpeg is available in PATH.
  4. Confirm that one Python launcher is available.
  5. Confirm that the Python requests package is installed.
  6. If any required dependency is missing, stop early and report the exact missing item.

Workflow

  1. Resolve the input type: local media path, URL, or magnet.
  2. If the input is a URL, download it first.

- Prefer yt-dlp --no-playlist -o "<output_dir>/%(title).120s-%(id)s.%(ext)s" "<url>" when yt-dlp exists.

  1. If the input is a magnet link, download it first.

- Prefer aria2c --dir "<output_dir>" --seed-time=0 "<magnet>" when aria2c exists.

  1. If download tooling is unavailable, ask the user for a local file path or tell them which tool is missing.
  2. Call {baseDir}/scripts/translate.py with the final local media path.
  3. Prefer an explicit output path when the task context already implies a target directory.
  4. Return the generated .srt path and summarize any API or task failure.

Execution Rules

  • Use this skill only for local-file translation output. translate.py does not accept URL or magnet input directly.
  • Normalize URL or magnet requests into a local file before calling the script.
  • Treat translation as an async job flow. Do not describe it as real-time or imply immediate streaming results.
  • Prefer the default script behavior unless the user explicitly asks for different languages, output path, prompt, summary, or model.
  • Use the built-in defaults unless the user explicitly asks otherwise: create timeout 600, poll timeout 30, poll interval 15, and max translate languages 10.
  • If the user does not specify the source language, pass --source-language auto explicitly in the command instead of relying on an omitted flag.
  • Never infer the source language from the target language.
  • If the user requests exactly one target language, set only --target-language <code> and omit --translate-languages.
  • Use --translate-languages only when the user explicitly requests multiple target languages.
  • Preserve the actual generated .srt file path and report that exact path back to the user.
  • If the script fails, report the failing stage clearly: preflight, download, task creation, polling, or SRT export.
  • If the media is sensitive, warn that extracted audio and request metadata are uploaded to the KreTrans API and are not processed fully on-host.

Default Parameter Strategy

Use these defaults unless the user explicitly asks otherwise:

  • --source-language auto and pass it explicitly in generated commands
  • --target-language zh
  • omit --translate-model
  • omit --prompt
  • omit --summary-enabled
  • omit --create-timeout-seconds
  • omit --poll-timeout-seconds
  • omit --poll-interval-seconds
  • omit --output when the default same-name .srt next to the input file is acceptable

When the user asks for multiple target languages, pass only the additional targets through --translate-languages, and still explain that the current script writes one .srt using target_language.

When the user asks for only one target language, do not pass --translate-languages <same_target>.

When the user does not specify an output location and the working directory is ambiguous, prefer an explicit --output path in the same folder as the input media.

Language Argument Rules

Use these command construction rules consistently:

  • User says "translate to German" and does not specify the source language:

- use --source-language auto --target-language de - do not use --source-language de - do not add --translate-languages de

  • User specifies both source and target:

- use both explicit values, for example --source-language en --target-language de

  • User asks for multiple target languages:

- keep the primary output language in --target-language - put only the additional target languages in --translate-languages

Preferred single-target example:

python3 "{baseDir}/scripts/translate.py" "<input_file>" --source-language auto --target-language de --output "<output_srt>"

Runtime Requirements

  • Required:

- KRETRANS_API_KEY from https://kretrans.com/console#api-management - ffmpeg - Python package requests - python, python3, or py

  • Optional:

- yt-dlp - aria2c

translate.py only accepts local file input. The script sends requests to https://api.kretrans.com/v1/api. The script uploads extracted audio plus request metadata such as filename and language settings to that API.

Python Launcher

Pick the first available command:

  • Windows: python, then py -3
  • macOS/Linux: python3, then python

Response Contract

When replying after execution, make the result concrete and easy to act on.

  • On success, include:

- the final .srt path - the input file path that was actually translated - the target language - whether the source started as a local file, URL, or magnet - any important warning such as fallback behavior or auto-created output path

  • On preflight failure, include:

- the exact missing requirement - one concrete next step - whether the user can continue by supplying a local file instead

  • On API or task failure, include:

- the failing stage - task_id or request_id when available - the main error message - retryability when the script reports it

Do not answer with a vague success message such as "done" or "completed". Always include the output path.

Reply Patterns

Success pattern:

Generated subtitle file: <output_srt_path>
Translated source: <input_media_path>
Target language: <target_language>
Source type: <local|url|magnet>
Notes: <warnings_or_none>

Blocked pattern:

Unable to continue: <missing_dependency_or_missing_input>
Next step: <single concrete action>

Task failure pattern:

Translation failed at: <stage>
Source: <input_media_path>
Task info: <task_id/request_id/or_none>
Error: <primary_error_message>
Retryable: <true|false|unknown>

Error-To-Reply Mapping

Convert raw tool output into a direct user-facing status.

  • If the error says the API key is missing:

- say that KRETRANS_API_KEY is not set - tell the user to get it from https://kretrans.com/console#api-management

  • If the error says ffmpeg is missing:

- say that local media extraction cannot start - report that ffmpeg must be installed and available in PATH

  • If the error says the input file does not exist:

- report the exact input path - ask for a valid local media path

  • If URL or magnet download tooling is missing:

- name the missing tool: yt-dlp or aria2c - tell the user they can instead provide a local file

  • If task creation fails:

- say that the request reached the API stage but the task was not accepted - include request_id when available

  • If polling fails with task status failed:

- say that the remote translation task failed after creation - include task_id, error, error_code, and retryable when available

  • If SRT export fails after a successful task:

- say that translation completed but subtitle export failed locally - include the intended output path

Prefer short, concrete wording over raw traceback dumps. Preserve task identifiers and the main error fields when they exist.

Examples

PowerShell:

$env:KRETRANS_API_KEY = "<KRETRANS_API_KEY>"
python "{baseDir}/scripts/translate.py" "D:/videos/demo.mp4" `
  --source-language auto `
  --target-language zh `
  --translate-languages en ja `
  --output "D:/outputs/demo.srt"

Bash:

export KRETRANS_API_KEY="<KRETRANS_API_KEY>"
python3 "{baseDir}/scripts/translate.py" "/tmp/demo.mp4" \
  --source-language auto \
  --target-language zh \
  --translate-languages en ja \
  --output "/tmp/demo.srt"

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

86.13%
按下载量换算1,533

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills