dsh-shengcheng
Manifest validDSH desktop plugin: generate images with logged-in Grok/GPT accounts, and videos with Grok
shengcheng
当前项目是深度适配个人使用,项目只是给大家提供思路和借鉴,尽量不要直接照搬。
用 DeepSeek Harness 里已经登录的 Grok / GPT 账号生图,Grok 还能生成视频。当前对话模型不是它们也可以调用。不要走 API key,不要让模型自己 curl。
- Grok:
grok-imagine-image-2.0生图,grok-imagine-video-1.5生视频 - GPT:
gpt-image-2生图(Codex 账号接口)。GPT 不能生视频
工具只有一个:shengcheng(kind=image 默认,或 kind=video)。文件默认写到会话工作目录,没有工作目录则写到下载文件夹。zhanshi 会预览本轮 saved …png/mp4 的落盘结果。token 只在 Host 读取 $DSH_HOME/.credentials.yaml 的 llm-pi-ai/xai、llm-pi-ai/openai-codex,不会进对话。
安装
复制到 $DSH_HOME/plugins/shengcheng,在 $DSH_HOME/profiles/desktop/cordis.patch.yml 写入:
- insert:
- id: shengcheng
name: ../../plugins/shengcheng/lib/index.js
完全退出 DeepSeek Harness(macOS:⌘Q)再打开。
说明
- 先用输入框下方的 OAuth 插件登录对应账号
provider=auto:当前对话是 Grok/GPT 就用那个账号;否则有 Grok 用 Grok,否则用 GPT- 生成视频:
kind=video,只用 Grok;指定provider=gpt会直接报错 - 不读取
~/.grok/auth.json/~/.codex/auth.json
开发
node --check lib/index.js lib/parse.js lib/oauth.js lib/media.js lib/tools.js
node --test
Comments
Loading…
Similar plugins
by dong2007-png
DSH plugin: generate images via a New API relay (tools: generate_image, list_image_models)
★ 0
MIT
JavaScript
Oct 1, 2026
dsh plugin --profile web add dsh-imagegenby toolazytoname
DeepSeek Harness plugin: drive the local Grok Build CLI for text, image, and video.
★ 0
MIT
TypeScript
Aug 17, 2026
dsh plugin --profile web add dsh-plugin-grokby q253595422
DeepSeek Harness plugin: image + video generation studio with an infinite canvas. Fork of dickpy/dsh-imagegen with a complete video pipeline and clip stitching.
★ 91
↓ 3k/wk
Apache-2.0
TypeScript
Nov 10, 2026
dsh plugin --profile web add @q253595422/dsh-imagegen-videoby lsjspl
Gives dsh the ability to generate images and videos through the grok2api API.
★ 3
↓ 176/wk
JavaScript
Aug 24, 2026
dsh plugin --profile web add dsh-plugin-grok2api-media-toolby ant404
Generate images and videos in DSH chat via OpenAI-compatible providers configured in Model settings; dedicated Settings menu and workspace media_gen output.
★ 3
↓ 1.9k/wk
MIT
JavaScript
Aug 23, 2026
dsh plugin --profile web add dsh-media-genby miller-owo
The GPT Image image generator plugin for DeepSeek Harness.
★ 0
MIT
JavaScript
Oct 18, 2026
dsh plugin --profile web add dsh-image-gen-plugin