lovstudio/dsh-video-studio0

@lovstudio/dsh-video-studio

基于 Remotion、GSAP 和可插拔 ASR 的本地优先视频编辑工作台,直接集成于 DSH 侧边栏中。

AI 分析

核心用途是在 DSH 内部进行视频剪辑与制作。适合需要结合 AI 能力、利用代码和时间线工具进行本地视频编辑与渲染的用户。

包名
@lovstudio/dsh-video-studio
版本
0.1.0
许可证
MIT
最近更新
2026年9月5日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lovstudio/dsh-video-studio

Service API, configuration, and extension points

All HTTP routes live under /video-studio/. The DSH host checks the connection service's requestRejection() before serving either API or static files. The browser has no API secrets. Media reads support byte ranges and HEAD for seeking.

EndpointBehavior
GET api/capabilitiesActual ASR and rendering availability
GET api/projectsSaved projects
PUT api/projects/:idValidate and atomically save a project
POST api/assetsStream a media upload into the managed asset store
GET media/:idAuthenticated managed media, including Range requests
POST api/renderQueue an immutable project snapshot for MP4 export
POST api/asrQueue a transcription for an uploaded asset
GET api/jobs/:idJob state and progress
POST api/jobs/:id/cancelCancel queued or running work
GET exports/:id.mp4Download a completed render

For asset upload, the body is the binary file; query fields describe name, kind, duration, and optional width/height. Projects use versioned frame-based data. The host accepts only managed asset references for rendering. Each render receives a temporary loopback media server exposing its snapshot's asset allowlist, without giving Chromium the user's DSH login cookie.

ASR requires explicit server configuration. Choose a provider/model supporting timestamped segments:

export DSH_VIDEO_ASR_ENDPOINT='https://your-provider.example/v1/audio/transcriptions'
export DSH_VIDEO_ASR_MODEL='your-timestamp-capable-model'
export DSH_VIDEO_ASR_FORMAT='diarized_json' # or verbose_json