huashu-design
alchaincyf
Huashu Design 3.0 · 在 agent 里打一句话,拿回能交付的设计:网页 / App 原型 / 可编辑 PPTX / 动画 / 信息图 · 六个候选挑三个方向 · 84 种带样张的风格库 · 越用越懂你的外观账本与设计体检 · HTML-native design skill for Claude Code, Codex, Cursor & any agent
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:t1897/dsh-video-narrator
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DSH skill that turns a video, video URL, article URL, PDF, or plain text into a narrated video: cleaned transcript, segmented narration script, title and 10 tags, per-scene image prompts, generated images, TTS audio, and a final MP4 assembled with ffmpeg.

vcs auto runs the whole pipeline in one local process; the agent only starts it and handles failures.
04_metadata.json.metadata.title, and removes intermediates.ffmpeg and ffprobe on PATH.yt-dlp for video URLs.pypdf and trafilatura for ingestion.mlx-audio and mlx-qwen3-asr for ASR/TTS.Install from the DSH plugin market, or use Plugins → Add plugin with this repository. The bundle registers the video-narrator skill; no separate skill copy is needed.
Copy the environment template and fill only the keys you use:
cp .env.example .env
For multiple text or image accounts, copy providers.example.json to providers.json and edit the ordered profiles:
cp providers.example.json providers.json
python3 scripts/vcs.py providers --file providers.json
providers.json is gitignored. Keys are read from environment variables named by api_key_env. The text array is tried in order by vcs text; the image array is tried in order per scene. ModelScope domestic (api-inference.modelscope.cn) and international (api-inference.modelscope.ai) endpoints can be mixed.
vcs auto can stop at a node or recompute one node:
# New source: run from ingest through the narration script
vcs auto --input <source> --target script
# Existing project: stop after the narration script, reusing upstream
vcs auto --project <dir> --target script
# Rebuild everything up to the narration script
vcs auto --project <dir> --target script --rebuild
# Redo only the voiceover
vcs auto --project <dir> --only tts --rebuild
Nodes: asr, cleanup, script, metadata, prompts, images, tts, final. The workbench exposes the same choice as Task scope + Node, and uses the selected history project for --project.
After installation, a Video entry appears in the left sidebar. It opens a persistent main-panel workbench: the left side lists past projects from runs/ and projects/ (title, status, orientation, duration, image count), and the right side configures the next video (source, orientation, resolution, duration, segment length, voice, style) plus Task scope (full pipeline / run through a node / redo one node) and Rebuild. Start creates a new session with a structured request. The request carries [VCS_PARAMS_CONFIRMED], so the skill starts without asking the same parameters again.
Ask the agent for a video from a URL, PDF, article, or text. Before doing anything, the skill opens the parameter confirmation dialog and asks for orientation, duration (fixed, range, or unlimited), segment length, resolution, voice, and style. After confirmation it runs one vcs auto command; the agent does not write or orchestrate the intermediate files.
The CLI is also usable directly:
# ingest
python3 scripts/vcs.py ingest --input "https://www.youtube.com/watch?v=..." --orientation portrait --duration 5-8
# transcribe video input
HF_HOME="$HOME/.cache/vcs/hf" python3 scripts/vcs.py asr --project <project> --language English
# Agent writes 02_transcript.md / 03_script.json / 04_metadata.json / 05_image_prompts.json, then:
python3 scripts/vcs.py validate --project <project>
# media
python3 scripts/vcs.py images --project <project>
HF_HOME="$HOME/.cache/vcs/hf" python3 scripts/vcs.py tts --project <project>
python3 scripts/vcs.py compose --project <project>
projects/
└── YouTube_11122026_<metadata title>/
├── 01_transcript.raw.txt
├── 02_transcript.md
├── 03_script.json
├── 04_metadata.json
├── 05_image_prompts.json
├── 06_images/scene_001.jpg
├── 07_<metadata title>.mp4
└── source/<original>.pdf # PDF input only
Audio, scene clips, logs, and temporary files are removed after compose by default; pass --keep-intermediates to keep them. 04_metadata.json records the source type, platform or domain, original URL, syndicated URL, or copied PDF path.
-q:v 2) to keep projects small; legacy PNG projects remain readable.assets/voice_female.mp3 and assets/voice_male.mp3. TTS always requires a reference voice; pass --voice-ref and --voice-ref-text to use a different authorized voice. The samples are not MIT-licensed; see assets/VOICE-LICENSE.md.vcs ingest --html.MIT. See LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: image、images、video、art。