360 Secure SkillHub
360 安全技能中心

Alicloud Media Video Translation

核心功能:通过OpenAPI提交字幕/语音/人脸级视频翻译任务,支持任务状态轮询、列表查询、删除等管理,还支持二次编辑关联原任务。典型场景为需API化处理视频翻译的需求。输入需准备OSS源文件路径、输出位置及阿里云AK,输出存指定目录,需注意OSS区域与API调用区域匹配,大任务拉长轮询间隔。

cinience
cinience
热度 83.22
最近更新 2026-05-11 16:23:40
分类:自动化依赖:第三方 API / 代码执行应用场景:翻译 / 工作流

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add alicloud-media-video-translation
Metadata
name
alicloud-media-video-translation
description
Create and manage Alibaba Cloud IMS video translation jobs via OpenAPI (subtitle/voice/face). Use when you need API-based video translation, status polling, and job management.
version
1.0.0

Category: service

IMS Video Translation (OpenAPI)

Submit video translation jobs via OpenAPI and poll results for subtitle-level, voice-level, and face-level processing.

Prerequisites

  • Prepare OSS input/output URIs (recommended to match API region).
  • Configure AK: ALICLOUD_ACCESS_KEY_ID / ALICLOUD_ACCESS_KEY_SECRET / ALICLOUD_REGION_ID (ALICLOUD_REGION_ID can be used as the default region; if unset, choose the most reasonable region and ask when unclear).

Workflow

  1. Prepare source file and output OSS location.
  2. Submit job with SubmitVideoTranslationJob.
  3. Poll status and result with GetSmartHandleJob.
  4. Use ListSmartJobs / DeleteSmartJob for job management when needed.

Level Selection and Parameters

  • Selection rules and fields for subtitle/voice/face levels are in references/fields.md.
  • Field examples (Input/Output/EditingConfig) are also in references/fields.md.

Notes

  • For second-pass editing, set SupportEditing=true in the first job and reference OriginalJobId later.
  • Input and output OSS regions must match the OpenAPI invocation region.
  • Use longer polling intervals for large jobs to avoid frequent requests.

Validation

mkdir -p output/alicloud-media-video-translation
echo "validation_placeholder" > output/alicloud-media-video-translation/validate.txt

Pass criteria: command exits 0 and output/alicloud-media-video-translation/validate.txt is generated.

Output And Evidence

  • Save artifacts, command outputs, and API response summaries under output/alicloud-media-video-translation/.
  • Include key parameters (region/resource id/time range) in evidence files for reproducibility.

References

  • Source list: references/sources.md