Xpersona
A

alibabacloud-video-editor

CLAWHUB · Unverified

Edit videos with Alibaba Cloud ICE using URL or OSS inputs and cloud-rendered outputs. Use for Timeline editing, normal-template creation and rendering, multi-clip composition, titles, subtitles, transitions, audio mixing, translation or localization, and single-media intelligent-production jobs such as smart covers, erasure, caption extraction, matting, beauty, reframing, and audio processing. Also inspect templates and verify output URLs. Content analysis such as labels, highlight candidates, speaker attribution, and transcripts must be supplied upstream. Never use local ffmpeg to generate, convert, or extract media; it is limited to streamed audio analysis. Skill: alibabacloud-video-editor Owner: sdk-team Summary: Edit videos with Alibaba Cloud ICE using URL or OSS inputs and cloud-rendered outputs. Use for Timeline editing, normal-template creation and rendering, multi-clip composition, titles, subtitles, transitions, audio mixing, translation or localization, and single-media intelligent-production jobs such as smart covers, erasure, caption extraction, matting, beaut

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s173swjet2yrebzqrp6hjkvmy583mxef:alibabacloud-video-editor
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-sdk-team-alibabacloud-video-editor/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

144,752 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: alibabacloud-video-editor
description: >
  Edit videos with Alibaba Cloud ICE using URL or OSS inputs and cloud-rendered outputs. Use for Timeline editing, normal-template creation and rendering, multi-clip composition, titles, subtitles, transitions, audio mixing, translation or localization, and single-media intelligent-production jobs such as smart covers, erasure, caption extraction, matting, beauty, reframing, and audio processing. Also inspect templates and verify output URLs. Content analysis such as labels, highlight candidates, speaker attribution, and transcripts must be supplied upstream. Never use local ffmpeg to generate, convert, or extract media; it is limited to streamed audio analysis.
---
# Video Editor Skill
Edit video in the cloud (Alibaba Cloud ICE) — no local ffmpeg. Three modes:
- **Timeline editing** (`SubmitMediaProducingJob`) — assemble several clips: you write a Timeline JSON, the script submits a producing job, polls it, and returns the output video URL.
- **Normal templates** (`AddTemplate`, `Type=Timeline`) — store a parameterized Timeline Config, inspect its `ClipsParam` contract, and repeatedly render it with replacement text/media → `references/22-normal-templates.md`.
- **Intelligent production** (`SubmitIProductionJob`) — run **one algorithm over one media file** (smart cover, logo/subtitle erasure, caption extraction, matting, beauty, H→V, audio denoise/mixing/demix/analysis). No Timeline involved → §7.1 and `references/13-intelligent-production.md`.

**This skill is the last link of the chain.** Content understanding — what happens where, who speaks, which moments matter — is produced upstream by other capabilities and handed to this skill as data (§2.4). Everything here turns that data plus the material into a rendered, verified video.
## Hard Rules
Six rules where deviation is not a taste call. Everything else in this document — every font size, colour, duration, preset and length ratio — is a *worked example* from a job that shipped, not a mandate. Read those for what is possible, then make your own call from the material and the user's ask.

1. **Nothing lands on the user's local storage.** Media is never downloaded — read it in place (`ffmpeg -i "<https URL>"` streams over HTTP; a snapshot job returns signed frame URLs). Intermediates live in OSS: an algorithm's output, a dub take, a proxy, a converted input — all of them are OSS objects an ICE job wrote, never files on the user's disk. The deliverable is handed over as a **playback URL** (§8), not a downloaded file; produce a local file only when the user explicitly asks for one. The few things a local tool must write to be read at all (a waveform PNG, a `silencedetect` transcript, frames you inspect, `edl.json`, `project.md`) go into one scratch dir outside the user's project — `${TMPDIR:-/tmp}/video-editor/<session>` — and are disposable; never create them in the user's workspace. A local file the user hands over is uploaded to OSS first (§4)

_meta.json

{
  "ownerId": "kn74p5w8ywv6prh40g0s82gmqh83nw54",
  "slug": "alibabacloud-video-editor",
  "version": "0.0.2",
  "publishedAt": 1789524498253
}

references/01-timeline-basics.md

# Timeline Basic Structure

The Timeline of Alibaba Cloud ICE is the core configuration for video editing. This document explains how to build a multi-track timeline.

## Core Concepts

### Track

A Timeline consists of multiple types of tracks:

