@byteplus/amk-editor

中文文档
1.0.2发布于 2026/11/06SEE LICENSE IN LICENSETypeScriptESM + CJS近 30 天下载 4577

VEVeditor 的 AMK 情景编辑器包

中文使用文档
文档目录4 节
  1. 文档
  2. 安装
  3. 快开始
  4. 许可证

@byteplus/amk编辑器

BytePlus AI MediaKit网络视频编辑器SDK用于媒体管理,多轨编辑,预览,并导出.

文档

见 整合网络编辑 SDK 用于设置、后端代理集成、认证和配置.

安装

npm install @byteplus/amk-editor

快开始

import { AmkEditor } from '@byteplus/amk-editor';

const editor = new AmkEditor({
  container: document.getElementById('editor')!,
  projectId: 'your-project-id',
  endpoint: '/api/amk-proxy',
  source: 'your-app-name',
  theme: 'light',
});

await editor.whenReady();

// Release the instance when the page unmounts.
editor.destroy();

在浏览器中以明确大小的容器初始化. 通过您的后端创建工程并处理认证 。 SDK包括自己的React运行时间;原始媒体URL必须支持CORS. 完整配置参考整合指南.

许可证

需要有有效的商业许可证。 见 自由主义。 。 。 .

版本与发布记录

@byteplus/amk-editor 共发布 38 个版本,首次发布于 2026/09/29;过去 12 个月发布了 38 个版本。

版本发布日期距今
1.0.2latest2026/11/062 天前
1.0.2-beta.1beta2026/11/053 天前
1.0.2-beta.02026/11/053 天前
1.0.12026/11/035 天前
1.0.1-beta.72026/11/035 天前
1.0.1-beta.62026/11/035 天前

关于 @byteplus/amk-editor 的常见问题

@byteplus/amk-editor 是什么?

VEVeditor 的 AMK 情景编辑器包

如何安装 @byteplus/amk-editor?

在项目目录运行 npm install @byteplus/amk-editor,或使用 pnpm add / yarn add / bun add。

@byteplus/amk-editor 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@byteplus/amk-editor 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@byteplus/amk-editor 可以商用吗?

@byteplus/amk-editor 使用 SEE LICENSE IN LICENSE 许可。许可条款写在包内的独立文件中,请阅读该文件确认可否商用。以上为概括,不构成法律意见,请以许可原文为准。

@byteplus/amk-editor 的下载量有多少?

根据 npm 官方下载统计,@byteplus/amk-editor 在 2026/10/09 – 2026/11/07 这 30 天内被下载 4,577 次,日均约 153 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@byteplus/amk-editor 还在维护吗?

最新版本 1.0.2 发布于 2026/11/06(2 天前);至今共发布 38 个版本,其中过去 12 个月发布了 38 个;首次发布于 2026/09/29。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。