Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Kre Video Translator|视频翻译 Skill

БесплатноЗапускает вложенные скриптыНе проверен

中文:给 Codex、OpenClaw 等智能体调用的生产级视频翻译 Skill:翻译本地文件或视频 URL,跟踪异步进度,复核带词级时间戳的字幕 JSON,并导出字幕文件或 FFmpeg 硬字幕视频。English: A production Agent Skill for Codex, OpenClaw…

skz7sот skz7s1 325 установок в других каталогах

Об этом скилле

Kre Video Translator

Use the bundled CLI with the production API https://kretrans.com/api. Set SKILL_DIR to this installed skill directory and replace <locale> with the conversation locale in every command:

  • Product and registration: https://kretrans.com/<locale>/

  • Agent Skill overview: https://kretrans.com/<locale>/video-translation-agent-skill/

  • ClawHub listing: https://clawhub.ai/skz7s/skills/kre-video-translator

  • Chinese conversation: --locale zh

  • Other languages: --locale en

Access

Check local access:

python3 "$SKILL_DIR/scripts/account.py" --locale <locale> auth detect

When no Key is configured, show the user:

当前还没有配置 Kre Video Translator API Key。

请先完成以下步骤:

  1. 注册或登录 Kre Video Translator
  2. 创建 API Key
  3. 确认 Key 包含:account:read、task:write、task:read

注册地址:注册或登录

创建 Key:创建 API Key

完成后请回复“已创建”。

Use the English text and /en/ URLs for other conversations. After the user confirms, run:

English onboarding text:

Kre Video Translator API key is not configured yet. Please register or sign in, create a Key with account:read, task:write, and task:read, then use Registration and API Keys. Reply “Created” when finished.

python3 "$SKILL_DIR/scripts/account.py" --locale <locale> auth launch

This opens a visible terminal on macOS, Windows, or a Linux desktop and starts Key-only setup. It does not open a browser. The user pastes the Key into the hidden prompt and presses Enter. An existing Key is verified by pressing Enter; a pasted Key replaces it. The terminal setup asks only for the Key, verification, and local save.

Read the secret-free result_file returned by auth launch. Continue after its status is verified or account_verified. A manual_required result includes an absolute command for the user's terminal. auth verify checks an existing configuration. Account, sign-in, billing, redemption, and Key management use the official production console.

Translate

Collect the source, source language, target languages, and any user-provided model, prompt, or transcript reference. The task title defaults to the source filename, including its extension; pass --title only when the user explicitly requests a custom title. Submit with the frontend-compatible fields:

python3 "$SKILL_DIR/scripts/translate.py" submit INPUT_OR_URL \
  --locale <locale> --source-language en \
  --target-language zh --state-file "/path/task.state.json" \
  --confirm-upload

Repeat --target-language for multiple targets. Add supplied values with --translation-model, --custom-prompt, and --source-subtitle (SRT/TXT, up to 1 MiB). The CLI prepares the upload as mono MP3. It checks FFmpeg and Python dependencies without installing them by default. For a URL, it checks yt-dlp only when the URL workflow starts:

ffmpeg -y -i INPUT \
  -map 0:a:0 -vn -sn -dn \
  -b:a 64k -acodec mp3 -ar 44100 -ac 1 OUTPUT.mp3

The multipart request contains media, optional source_subtitle, title, source_language, target_languages, translation_model, custom_prompt, original_filename, and source_is_video, plus Idempotency-Key. Use the original filename, including its extension, as title unless the user explicitly asks for a custom title. For a URL, the CLI downloads a readable filename from the URL metadata. Save the returned task_id and idempotency_key; reuse the same idempotency key when submission outcome is uncertain. The source audio, filename, language settings, and supplied prompt/reference are uploaded to the production service.

If KRE_VIDEO_TRANSLATOR_ERROR_JSON.next_action is ask_user_to_approve_tool_install, tell the user which local tool is missing and ask whether it may be installed. After approval, rerun the same command with --allow-install-tools. This flag installs only tools required by that invocation. A local file never requires yt-dlp; URL input may require it. If the user declines, provide the install_command from the error JSON and stop.

Progress

Submission and processing are asynchronous. Submit returns immediately. Resume and save the final result:

python3 "$SKILL_DIR/scripts/translate.py" resume --locale <locale> \
  --task-id TASK_ID --state-file "/path/task.state.json" \
  --result-json "/path/task.result.json"

Status checks start at 20 seconds, back off to 120 seconds, and follow HTTP 429 Retry-After. Relay changed stage and percentage values from KRE_VIDEO_TRANSLATOR_PROGRESS_JSON; combine unchanged intervals into one user update. A timeout preserves the remote task and its resume command.

Errors

Read KRE_VIDEO_TRANSLATOR_ERROR_JSON and route errors as follows:

  • API unavailable: for connection failures, HTTP 502/503/504, or service-unavailable errors, tell the user the producti
Полный SKILL.md на ClawHub

Установить Kre Video Translator|视频翻译 Skill в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Kre Video Translator|视频翻译 Skill?

中文:给 Codex、OpenClaw 等智能体调用的生产级视频翻译 Skill:翻译本地文件或视频 URL,跟踪异步进度,复核带词级时间戳的字幕 JSON,并导出字幕文件或 FFmpeg 硬字幕视频。English: A production Agent Skill for Codex, OpenClaw, and similar agents to translate local media or video URLs, follow asynchronous progress, review subtitle JSON with optional word timestamps, and export subtitle files or FFmpeg burned-in video.

Как установить скилл Kre Video Translator|视频翻译 Skill?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Kre Video Translator|视频翻译 Skill запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить Kre Video Translator|视频翻译 Skill с