- **VideoTracks** - Video tracks, can have multiple (for picture-in-picture, overlays, etc.). Images can be placed directly on VideoTracks as `Type: "Image"` clips (the old `ImageTracks` is deprecated, do not use it for new timelines)
- **AudioTracks** - Audio tracks, can have multiple (for mixing)
- **SubtitleTracks** - Subtitle tracks, can have multiple (for multi-language subtitles)
- **EffectTracks** - Effect tracks, hold global effects (`EffectTrackItems`) that are not bound to any clip, e.g. global VFX/Filter applied to the whole output or a time range

Additionally, a Timeline may set:

- **FECanvas** - `{"FECanvas": {"Width": 720, "Height": 1280}}`. Sets a reference canvas so that the same `FontSize` occupies the same proportion of the frame regardless of the actual output resolution (e.g. keep subtitle size consistent between 480P and 720P outputs).

### Clip

Each track contains multiple clips, which define the position on the timeline and the material.

## Complete Timeline Example

```json
{
  "VideoTracks": [
    {
      "VideoTrackClips": [
        {
          "Type": "Video",
          "MediaURL": "https://bucket.oss-cn-shanghai.aliyuncs.com/video1.mp4",
          "In": 0,
          "Out": 10,
          "TimelineIn": 0,
          "TimelineOut": 10
        }
      ]
    }
  ],
  "AudioTracks": [
    {
      "AudioTrackClips": [
        {
          "Type": "Audio",
          "MediaURL": "https://bucket.oss-cn-shanghai.aliyuncs.com/music.mp3",
          "In": 0,
          "Out": 30,
          "TimelineIn": 0,
          "TimelineOut": 30,
          "Effects": [
            {
              "Type": "Volume",
              "Gain": 0.5
            }
          ]
        }
      ]
    }
  ],
  "SubtitleTracks": []
}
```

## Simplified Timeline Example



```json
{
  "VideoTracks": [
    {
      "VideoTrackClips": [
        {
          "Type": "Video",
          "MediaURL": "https://bucket.oss-cn-shanghai.aliyuncs.com/video1.mp4",
          "Effects": [
            {
              "Type": "Volume",
              "Gain": 0
            }
          ]
        },
        {
          "Type": "Video",
          "MediaURL": "https://bucket.oss-cn-shanghai.aliyuncs.com/video2.mp4",
          "Effects": [
            {
              "Type": "Volume",
              "Gain": 0
            }
          ]
        }
      ]
    }
  ],
  "AudioTracks": [
    {
      "AudioTrackClips": [
        {
          "Type": "Audio",
          "MediaURL": "https://bucket.oss-cn-shanghai.aliyuncs.com/music.mp3",
          "Effects": [
            {
              "Type": "Volume",
              "Gain": 0.5
            }
          ]
        }
      ]
    }
  ],
  "SubtitleTracks": []
}
```

## Key Field Descriptions

| Field | Mean

references/02-multi-track-audio.md

# Multi-Track Audio Mixing

When a video requires multiple audio elements such as narration, background music, and sound effects, multi-track audio mixing is needed.

## Typical Scenarios

- **Corporate Promotional Videos**: Main video + narration + background music
- **Tutorial Videos**: Screen recording + instructor voiceover + prompt sound effects
- **Vlog**: Original sound + narration + background music

## Track Structure

```
Video Track 1: Main video
Audio Track 1: Original sound (optional)
Audio Track 2: Narration
Audio Track 3: Background music
Audio Track 4: Sound effects
```

## Timeline Example

```json
{
  "VideoTracks": [
    {
      "VideoTrackClips": [
        {
          "Type": "Video",
          "MediaURL": "https://bucket.oss-cn-shanghai.aliyuncs.com/main_video.mp4",
          "In": 0,
          "Out": 60,
          "TimelineIn": 0,
          "TimelineOut": 60
        }
      ]
    }
  ],
  "AudioTracks": [
    {
      "AudioTrackClips": [
        {
          "Type": "Audio",
          "MediaURL": "https://bucket.oss-cn-shanghai.aliyuncs.com/original_audio.mp3",
          "In": 0,
          "Out": 60,
          "TimelineIn": 0,
          "TimelineOut": 60,
          "Effects": [
            {
              "Type": "Volume",
              "Gain": 0.3
            }
          ]
        }
      ]
    },
    {
      "AudioTrackClips": [
        {
          "Type": "Audio",
          "MediaURL": "https://bucket.oss-cn-shanghai.aliyuncs.com/narration.mp3",
          "In": 0,
          "Out": 60,
          "TimelineIn": 0,
          "TimelineOut": 60
        }
      ]
    },
    {
      "AudioTrackClips": [
        {
          "Type": "Audio",
          "MediaURL": "https://bucket.oss-cn-shanghai.aliyuncs.com/bgm.mp3",
          "In": 0,
          "Out": 60,
          "TimelineIn": 0,
          "TimelineOut": 60,
          "Effects": [
            {
              "Type": "Volume",
              "Gain": 0.2
            }
          ]
        }
      ]
    }
  ],
  "SubtitleTracks": []
}
```

## Volume Control Recommendations

| Track Type | Recommended Volume | Description |
|----------|----------|------|
| Original sound | 0.2-0.4 | Lower to avoid interfering with narration |
| Narration | 0.8-1.0 | Keep clear |
| Background music | 0.1-0.3 | Set the mood, don't overpower |
| Sound effects | 0.5-0.8 | Adjust according to specific sound effects |

## Fade In/Fade Out Effects

Add fade in/fade out to audio to avoid abruptness:

```json
{
  "Type": "Audio",
  "MediaURL": "https://...",
  "In": 0,
  "Out": 60,
  "TimelineIn": 0,
  "TimelineOut": 60,
  "Effects": [
    {
      "Type": "AFade",
      "SubType": "In",
      "Duration": 1,
      "Curve": "tri"
    },
    {
      "Type": "AFade",
      "SubType": "Out",
      "Duration": 2,
      "Curve": "tri"
    },
    {
      "Type": "Volume",
      "Gain": 0.2
    }
  ]
}
```

- `SubType`: `"In"` for fade-in, `"Out"` for fade-out
- `Duration`: fade duration (seconds)
- `Curve`: volume curv

references/03-subtitles-and-titles.md

# Subtitles and Title Effects

This document explains how to add various text effects to videos, including static titles, dynamic subtitles, scrolling subtitles, etc.

## Subtitle Track Basics

Subtitles use the `SubtitleTracks` track, supporting multiple text styles and animation effects.

Important rules:

1. The subtitle text field is **`Content`** (not `Text`).
2. Subtitles can be placed in a dedicated `SubtitleTracks` track, or inside a video clip's `Effects` array (`"Type": "Text"` effect).
3. Entry/exit time is set with `TimelineIn`/`TimelineOut`. If omitted, subtitles in a subtitle track last for the entire output video, while subtitles inside a clip's `Effects` last for that clip's render time.
4. Line breaks inside `Content` can be written as `\n` or `\N`.
5. For subtitles inside a clip's `Effects`, prefer `FixedFontSize` (and `FixedX`/`FixedY`) so the size/position stays constant regardless of video size.
6. **Subtitles that must match spoken narration**: do NOT hand-guess `TimelineIn`/`TimelineOut` for `Type: "Text"` clips against TTS/avatar speech — the timings will drift from the real audio. Use `AI_ASR` with `AlignmentText` (in the `Effects` of the narration/avatar clip) so the platform aligns the text with the actual speech. See `07-smart-media-features.md`.

### External Subtitle Files

Instead of writing each subtitle by hand, load an existing subtitle file with `Type: "Subtitle"`:

```json
{
  "SubtitleTracks": [{
    "SubtitleTrackClips": [{
      "Type": "Subtitle",
      "FileURL": "https://bucket.oss-cn-shanghai.aliyuncs.com/subtitle.srt"
    }]
  }]
}
```

- Supported formats: `.srt` and `.ass` (for `.ass`, styles defined inside the file are used)
- `TimelineIn`/`TimelineOut` still work to limit the display range
- `Font`, `FontSize`, `FontColor` etc. can override the file's style for `.srt`

## 1. Static Title

Add a fixed-position title at the top or bottom of the video:

```json
{
  "SubtitleTracks": [
    {
      "SubtitleTrackClips": [
        {
          "Type": "Text",
          "Content": "My Amazing Video",
          "TimelineIn": 0,
          "TimelineOut": 5,
          "Font": "AlibabaPuHuiTi",
          "FontSize": 80,
          "FontColor": "#FFFFFF",
          "Y": 0.15,
          "Outline": 1,
          "OutlineColour": "#000000",
          "Alignment": "TopCenter"
        }
      ]
    }
  ]
}
```

### Position Coordinates and Alignment

- `X`: Horizontal position, 0.0=leftmost, 0.5=center, 1.0=rightmost
- `Y`: Vertical position, 0.0=top, 0.5=center, 1.0=bottom
- `Alignment`: alignment determines the anchor point of the subtitle text box

9-point alignment values and their default positions:

| Alignment | Alignment style | Default position |
|------|------|------|
| `TopLeft` | Left | Top-left corner |
| `TopCenter` | Center | Top of the vertical axis |
| `TopRight` | Right | Top-right corner |
| `CenterLeft` | Left | Left of the horizontal axis |
| `CenterCenter` | Center | Center of the canvas |
| `Cente

Sponsored

Ads related to alibabacloud-video-editor and adjacent AI workflows.