Token导航 LogoToken导航TokenDH.com
效率执行命令clawhub未标认证来源可访问clear审计提醒

alibabacloud-video-translation阿里巴巴云视频翻译

Agent Skill

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

总安装

2,644

周安装

108

GitHub Stars

公开资料未说明

下载量

847
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install alibabacloud-video-translation

简介

基于阿里云IMS的智能视频翻译技能。alibabacloud-video-translation 属于效率类 Skill,可作为该场景下的辅助能力补充。

  • 适用于字幕提取、语音合成和跨语言视频处理场景。
  • 支持ASR/OCR和实时语音翻译功能。
  • 使用时需确认音频质量和语言对准确性要求。
  • 涉及公开发布时应核对翻译内容的合规性。

SKILL.md

name
alibabacloud-video-translation
description
|

Video Translation Skill

One-click video translation powered by Alibaba Cloud IMS, supporting subtitle-level and speech-level translation.


Input Format Requirements

IMPORTANT: Different APIs use different address formats!

API Address Format Reference

APIAddress FormatExample
SubmitIProductionJob (subtitle extraction)oss:// formatoss://my-bucket/videos/test.mp4
SubmitVideoTranslationJob (video translation)HTTP URL formathttps://my-bucket.oss-cn-shanghai.aliyuncs.com/videos/test.mp4
Key: Subtitle extraction uses oss://, video translation uses HTTP URL!

User Input Handling

User Input TypeProcessing Method
HTTP URL formatUse directly for video translation; convert to oss:// if subtitle extraction needed
oss:// formatUse directly for subtitle extraction; convert to HTTP URL for video translation
Local videoMUST ask for OSS upload path, save both formats after upload

Format Conversion Rules

oss:// format ⇄ HTTP URL format

oss://my-bucket/videos/test.mp4
    ⇄
https://my-bucket.oss-cn-shanghai.aliyuncs.com/videos/test.mp4

Conversion Formula:

  • oss://<bucket>/<path>https://<bucket>.oss-<region>.aliyuncs.com/<path>
  • HTTP URL does not require signing, use Bucket domain format directly

Local Video Processing Flow

User provides local video path
    │
    ├─ AskUserQuestion: "Please provide OSS upload path (format: oss://<bucket>/<path>/<filename>.mp4)"
    │
    ├─ User specifies upload path
    │   ├─ Check if Bucket exists
    │   ├─ Upload file: aliyun oss cp <local_path> <oss_path>
    │   ├─ Save oss:// format → for subtitle extraction
    │   └─ Save HTTP URL format → for video translation
    │
    └─ User does not specify path → STOP, user MUST provide upload path

Upload Command:

aliyun oss cp <local_path> oss://<bucket>/<path>/<filename>.mp4

Save both formats after upload:

Local: /Users/demo/videos/test.mp4
Uploaded to: oss://my-bucket/videos/test.mp4
    ├─ oss:// format: oss://my-bucket/videos/test.mp4 (for subtitle extraction)
    └─ HTTP URL: https://my-bucket.oss-cn-shanghai.aliyuncs.com/videos/test.mp4 (for video translation)

Execution Gate Checklist

Strict Requirement: Agent MUST execute in phase order, cannot proceed without passing current phase!

Phase 0: Environment and Credential Check (HARD-GATE)

Check ItemCommandPass ConditionFailure Handling
CLI versionaliyun version>= 3.3.1STOP, see cli-installation-guide.md
Credential statusaliyun configure listValid statusSTOP, guide configuration
Plugin installationaliyun configure set --auto-plugin-install trueSetAuto-set
HARD-GATE: Cannot proceed with any subsequent operations without passing!

Phase 1: Translation Mode Confirmation (BLOCKING)

AskUserQuestion: "Do you need subtitle translation (translate subtitles only) or speech translation (translate subtitles + replace voiceover)?"

┌─ Subtitle translation → NeedSpeechTranslate: false
└─ Speech translation → NeedSpeechTranslate: true

⚠️ No reply received → STOP, cannot proceed!
DO NOT infer translation mode from input type!

Phase 2: Subtitle Processing Confirmation (BLOCKING)

AskUserQuestion: "Do you need to erase original subtitles from the video? Do you need to burn-in translated subtitles?"

⚠️ No reply received → STOP, cannot proceed!

Parameter Mapping:

FeatureParameterValue
Erase original subtitlesDetextArea"Auto" / coordinates / not set (no erasure)
Burn-in new subtitlesSubtitleConfigconfig object / not set (no burn-in)

