dsh-bili-scroll
c1overzz
DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:shimingming520/dsh-videogen
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
AI video generation + processing for DeepSeek Harness (DSH) — turn your DSH web GUI into a video studio: multi-vendor text-to-video / image-to-video channels, FFmpeg processing (frames / GIF / compress / concat) and a prompt-driven storyboard studio, from the sidebar panel or straight from the Agent.
/v1/videos (Sora spec, gateway-friendly), Kling (text2video / image2video, JWT or Bearer), MiniMax Hailuo (task + file retrieve), Volcengine ARK (Doubao Seedance) and a fully custom generic async channel (submit URL, body template with {{prompt}} {{model}} {{image}} {{duration}} …, poll URL template, status/result paths) — add as many as you needinfo probe, frames extraction (evenly spaced or at a timestamp), video_to_gif (two-pass palette), image_compress, and concat with crossfade + background music{{variable}} slots; generate every shot through the configured channel, then compose the whole board into one video with FFmpeggenerate_video (text2video / image2video, wait or query by task_id), video_process, search_video_library, manage_storyboard — plus bundled session skills (/video:gen, /video:process, /video:storyboard)~/.dsh/dsh-videogen/, generated videos cached same-origin, optional auto-save to the library with full provenanceDSH host (Node ≥ 20) required.
dsh plugin --profile web add dsh-videogen
Local development install:
dsh plugin --profile web add /path/to/dsh-videogen
Restart dsh web — the sidebar shows the AI Video entry.
+ Add provider) or + Add custom providerAccessKey:SecretKey for JWT signing), and the model catalog — use Fetch available models to import them| Preset | Submit | Poll | Auth |
|---|---|---|---|
| OpenAI-compatible | POST {base}/videos |
GET /videos/{id} |
Bearer |
| Kling | POST /v1/videos/text2video / image2video |
GET …/{task_id} |
Bearer token or AccessKey:SecretKey → HMAC-SHA256 JWT |
| MiniMax Hailuo | POST /v1/video_generation/v1 / image_to_video/v1 |
task poll + /v1/files/retrieve/{file_id} |
Bearer (+ ?GroupId= on apiUrl) |
| Volcengine ARK | POST …/contents/generations/tasks |
GET …/tasks/{id} |
Bearer |
| Custom generic | your submitUrl + bodyTemplate |
pollUrlTemplate |
configurable header/scheme |
| Tool | Purpose |
|---|---|
generate_video |
Submit a text2video/image2video task (or query by task_id); waits by default and returns same-origin video URLs |
video_process |
FFmpeg processing: info / frames / gif / compress / concat on URLs or ws:<workspaceId>/<path> files |
manage_storyboard |
list_templates / new / get / update_shot / attach_video / compose / generate_all |
search_video_library |
Find and reuse previously generated/saved videos |
Typical session commands (skills bundled with the plugin):
/video:gen Cinematic shot of a neon-lit city, camera dolly-in, 9:16
/video:process Extract 4 frames from the generated video
/video:storyboard Make a 15s product launch video for NEON X1
/api/dsh-videogen/*, loopback-only routes)~/.dsh/dsh-videogen/FFMPEG_PATH → bundled @ffmpeg-installer/ffmpeg → system ffmpeg on PATH → ffmpeg-static; install via brew install ffmpeg if none existpnpm install
pnpm run typecheck # tsc --noEmit
pnpm run test # vitest run
pnpm run build # tsdown → lib/index.js + lib/client.js CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。