DeepSeek Harness 插件 · 开源Open-source plugin for DeepSeek HarnessLGPL-3.0

鲸歌工坊Whalesong StudioWhalesong Studio鲸歌工坊

和一支 AI 剧组一起写长篇小说。你拿主意,它们分头去写、去记、去查、去画、去配音——写到几十万字,人物还是那个人物,前后还对得上。

Write a long novel with a crew of AI agents. You make the calls; they write, keep track, look things up, draw and give it a voice — so that hundreds of thousands of words in, your characters are still themselves and the story still adds up.

适用于 DeepSeek Harness 0.2,桌面版、网页版都能用;写作用你已经在用的任何文字模型。

For DeepSeek Harness 0.2, desktop or web. It writes with whichever text model you already use.

DeepSeek-chan, the whale-girl maid, sits on a stack of books reading aloud; the pages fly out and become scenes — Alice following the White Rabbit, the Cheshire Cat in a tree, a Chinese garden with a pavilion and a young lady with a flower hoe — while four little whales carry a clipboard, a story map, a clapperboard and a film reel.
封面用 GPT Image 绘制。DeepSeek 娘的形象参考了上善无形的“溟月”和 ZipZipPipe 的 DeepSeek 女仆设定。
Cover drawn with GPT Image. DeepSeek-chan after 溟月 by 上善无形 and the DeepSeek maid design by ZipZipPipe.

一键发布Publish

一键把你的创意变成电子艺术品。

Turn your story into a work of digital art, in one click.

写完的书,一键发布成一个网站:正文排好了版,每个人物有画像和小传,书里的地方可以一层层走进去看。读者不用装任何东西,手机上也能读。

Publish a finished book as a website with one click: the text set for reading, a portrait and a short biography for every character, and places your readers can step into. Nothing to install — it reads beautifully on a phone, too.

下面两部经典就是这样做出来的,点开就能读:

Two classics, made this way. Open one and start reading:

核心想法The idea

一个剧组,而不是一个模型。

A crew, not a single model.

会规划、会用工具的模型,文笔往往一般;文笔最好的模型,又管不好一部长篇。所以鲸歌工坊不指望一个模型包办一切,而是组一个小班子,各干所长。

Models that plan and use tools well rarely write beautiful prose, and the best prose writers rarely manage a big project well. So Whalesong Studio doesn't ask one model to do everything — it puts together a small crew, each doing what it does best.

总编ShowrunnerShowrunner总编

和你对话的那一位 · 模型由你挑

the one you talk to · any model you like

听懂你想要什么,安排下一步写什么,把活派给大家,再向你汇报。它自己不写正文。

Works out what you want, plans what comes next, hands out the work and reports back. It never writes the story itself.

写手WriterWriter写手

专门写正文 · 模型由你挑

writes the prose · a model you choose

起草、续写、改写。每次动笔前,都会拿到这一章需要的一切:设定、人物此刻的状态、前情、伏笔、章纲和文风。

Drafts, continues and rewrites. Before every chapter it is handed everything that chapter needs: the setting, where each character stands, what came before, the open threads, the outline and the style.

场记ContinuityContinuity场记

记性最好的那一位

the one who remembers

每写完一章,就记下发生了什么、每个人变成了什么样。也像责任编辑一样审稿:说哪里前后矛盾,会把原文找出来给你看。

After every chapter it notes what happened and how everyone has changed. It also reviews like an editor — and when it says something contradicts an earlier chapter, it shows you the passage.

策划PlannerPlanner策划

出主意的那一位 · 能上网查资料

the one with ideas · can search the web

推演接下来的情节,充实人物和世界观,也陪你试试“如果……会怎样”的另一种走向。

Works out what could happen next, fleshes out the characters and the world, and tries out “what if…” turns of the story with you.

导演DirectorDirector导演

管声音和画面

sound and pictures

把章节改编成有声剧和分镜。你想亲自扮演书里的某个人时,由它来演其他所有人。

Adapts chapters into audio drama and storyboards — and when you step into the story as one of the characters, it plays everyone else.

后期Post-productionPost-production后期

会自己动手剪片

cuts the video itself

把配音、音效和画面剪成一段视频,自己先检查一遍,合格了才交给你。

Edits voices, sound and pictures into a video, checks the result itself, and hands it over only when it passes.

这些角色都是真正的 agent。每次干活,都会在对话里留下完整的记录:查了什么、交了什么、花了多少,一清二楚。不想聊天也没关系——所有功能在工坊的界面里都能直接点。

Every member of the crew is a real agent, and every job leaves a full record in your conversation: what it looked up, what it handed in, what it cost. Prefer buttons to chat? Everything can be done from the Studio's own screens, too.

看一看A look around

边聊边写,书就开在旁边。

Talk it through. Your book is open right beside you.

截图里是导入的《红楼梦》前八十回,书里的画都是在工坊里画的。

The screenshots show Lewis Carroll's Alice's Adventures in Wonderland, imported in full. Every picture in it was drawn in the Studio.

鲸歌工坊开在和总编的对话旁边:总编讲完滴翠亭那一段,第二十七回就打开在右边Whalesong Studio beside the conversation: asked to, the showrunner opens the Hatter's page on the right — his portrait, drawn in the Studio

写到几十万字,也不会忘了前面

Hundreds of thousands of words in, nothing is forgotten

每写完一章,工坊都会记下这一章发生了什么、每个人物此刻怎样、哪些伏笔有了进展。写下一章时,前情梗概和最近几章的原文都会交到写手手里,书不长的时候就是全文。所有修改都先给你看:改了哪里一目了然;采纳之后,原来的版本也一直留着。

After every chapter, the Studio notes what happened, where each character stands and which threads moved. When the next chapter is written, the writer gets a summary of everything before plus the last few chapters in full — the whole book, while it's short enough. Every change is shown to you first, side by side; accept it, and the old version is still kept.

写作页:章节列表、正文,右边是这一回的章纲The Write page: the chapter list, the text, and the chapter's plan on the right

每个人物,都有自己的一页

Every character gets a page of their own

每个人物有一张卡:性格、关系、在书里经历了什么,还有长相和声音——之后的每一张画、每一句配音都照着它来。翻到人物页,大幅画像旁边就是他的小传。

Each character has a card — personality, relationships, what they go through in the book, how they look and sound — and every later picture and every spoken line follows it. Their page shows a large portrait beside their story.

王熙凤的人物页:大幅画像,旁边是外貌、性格和来历The Cheshire Cat's page: a large portrait beside how it looks, what it is like and where it comes from

走进书里的地方

Step into the places of the book

书里的地方一层套一层:贾府里有大观园,大观园里有潇湘馆、怡红院。有画的地方会展开成一幅场景,园中各处、住在里面的人都标在画上,点一下就进去;拖动时间轴,还能看它在某一回时的样子。

Places nest inside one another — Wonderland holds the hall of doors, the wood, the garden and the March Hare's house. Open one to see its picture, what it contains and who lives there; drag the timeline to see it as it was at any chapter.

大观园:园中各处和住在里面的人都标在画上Wonderland: its picture, and the places inside it
阅读:第三回,插图就在正文里Reading: chapter 1, with its picture in the text
阅读:排版讲究,插图就在正文里;切到“收听”就是一部有声书。
Reading: carefully typeset, with the pictures in the text — switch to Listen and it becomes an audiobook.
图库:人设图、立绘、地方和封面The gallery: design sheets, portraits, places and the cover
图库:一本书一种画风,每张画都能查到是怎么画出来的。
Gallery: one consistent look per book, and every picture remembers how it was made.

导入写完的书

Bring in a book

把已有的书拖进来(txt、md、epub、docx),工坊会自动分章、整理人物和世界观、学会原作的文风,然后就能接着写。

Drop in a manuscript (txt, md, epub, docx). The Studio splits it into chapters, sorts out the characters and the world, learns the style — and you can carry on writing.

想改哪里就说

Change anything, just ask

改一句、改一章,还是全书统一改一处设定,说一声就行;每处改动都先给你过目。

A line, a chapter, or one detail changed across the whole book — just ask. You see every change before it goes in.

剧情分支

Branching plots

想试试另一种走向?开一条支线写写看。哪条更好,就把哪条定为主线,写过的一个字都不会丢。

Curious where another turn would lead? Write it as a branch. Whichever works better becomes the main line, and nothing you wrote is lost.

有声剧

Audio drama

旁白、对白、心里话和环境音分开来配。每一句都会自动检查,断了、没声、不像这个人了,就重录。

Narration, dialogue, inner thoughts and ambient sound, each voiced on its own. Every line is checked, and re-recorded if it comes out cut off, silent or in the wrong voice.

有声漫画与视频

Motion comics and video

画面跟着配音一格格播放;也能把一章剪成一段视频。

Panels that play along with the voices — or a whole chapter cut into a video.

亲自演一场

Step into a scene

扮演书中的一个人物,和其他角色对戏——一部边演边生成的视觉小说。

Play one of the characters while the others answer you — a visual novel that writes itself as you go.

手机上读,或发布成网站

On your phone, or on the web

同一个 Wi-Fi 下,手机扫码就能读;也能一键发布成网站,发给任何人。

Scan a code to read on your phone over Wi-Fi, or publish the book as a website anyone can visit.

加密

Private books

不想让人看到的书,可以整本加密,连同你和 AI 关于它的对话。

Lock away a book you'd rather keep private — along with your conversations about it.

所有功能的完整说明 →Everything it can do, in full →

画廊Gallery

书里的人,一个个画出来。

The people of a book, drawn one by one.

每个人物先画一张正面、侧面、背面的设定图,之后每次画这个人都以它为准,所以前后长得一样。下面这些都出自上面两本书,用的是 GPT Image;你也可以换成任何喜欢的绘图模型——Qwen-Image、FLUX、Seedream……或者在自己电脑上跑的本地模型。点开看大图。

Each character first gets a design sheet — front, side and back — and every later picture of them is drawn to match, so they always look like themselves. These come from the two books above and were drawn with GPT Image; you can use any image model you like instead — Qwen-Image, FLUX, Seedream… or a model running on your own computer. Click any one to see it large.

贾宝玉
贾宝玉《红楼梦》
林黛玉
林黛玉《红楼梦》
薛宝钗
薛宝钗《红楼梦》
王熙凤
王熙凤《红楼梦》
贾母
贾母《红楼梦》
刘姥姥
刘姥姥《红楼梦》
爱丽丝
爱丽丝《爱丽丝漫游奇境》
白兔
白兔《爱丽丝漫游奇境》
柴郡猫
柴郡猫《爱丽丝漫游奇境》
帽匠
帽匠《爱丽丝漫游奇境》
红心王后
红心王后《爱丽丝漫游奇境》
毛毛虫
毛毛虫《爱丽丝漫游奇境》
Alice
AliceAlice's Adventures in Wonderland
The White Rabbit
White RabbitAlice's Adventures in Wonderland
The Cheshire Cat
Cheshire CatAlice's Adventures in Wonderland
The Hatter
HatterAlice's Adventures in Wonderland
The Queen of Hearts
Queen of HeartsAlice's Adventures in Wonderland
The Caterpillar
CaterpillarAlice's Adventures in Wonderland
Jia Baoyu
Jia BaoyuDream of the Red Chamber
Lin Daiyu
Lin DaiyuDream of the Red Chamber
Xue Baochai
Xue BaochaiDream of the Red Chamber
Wang Xifeng
Wang XifengDream of the Red Chamber
Grandmother Jia
Grandmother JiaDream of the Red Chamber
Granny Liu
Granny LiuDream of the Red Chamber

安装Install

三种装法,挑一种。

Three ways to install. Pick one.

桌面版

Desktop app

  1. 左侧栏点插件 → 添加插件。
  2. 填 github:xuhao1/whalesong-studio,或者下载好的安装包、源码文件夹的完整路径。
  3. 装好后,左侧栏会出现鲸歌工坊;新建会话时选小说家 Novelist 就能开始。
  1. Open Plugins in the left sidebar and choose Add plugin.
  2. Enter github:xuhao1/whalesong-studio, or the full path to a downloaded package or a source folder.
  3. Once installed, Whalesong Studio appears in the sidebar; start a new session with the 小说家 Novelist preset.

网页版

Web UI

电脑上需要装有 pnpm。

Needs pnpm on your PATH.

dsh plugin --profile web add \
  github:xuhao1/whalesong-studio

从源码构建

Build from source

需要 Node.js 22 或更新。

Needs Node.js 22 or later.

git clone https://github.com/xuhao1/whalesong-studio.git
cd whalesong-studio
npm install   # builds lib/
npm pack      # → .tgz

需要 DeepSeek Harness 0.2.0-rc.2 或更新的 0.2 版本。第一次打开时,选一家服务、贴一个 API key,画图、配音、检索就全都配好了;写作用的文字模型,就是你在 DeepSeek Harness 里已经在用的。有 ChatGPT 订阅的话,画图连 key 都不用。

Requires DeepSeek Harness 0.2.0-rc.2 or a later 0.2 release. The first time you open it, pick a service and paste one API key — pictures, voices and search are all set up at once; the writing uses whatever text model you already have in DeepSeek Harness. With a ChatGPT subscription, pictures need no key at all.

开源Open source

创作你自己的鲸歌。

Write your own whale song.

代码以 LGPL-3.0 开源。你的书就是自己电脑上的一个普通文件夹(Markdown 和 JSON),想用 git 管理也行。除了你自己选的模型服务,数据不会发往任何地方,也没有任何统计上报;API key 只存在你的电脑上。

The code is open source under the LGPL-3.0. Your book is an ordinary folder on your own computer — Markdown and JSON, happy to live in git. Nothing goes anywhere except to the model services you choose; there is no telemetry, and your API keys never leave your machine.

DeepSeek-chan sitting on a stack of books, waving, an open book in her lap