Phase 3: Output Path Confirmation (Non-blocking)

ConditionProcessing Method
User explicitly specifiesUse user's path
User does not specifyUse default path and inform user

Default Output Rules:

  • Bucket: Same bucket as input video
  • Directory: Same directory as input video
  • Filename: {source}_translated_{random8}.mp4
  • Example: oss://bucket/videos/demo.mp4oss://bucket/videos/demo_translated_a1b2c3d4.mp4
DO NOT use shell variables, use Python: python3 -c "import random; print(''.join(random.choices('abcdefghijkmnpqrstuvwxyz23456789', k=8)))"

Phase 4: Subtitle Review Confirmation (Conditional Blocking)

Trigger ConditionProcessing Method
User chooses to review subtitlesBLOCKING, MUST wait for user confirmation of review result
User does not need reviewNon-blocking, proceed
CRITICAL: After subtitle extraction, MUST output content as-is for user review, DO NOT change format!

Scenario Entry Selector

Key Points: 1. When user inputs local video, MUST first upload to OSS and get HTTP URL 2. When user does not provide subtitle, MUST ask if subtitle extraction and review is needed
User inputs video
    │
    ├─ Local video?
    │   └─ Yes → AskUserQuestion: "Please provide OSS upload path"
    │       ├─ User provides path → Upload to OSS → Convert to HTTP URL → Continue
    │       └─ User does not provide → STOP
    │
    ├─ oss:// format?
    │   └─ Yes → Inform user to convert to HTTP URL format
    │
    └─ HTTP URL format? → Continue
        │
        ├─ User provides SRT file?
        │   ├─ Yes → Input type = with_subtitle
        │   │   ├─ Translation mode = speech → 【Scenario 4】 ⚠️ MUST ask CustomSrtType
        │   │   └─ Translation mode = subtitle → 【Scenario 3】
        │   │
        │   └─ No → Input type = only_video ⚠️ MUST ask if review needed
        │       │
        │       ├─ AskUserQuestion: "Do you need to extract subtitles for review first, or translate directly?"
        │       │
        │       ├─ Need review → 【Scenario 2】 ⚠️ Phase 4 blocking
        │       │
        │       └─ Direct translation → 【Scenario 1】 (TextSource=OCR_ASR)
ScenarioNameBlocking PointTextSourceFlow
0Local video uploadOSS upload path inquiry-Upload→HTTP URL→Subsequent scenario
1Direct translationPhase 1, 2OCR_ASRSubmit translation directly
2Subtitle reviewPhase 1, 2, Subtitle review inquiry, Phase 4SubtitleFileExtract subtitle→Review→Translate
3Subtitle translation + user subtitlePhase 1, 2SubtitleFileUse user SRT to translate directly
4Speech translation + user subtitlePhase 1, 2 + CustomSrtType confirmationSubtitleFileConfirm subtitle language then translate
Scenario 0 (Local video) detailed flow: 1. AskUserQuestion: "Please provide OSS upload path (format: oss://<bucket>/<path>/<filename>.mp4)" 2. After user specifies path, execute aliyun oss cp <local_path> <oss_path> 3. Convert to HTTP URL: https://<bucket>.oss-<region>.aliyuncs.com/<path>/<filename>.mp4 4. Continue with subsequent scenario flow
Scenario 2 detailed flow: 1. Ask for subtitle detection region (roi parameter) 2. Call CaptionExtraction to extract subtitles, input and output use oss:// format 3. Output subtitle content as-is for user review 4. After user confirmation, use reviewed SRT to submit translation

Parameter Decision Table

Decision Rules: Clearly define handling for each parameter, DO NOT assume arbitrarily!
ParameterTrigger ConditionHandling MethodDefault ValueProhibited Behavior
NeedSpeechTranslateAlwaysMUST askNoneDO NOT infer from input
NeedFaceTranslateAlwaysFixed valuefalseDO NOT set to true
DetextAreaUser chooses erasureMUST askNoneDO NOT set to Auto arbitrarily
SubtitleConfigUser chooses burn-inCan use defaultStandard styleDO NOT skip confirmation
TextSourceScenario decidesScenario rulesSee scenario mappingDO NOT choose arbitrarily
CustomSrtTypeScenario 4MUST askNoneDO NOT infer arbitrarily
OutputConfig.MediaURLOutput pathCan use defaultDefault rulesDO NOT use shell variables
JobParams.roiSubtitle extractionMUST ask[[0.5,1],[0,1]]DO NOT set default arbitrarily
SourceLanguageUser specifies or inferableCan use defaultAuto detectUse zh for Chinese only
TargetLanguageUser specifiesCan use defaultenAsk for other languages

