dsh-imagegen

DSH text-to-image/image-to-image plugin: compatible with OpenAI-style image generation APIs, with 多米API as the default; standard OpenAI endpoints may require protocol, image-to-image mode and size adjustments; text-to-image and URL reference images do not use COS, while local reference images can be compressed and stored in COS; custom prompt suffixes are supported.

Overview

DSH text-to-image/image-to-image plugin: compatible with OpenAI-style image generation APIs, with 多米API as the default; standard OpenAI endpoints may require protocol, image-to-image mode and size adjustments; text-to-image and URL reference images do not use COS, while local reference images can be compressed and stored in COS; custom prompt suffixes are supported.

Installation

Install from GitHub

dsh plugin --profile web add github:say007go/dsh-imagegen

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands