A local-first multi-agent app development platform, built on PenguinHarness
Agents can generate images: one command, a picture in the workspace
- Date: 2026-10-28
- Type: feat
- Scope:
plugins,core,docs - Breaking: no
Adelie could make a video but not a picture: Ark's image generation (Seedream) was left out of the model
catalog because a Session cannot hold a conversation on it, and no plugin covered the gap. The new
use-seedream plugin fills it — one dependency-free Node script that turns a prompt into images and
saves them into the workspace, next to the use-seedance the video side already had.
The same command also covers what makes the Seedream family interesting: up to 14 reference images (a
local file is inlined, so nothing has to be uploaded first), a group of up to 15 images in one request,
a layer split — one backdrop plus up to 16 individually editable transparent PNG layers, with each
layer's z_index, name and bounding box reported back — and transparent backgrounds.
Details
plugins/use-seedream/skills/seedream/kit/seedream.mjs(new): the runner. One synchronousPOST {base}/images/generations, options sent only when given (size,sequential_image_generation,layer_decomposition,background,output_format,seed,watermark), images downloaded from the answer's URL or decoded fromb64_json, every file written through<name>.part-<pid>and renamed only once complete. AWxHsize is checked locally against the service's pixel window (1280×720 … 4096×4096) so a bad one is a usage error, not a 400 from the API. Exit codes match the video plugin:0saved,2bad command line,3noARK_API_KEY,4the API refused (its own text inupstream,ModelNotOpenincluded),7an image did not download.- A multi-image answer makes
--outa directory and names files<NNN>-z<z_index>-<name>.<ext>— a running number for order, the stacking index when the service gives one, and the name it reported, kept as it is: only what a path cannot hold is turned into a dash, so002-z1-背景.pngkeeps its name (base/layerstands in when the service named nothing). Layers are always PNG. - The output format follows the name:
--formatwhen given, otherwise--out's extension, otherwise PNG. A file calledcat.pngholding JPEG bytes is a broken file in half of the image viewers out there, so--out cat.pngnow asks the service for PNG (--out cat.jpgfor JPEG). plugins/use-seedream/skills/seedream/SKILL.md(new): when to use it, the cost warning (a group or a layer split is several billed images), the credential check, and the note that Markdown image syntax does not resolve in the chat — results are handed over as workspace paths.plugins/use-seedream/{plugin.json,README.md,icon.svg,LICENSE,package.json}(new): packaged and described likeuse-seedance,category: office-productivity.packages/{core,cli,desktop}/package.json+pnpm-lock.yaml:@adelie/use-seedream: workspace:*, so the plugin is preinstalled like the video one.packages/core/test/plugins.test.ts: the plugin list gainsuse-seedream(and the count moves to 23);plugins/README.md,README.md,README.zh.mdandpackages/docs/content/skills.{zh,en}.mdcarry its one-line entry, which the repository's own tables are checked against.plugins/use-seedream/test/seedream.test.mjs(new): 10 cases against a local stub — the missing key, a single download, a group request's body, a layer split's naming andlayers[], a local reference image inlined as a data URL, ab64_jsonanswer, bad flags, and the service's own words on a refusal.
Compatibility
- Nothing existing changed shape: a new plugin, one more name in the plugin lists.
- The default model is
doubao-seedream-5-0-pro-260628; another Seedream id goes in with--model. - Verified against the live API on 2026-10-28 with
doubao-seedream-5-0-pro-260628: one 1280×720 image, and a layer split of it into a base plus背景 / 窗户 / 木桌 / 橘猫— every layer a transparent PNG with itsz_indexandbounding_boxreported. Two defects only the real service exposed were fixed in the same change: layer names in Chinese were being cleaned away, and a--out x.pngwas getting JPEG bytes. - Ark's image models are not on by default: an account that has never opened them answers
ModelNotOpenuntil Seedream is activated in the console's 开通管理.