TextSource Scenario Mapping:

ScenarioValueDescription
1OCR_ASRAuto-detect subtitles
2SubtitleFileReviewed SRT
3, 4SubtitleFileUser-provided SRT

CustomSrtType Trigger Rules:

ConditionValue
CaptionExtraction extractedSourceSrt
User provides subtitle (Scenario 4)MUST ask: SourceSrt / TargetSrt

Failure Protection Mechanism

HARD-GATE: After speech translation fails, DO NOT auto-switch to subtitle translation!

API Error Handling

ErrorCodeHandling Action
Forbidden.SubscriptionRequiredSee ram-policies.md
InvalidParameterSee api-parameters.md
InputConfig.Subtitle is invalidSee troubleshooting.md
JobFailedRecord JobId, ask user if retry needed

SRT Format Repair Flow

Detect empty subtitle entries → Delete empty entries → Renumber → Upload repaired file → Inform user

See troubleshooting.md for details.


CLI Command Templates

IMPORTANT: Before submitting API, MUST reference api-parameters.md to confirm parameter format!

See cli-commands.md for details.

Core Commands:

# Register media asset
aliyun ice register-media-info --input-url "oss://<bucket>/<object>" --media-type video --user-agent AlibabaCloud-Agent-Skills

# Submit subtitle extraction (use OSS path)
aliyun ice submit-iproduction-job \
  --function-name CaptionExtraction \
  --input "Media=oss://<bucket>/<object> Type=OSS" \
  --biz-output "Media=oss://<bucket>/<output>.srt Type=OSS" \
  --job-params '{"lang":"ch","roi":[[0.5,1],[0,1]]}' \
  --force \
  --user-agent AlibabaCloud-Agent-Skills

# Submit video translation
aliyun ice submit-video-translation-job \
  --user-agent AlibabaCloud-Agent-Skills
CLI Format Key Points: - Subtitle extraction uses command name submit-iproduction-job (lowercase, - separator) - --input and --biz-output format: space-separated string "Media=... Type=OSS", NOT JSON - --job-params format: JSON string - MUST add --force to skip plugin parameter validation - All ICE commands MUST add --user-agent AlibabaCloud-Agent-Skills

Documentation Reference

DocumentContent
workflow-details.mdDetailed execution flow for 4 scenarios
cli-commands.mdCLI command template library
troubleshooting.mdError handling details
api-parameters.mdComplete API parameter documentation
ram-policies.mdRAM permission requirements
cli-installation-guide.mdCLI installation guide

Key Constraints

  • Before submitting API, MUST reference api-parameters.md to confirm parameter format
  • All ICE CLI commands MUST add --user-agent AlibabaCloud-Agent-Skills
  • Subtitle extraction (SubmitIProductionJob) uses oss:// format
  • Video translation (SubmitVideoTranslationJob) uses HTTP URL format, no signing needed
  • Local videos MUST first be uploaded to OSS, user MUST provide upload path
  • NeedFaceTranslate MUST be false
  • SpeechTranslate and SubtitleTranslate are mutually exclusive
  • InputConfig.Subtitle MUST use HTTPS format, DO NOT use oss://
  • Speech translation + SRT input requires SpeechTranslate.CustomSrtType
  • DO NOT infer translation mode from input type

Task Polling

Mandatory: MUST continuously poll task status until completion (State=Finished) or failure (State=Failed), DO NOT exit early!
Task TypeQuery CommandIntervalTimeout
Subtitle extractionQueryIProductionJob30 seconds5 minutes
Video translationget-smart-handle-job30 seconds30 minutes

Polling Logic:

Loop polling until:
  - State == "Finished" → Return result
  - State == "Failed" → Report error
  - Exceeds 30 minutes → Report TimeoutError

Prohibited: Return after single query / Skip polling and return JobId directly

Time Reference (3-minute video):

  • Subtitle-level translation: 3-5 minutes
  • Speech-level translation: 10-20 minutes

Result Retrieval

# Get media asset info
aliyun ice get-media-info --media-id "<MediaId>"

# Generate signed URL (for private Bucket)
aliyun oss sign oss://<bucket>/<object> --timeout 3600

*End of Document*

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

85.91%
按下载量换算728

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install alibabacloud-video-translation 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills