
Byted Las Audio Extract And Split
- 30 installs
- 411 repo stars
- Updated August 4, 2026
- bytedance/agentkit-samples
byted-las-audio-extract-and-split is a Claude skill that extracts audio tracks from video and splits long audio into segments via the Volcengine LAS service.
About
This skill extracts the audio track from a video and splits long audio into segments using Volcengine LAS, driven through the las-cli tool. A developer uploads a media file to TOS and provides a split strategy such as fixed duration, and the skill produces the extracted and segmented audio. It estimates the price and waits for user confirmation before running the operator.
- Extracts the audio track from a video via Volcengine LAS
- Splits long audio by duration or rule (e.g. 60s segments)
- Runs through las-cli with a price-estimate confirmation step
Byted Las Audio Extract And Split by the numbers
- 30 all-time installs (skills.sh)
- Ranked #969 of 1,335 Generative Media skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
byted-las-audio-extract-and-split capabilities & compatibility
Requires a Volcengine LAS account (VE_TIP_TOKEN or las.apiKey); billed per-run, estimated via las-cli price before execution
- Capabilities
- audio extraction · audio splitting · media preprocessing
- Works with
- openai
- Runs
- Runs locally
- Pricing
- Bring your own API key
What byted-las-audio-extract-and-split says it does
从视频提取音轨,并按时长/规则切分音频
las-cli operators call las_audio_extract_and_split \
"split_mode": "duration",
npx skills add https://github.com/bytedance/agentkit-samples --skill byted-las-audio-extract-and-splitAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 30 |
|---|---|
| repo stars | ★ 411 |
| Last updated | August 4, 2026 |
| Repository | bytedance/agentkit-samples ↗ |
What it does
Extract an audio track from a video and split long audio into segments via Volcengine LAS.
Who is it for?
Extracting audio from video and splitting long audio by duration or rule via Volcengine LAS.
When should I use this skill?
A user wants to extract audio from a video or split long audio into slices.
What you get
An extracted audio track split into segments by the chosen strategy.
- extracted audio track
- audio segments
By the numbers
- las-cli version 0.3.8
- split_mode 'duration' with configurable split_duration (e.g. 60s)
- 4-step workflow plus Step 0 pre-check
Files
音频提取与切分 (las_audio_extract_and_split)
当用户需要从视频中提取音轨,或将长音频按规则(如时长、静音)切分时使用本 Skill。
注意事项(⚠️ 必须遵守)
- 千万不要让用户输入 AccessKey 和 SecretKey。
- 下载文件只能使用
las-cli tos download命令(兼容 tos 和非 tos 资源)。 las-cli operators call和las-cli price命令的输出结果非常重要,必须完整返回给用户。
工作流(严格按步骤执行)
复制此清单并跟踪进度:
执行进度:
- [ ] Step 0: 前置检查
- [ ] Step 1: 初始化与准备
- [ ] Step 2: 预估价格
- [ ] Step 3: 执行任务并呈现结果
- [ ] Step 4: 失败排查Step 0: 前置检查
版本检查(必须):请执行 las-cli install 0.3.8。若 las-cli 命令不存在,则执行 npm i -g "@volcengine/las-cli@0.3.8"
- 新版本提醒:请执行
npm info @volcengine/las-cli version查看当前可用的最新 Skill 版本(las-cli与 Skill 版本一一对应)。若返回版本高于本 Skill 标注版本,请先提示用户升级当前 Skill。升级方式:请用户发送自然语言指令帮我安装byted-las-audio-extract-and-split技能,等待自动完成安装即可。 - 认证检查:优先使用运行时自动注入的平台身份;若当前环境未自动注入,再运行
las-cli config show确认旧版凭证las.apiKey和volcengine.region已配置。
Step 1: 初始化与准备
- 上传资源: 若输入为本地媒体文件,先上传到 TOS。
las-cli tos upload ./input.mp4
# 假设返回 "tos_url": "tos://my-bucket/inputs/xxx.mp4"- 准备参数: 创建
params.json,指定输入、输出及切分策略,注意output_path加上唯一标识,避免覆盖已存在文件。
{
"input_path": "tos://my-bucket/inputs/xxx.mp4",
"output_path": "tos://my-bucket/outputs/audio_split/",
"split_mode": "duration",
"split_duration": 60
}Step 2: 预估价格(⚠️ 必须获得用户确认)
las-cli price 命令的输出结果非常重要,不要做任何精简、修改或摘要处理。
- 算价: 必须完整返回以下命令输出的结果(markdown 格式)
las-cli price las_audio_extract_and_split \
--params-file ./params.json \
--format markdown- 用户确认: 输出预估价格后,必须等待用户确认。
Step 3: 执行任务并呈现结果(⚠️ 直接输出命令执行结果,不要精简)
las-cli operators call 命令的输出结果非常重要,不要做任何精简、修改或摘要处理。
- 执行: 必须完整返回以下命令输出的结果(markdown 格式)
las-cli operators call las_audio_extract_and_split \
--params-file ./params.json \
--format markdown \
--out ./result.mdStep 4: 失败排查
保持原样。
- 检查输入/输出: 确认 TOS 路径是否存在、可读、可写。
- 检查配置:
las-cli config show。 - 查看帮助:
las-cli operators help las_audio_extract_and_split,检查切分参数。
# Copyright (c) 2025 Beijing Volcano Engine Technology Co., Ltd. and/or its affiliates.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.