Introduction¶
When working with lyrics-based content in DeepSeek Harness (DSH), common practices include writing custom scripts to call ffmpeg, or submitting copy to generic video tools, followed by manual alignment of beats and visual styles. JIZURA is an online text PV generation application that supports JIZURA markup, BPM detection, and various visual presets, but the complete workflow still requires operation within a browser.
dsh-tool-jizura is a community-maintained DSH network tool plugin: it drives the JIZURA page locally using Playwright, sets project state via its public window.J / J.uiApi interfaces, and exports MP4s or PNG sequences. It consolidates the “lyrics input → beat matching → video output” workflow into a single tool call. The return value includes BPM, style, and file paths, facilitating verification within the session whether beat matching was successful.
What is this¶
- Plugin Name: dsh-tool-jizura (npm package name is the same as the repository name)
- Maintainer: Flooding-Rain
- Category: Network Tool (Classified in the community directory SkillHub)
- Version: 0.1.0 (See repository
package.json) - License: MIT
The plugin targets developers or agent orchestration scenarios with DSH installed: it takes lyrics (with optional background music and style parameters) as input and produces text PV videos or consecutive PNGs (ZIP). It is not intended to replace the JIZURA application itself or DeepSeek’s official capabilities.
Core Features¶
The following capabilities are derived from the repository README and implementation notes.
Automatic Beat Matching and Audio Analysis¶
When audioPath (absolute path to background music) is provided, the plugin waits for JIZURA to complete async BPM detection, ensuring that visual cuts land on the beat grid. The bpm, beatCount, and audioDuration fields in the return object are used to confirm if beat matching was effective; if there is no audio, a video can still be produced, but bpm will be 0, and energy-based segment contrast will be disabled.
Mood, Intensity, and Style¶
- Mood
mood: 8 options includingglitch,calm,pop,graphic,editorial,emotional,horror,chaos. - Intensity
intensity: 0–1, linearly interpolated within the current mood’s intensity range, driving JIZURA’s 13 effect parameters (motion, glitch, chroma, texture, density, etc.). - Preset
stylePreset:auto(default),light,dark,neon. This expands into a style pack + mood + intensity; explicitly passingmood/intensitywill override preset inference. - Direct Style
styleKey: 27 style keys, prioritized overstylePreset; invalid keys are ignored in favor of the preset. The actual effective values are found in the returnedstylefield.
Segment Contrast and Visual Parameters¶
autoDynamics(defaulttrue): When audio is present, adjusts the cut density of each line based on the energy envelope; quiet segments converge, while intense segments are cut more frantically.paletteLock: Locks the first color palette of the style to avoid changing colors line by line.- Aspect Ratio
aspectRatio:16:9,9:16,1:1; Resolution720/1080/1440/2160; Frame Rate24/30/60; Qualityquality:standard/high/max. - Green Screen Background
keyBg:off/green/black;seedallows reproduction of random results from the same input.
Output Format and DSH Integration¶
outputFormat:mp4orpng_sequence(JIZURA exports as a single ZIP, not a raw PNG directory).- Respects DSH cancellation signals: closes the browser process if the call is aborted.
- The implementation mainly calls JIZURA’s
J.ui.project,J.uiApi.replan()/syncUI(),J.omakase,J.analyzeAudio, etc.; however, lyrics filling, audio file injection, and clicking export still rely on the DOM.
Installation and Activation¶
DSH community plugins are installed via profiles. Please use the command in the README and do not construct repository paths yourself.
dsh plugin --profile web add github:Flooding-Rain/dsh-tool-jizura
Prerequisites¶
The plugin relies on Playwright on the Node.js side. Install Chromium before first use:
npx playwright install chromium
It is recommended to read the GitHub repository source code and the MIT license before installation. The plugin runs with the permissions of the current dsh process and will launch a headless browser to read/write your specified local audio and output directories.
Typical Usage¶
Lyrics Only¶
{ "lyrics": "夜明けの色を/覚えてる\n*透明*なままの街" }
lyrics supports JIZURA markup: / for cuts, *emphasis*, [間奏 8] (interlude), LRC timestamps, etc.
With Music, Mood, and Portrait Mode¶
{
"lyrics": "夜明けの色を/覚えてる\n*透明*なままの街\n君の名前を呼んだ",
"audioPath": "D:\\music\\song.mp3",
"mood": "emotional",
"theme": "ballad",
"intensity": 0.7,
"aspectRatio": "9:16",
"resolution": 1080,
"outputDir": "D:\\output\\pv",
"title": "夜明け",
"seed": 20261007
}
Natural Language Example in a dsh Session¶
In a session, you can instruct the model to call the tool generate_jizura_pv, for example: Use emotional mood, intensity 0.7, match with D:\music\song.mp3, output a 16:9 MP4 to D:\output\pv, and paste the lyrics text.
Return Value Example¶
On success, execute returns a structured object (excerpt):
{
"path": "D:\\output\\pv\\夜明け.mp4",
"bpm": 120,
"beatCount": 25,
"audioDuration": 12,
"style": "noir",
"mood": "emotional",
"intensity": 0.7,
"dynamicsApplied": true
}
If the lyrics are empty, the browser is not launched; path will be empty with a prompt indicating no generation occurred. Browser or analysis timeout issues are presented as error cards.
Scenarios and Notes¶
Who it is for
- Users already orchestrating toolchains in DSH who need to automate “Lyrics → Text PV” and want to see BPM, style, and file size in the return values.
- Users accepting dependence on the behavior of the online JIZURA application (README is based on JIZURA v0.10.1 source code and actual testing to summarize upstream rules).
Things you must know
- Export Duration: When audio is present, the export length is determined by the audio (regardless of the number of lyric lines). If the lyrics do not cover the entire track, use
[間奏 N](supports decimals) to fill the gap; otherwise, long periods of empty screen will occur. - Bilingual & Notes:
|notes often do not display on multi-cut lines; translations should ideally be written as separate lines with LRC timestamps. - Paths: Use local absolute paths for
audioPathandoutputDir; the default output directory is./jizura-pv-output. - Security: As a network tool, it accesses the JIZURA site and manipulates local files. Please review the plugin code and permission scope yourself before installation.
The community plugin directory SkillHub Plugin Page and the GitHub repository are independent of each other, and neither is an official DeepSeek / High-Flyer app store. The DSH ecosystem follows “Everything is a plugin”; selection should be based on repository documentation and source code.
Links¶
- Community Directory: https://www.skillhub.cn/plugins/Flooding-Rain/dsh-tool-jizura
- Source Code & Full Parameter Table: https://github.com/Flooding-Rain/dsh-tool-jizura
- Upstream JIZURA: https://852wa.github.io/JIZURA/