Introduction¶
In DeepSeek Harness (DSH), creating short videos or storyboards usually involves calling official image/video APIs: you need to configure keys, pay-per-use, and generation and editing are often scattered across different tools. If you already have a quota on the Gemini web version and want to complete dubbing, transitions, subtitles, and final video verification locally, dsh-gemini-studio (maintained by springriver2, classified in the community directory as Model Inference) consolidates “web account generation + local synthesis” into a DSH plugin: it does not call the official Gemini API (except for dubbing with MiMo), consuming the quota of the Gemini account you log in with yourself. The following sections introduce its capabilities, installation steps, and typical usage; ecologically, DSH remains “everything is a plugin”, SkillHub Directory Page and DeepSeek / Fangfang have no official affiliation.
What is this¶
dsh-gemini-studio is a bundle mounted on DSH (current package version 0.6.0, MIT). It generates images and videos via a Chrome driver that bridges Gemini on a macOS with a UI, and performs camera movement, composition, verification, and optional TTS locally on the machine. The sidebar provides a “Gemini Studio” panel and includes two sets of production specification skills, video-production and video-commerce.
The plugin README clearly warns that automating operations on the Gemini web version may violate Google’s Terms of Service, and using multiple accounts with the same exit IP is more likely to trigger risk control measures. You need to evaluate this yourself before use; do not put your only main account into a rotation pool.
Core Capabilities¶
The capabilities listed in the documentation can be understood by tool and scenario as follows.
| Capability | Description |
|---|---|
| Image Generation | gemini_image: Set image, scene, props, first frame, can attach reference images |
| Video Generation | gemini_video: Text-to-video / Image-to-video, account rotation and quota cooldown |
| Account Management | gemini_accounts: Independent Chrome window for personal login, health check, remove cooldown, remove account |
| Dubbing | tts_generate: MiMo TTS, preset voices / text design / sample cloning |
| Storyboard Direct Output | short_compose: Read storyboard and acceptance records, configure transitions, dubbing timeline, subtitles, output MP4 |
| Default Original Audio | Characters speak lines from Gemini, audio-video sync; only uses TTS if narration is explicitly required |
| Manual Composition | video_compose (manifest), video_assemble (silent fast cut) |
| Static Image Camera Movement | image_to_video: ffmpeg zoompan, does not consume Gemini quota |
| Final Video Verification | media_verify: Multi-window energy check, audio version comparison, white screen detection |
| Cut Point Rearrangement | retime_shots: Align edit-in points based on voice endings |
Two general rules are written in the README: Default Gemini Original Audio; Plan 10 seconds per shot, lines spoken within 9 seconds, and edit-in points default to using the full duration.
Installation and Enablement¶
Before installation, confirm: the plugin runs with current DSH process permissions. You should check the GitHub source code and license (MIT) yourself before installing.
1. Prerequisite Environment¶
- macOS + Google Chrome (bridge uses a separate profile, must have a UI)
- Node.js 22+
- Python 3.12+ and Pillow (can use DSH’s built-in runtime if available)
- Optional system permissions: “Accessibility” + “Automation”, used for auto-filling first frame path; full list in repository
docs/PERMISSIONS.md
2. Install into DSH¶
The official README provides the installation method as a local bundle path, not a dsh plugin add github:... concatenation command:
# 把本目录放到任意位置,然后(在 DSH 里让 agent 执行,或用带 plugin_manager 的界面)
# 目标填这个目录的绝对路径
plugin_manager install_bundle /绝对路径/dsh-gemini-studio
After installation, DSH will write to the bundles in ~/.dsh/profiles/<profile>/package.json and mount gemini-studio; the sidebar will show “Gemini Studio”, and the skill directory will show video-production.
3. Bind Gemini Account¶
Sidebar “Gemini Studio” -> Input account name -> Add Account -> Opens an independent Chrome window, log in yourself and open gemini.google.com. Login state is saved in:
~/.gemini-video-bridge/profiles/<账号id>/
Repeat the above steps for multiple accounts; the bridge selects the “least recently used” available account.
4. Optional: MiMo Dubbing Key¶
Paste the key in the panel “Dubbing (MiMo)”, or set environment variable MIMO_API_KEY. Without a key, dubbing is unavailable, but other features work normally.
5. Configuration Override (Optional)¶
You can override in the profile’s cordis.patch.yml:
- id: gemini-studio
name: dsh-gemini-studio
config:
bridgePort: 8787
bridgeDir: "" # empty = use bridge/ inside the package; fill absolute path to reuse external bridge
autoStart: true
Bridge-related environment variables include BRIDGE_PORT (default 8787), MIN_GAP_SECONDS (default 90), DAILY_CAP (default 8), COOLDOWN_HOURS (default 5), CHROME_BIN, etc., see README table.
Typical Usage¶
After installation, you can speak directly in the DSH chat (README example):
用 gemini 生成一张图:茶室里的五色手串,柔光,竖屏
用 gemini 生成一条 8 秒视频:雨后的青石板路,镜头低角度前推,9:16
看看我的 gemini 账号状态
The full process of a short drama is driven by the skill video-production, for example, “Use video-production to make a 30-second short drama”. Project directory conventions:
<项目>/
├── project.json 画幅 / fps / 声音模式(native 或 post)/ 字幕开关
├── storyboard.json 场次 + 镜头(十列分镜表数据源)
├── tasks.json 生成任务、验收记录、媒介
├── assets/voices/ 后配 TTS:<镜号>.wav
├── assets/videos/ 生成的镜头
├── assets/edits/ 字幕与回执
└── exports/ 成片
studio.mjs render outputs the ten-column storyboard table and shot execution card; short_compose(project=...) outputs the video in one command, reports shot number if verification fails. For native audio, subtitles are generated based on real voice intervals. The panel also provides account status, generation (including semi-automatic stop before sending), work wall preview gemini-out/ final video.
Applicable Scenarios and Notes¶
Suitable for: Developers who already do agent workflows in DSH and want to use their own Gemini web quota to complete from storyboard to MP4; users who can accept macOS + headful Chrome and are willing to handle web automation compliance and risk control risks.
Do not expect: Headless/server batch runs (README states only headful machines allowed); Gemini page updates causing bridge failure; multi-account rotation only for quotas, not eliminating IP association; native audio color drift between shots; without Accessibility/Automation permissions, generation with first frame may degrade to pure text-to-video.
Troubleshooting is in the repository docs/TROUBLESHOOTING.md; contribution methods are in Issue / CONTRIBUTING in the README.
Conclusion¶
dsh-gemini-studio puts Gemini web generation, multi-account rotation, MiMo narration, local composition, and verification into a DSH pipeline, along with short drama and e-commerce video production specifications. For reference and installation, please refer to the repository:
- Community directory: https://www.skillhub.cn/plugins/springriver2/dsh-gemini-studio
- Source code and documentation: https://github.com/springriver2/dsh-gemini-studio