dsh-plugin-newapi: Unified Management of New API Gateways in DSH
Maintained by zh-Littlebird, dsh-plugin-newapi encapsulates the New API gateway's models, conversations, vectors, tokens, channels, logs, and system settings into 9 DSH Host tools, and provides encrypted credential management shared between the Web settings page and the CLI. It supports conditional registration to reduce context overhead when unconfigured, and strictly distinguishes between /v1 and /api authentication. The installation command is `dsh plugin --profile desktop add dsh-plugin-newapi`, requiring DSH 0.2.2-rc.1+ and Node.js >= 22.19.
Read MoreImage Generation: Integrating New API's Seedream Image Capabilities into Agents
The community Skill "Image Creation" (@user_a0de7824/tupian) targets Agent environments such as Cursor and Claude Code. It encapsulates text-to-image generation, image editing, multi-image fusion, and batch image generation, all routed through New API to invoke the Seedream model. Installation requires the skillhub CLI and placing the skill into the corresponding skills directory. The required environment variable is NEWAPI_API_KEY; the optional BASE_URL defaults to https://docs.newapi.pro/v1. The article outlines feature boundaries, installation commands, and key configuration points, and provides conversational usage guidance based on official capability descriptions.
Read Moredsh-import-newapi: Import New API Connection into DeepSeek Harness
`dsh-import-newapi` is a plugin for DeepSeek Harness (DSH) designed to address the cumbersome and error-prone process of configuring third-party providers. It allows developers to directly copy JSON information from New API and import provider configurations with one click through a UI-based workflow. The plugin supports automatic derivation of the site address, management of the model list and capacity settings, configuration of input format and thinking intensity, and strict validation of provider ID rules and key-naming conventions, thereby simplifying the connection process with the `@deepseek-ai/dsh-llm-pi-ai` adapter.
Read Moredsh-gateway-billing: Per-Conversation Model Billing Display
DSH (DeepSeek Harness) introduces the dsh-gateway-billing plugin, designed to provide a convenient billing-viewing feature for users of self-hosted New API or One API-compatible gateways. Integrated into the Web Composer Dock area, it displays conversation costs in real time without leaving the chat interface. It supports automatic price table retrieval, is compatible with both per-token and fixed-price billing modes, and can calculate total costs based on `usage` data in the conversation. Installation can be performed manually or via command line, and users need to configure the gateway's `pricingUrl` endpoint.
Read More