PTT-Studio: A Design-First PPT Generation Plugin on DSH

Introduction

When asking a model to “make a PPT” in DeepSeek Harness (DSH), the common outcome is: text stuffed into a fixed template, identical layouts on every page, sticker-like images, and after export many pages become non-editable images. For developers who need to iterate on layouts in conversation while delivering a native .pptx, a more ideal path is to first have a reviewable design draft, then assemble it with deterministic code, and perform geometric and visual checks before delivery.

Below we introduce the community plugin PTT-Studio (package name dsh-pptx-studio, shown as PPT Studio on the DSH plugin page). Published by maintainer ColdMagicchess, categorized as a client plugin, it follows a complete workflow in DSH: “ask for requirements → write the deck → generate assets → assemble → check”.

What Is This

PTT-Studio is a third-party plugin for DeepSeek Harness: design-first, generating editable, fully-laid-out PowerPoint files with relatively unified illustrations. The core idea differs from “stuffing text into a template”—it first produces a reviewable deck.json (layout, grid, hierarchy, color scheme, image positions), then assembles it via pptxgenjs using percentage-based coordinates, so text, shapes, charts, tables, and icons are all natively editable elements.

  • Directory page: https://www.skillhub.cn/plugins/ColdMagicchess/PTT-Studio
  • Source code and documentation: https://github.com/ColdMagicchess/PTT-Studio
  • Current package version (package.json): 0.4.1
  • License: MIT
  • Compatible with DSH Desktop: 0.2.1-rc.2 and later 0.2.x (engines.dsh: >=0.2.1-rc.2 <0.3.0, 0.3 not yet adapted)

Core Features

Design System

The plugin ships with multiple style and layout combinations. Before generating, you can refer to assets/pptx-studio/references/styles.md in the repository:

  • 11 styles (flat illustration, tech dark, Chinese ink painting, Swiss International Style, etc.)
  • 5 complexity levels, 3 text-volume levels
  • 17 layouts (cover, chapter, key points, comparison, timeline, data, chart, etc.)
  • Unified grid, font-size hierarchy, whitespace and safe-area rules

The README emphasizes “full-bleed composition”: built-in coverage checks avoid “top-half content + bottom-half blank space”.

Assets and Image Backends

  • Style board: pptx_style_board generates 2–3 candidate cover compositions at once; after the user selects one, it serves as the illustration style reference
  • Backgrounds, illustrations, and decorative elements are generated separately; illustrations default to cutout background removal; local images via path are supported with source and license recorded
  • Real assets first: famous paintings, artifacts, landmarks etc. use public-domain/licensed original images where possible, with AI filling gaps
  • Default image backend Agnes, optional ModelScope (Qwen-Image); supports caching, retry, rate limiting; OpenAI-compatible image endpoints can also be configured on the settings page
  • pptx_generate_assets supports run_in_background; when there are many images it can return a job id first, and results are collected later via job_output

Assembly and Quality Check

Tool Purpose
pptx_style_board Generate candidate style samples
pptx_generate_assets Generate backgrounds, illustrations, decorative elements
pptx_build Assemble .pptx from deck.json, with built-in geometric checks and media deduplication
pptx_check Overflow, overlap, safe areas, density, contrast, coverage, decorations overlapping text, etc.
pptx_review An independent visual model reviews rendered images page by page, returning structured issues
pptx_render Renders each page to PNG via LibreOffice Kit for visual inspection

pptx_build generates per-page thumbnails and an overview preview image by default; in the README examples, finished deck sizes mostly range from about 1–4 MB (including 800px-level image compression and no duplicate embedding of identical images).

The plugin registers the pptx-studio skill; in Web conversations the six pptx_* tools have dedicated chat cards (the assembly card includes overview, page count, size, and issues, etc.).

Workspace Artifacts

The typical workflow is as follows. Each step’s output lands in workspace files, and you can modify deck.json and re-assemble at any time:

Topic
  │
  ├─ ask_user_question → brief.json
  ├─ Per-page design draft → deck.json
  ├─ pptx_style_board → style/board-N.png
  ├─ pptx_generate_assets → assets/ decor/
  ├─ pptx_build → builds/deck.vN.pptx
  ├─ pptx_check / pptx_render
  └─ present → deliver .pptx

Installation and Activation

Environment Requirements

  • DeepSeek Harness Desktop 0.2.1-rc.2 or a newer 0.2.x
  • Image generation requires an Agnes or ModelScope API key (or a custom OpenAI-compatible image backend)
  • Node.js ≥ 22.19 is only required when building from source
  1. Open Plugins → click More next to Experimental plugins → Custom plugin market
  2. Under Discover → Add index source, enter:
https://raw.githubusercontent.com/ColdMagicchess/PTT-Studio/main/market/index.json
  1. Search for “PPT” and click Install

Install from GitHub

The repository has committed build artifacts in lib/, so no build is needed during installation:

dsh plugin --profile desktop add github:ColdMagicchess/PTT-Studio

For production, you can pin a commit:

dsh plugin --profile desktop add github:ColdMagicchess/PTT-Studio#<commit>

After installation, restart Desktop; seeing PPT Studio on the “Plugins” page means success.

Configure API Keys

Open the “Plugins → PPT Studio” settings page and fill in AGNES_API_KEY, MODELSCOPE_API_KEY (optional) in the API Key section, or fill in the apiKeyRef for custom models. Keys are written to the DSH credential store; you can also set environment variables with the same names and restart Desktop.

The settings page also allows adjusting text/vision/image model routing, imageBackend, imageMaxPx (default 800), maxImagesPerCall (default 24), etc.; for the full field list see the “Configuration” section of the README and src/config.ts.

Typical Usage

After installation, directly describe the topic and style in conversation; the model will load the pptx-studio skill. README examples:

Make an enrollment PPT about “a youth programming summer camp”, with a lively style and a bit less text.

Make a “renovation proposal for an old office building”, modern minimalist, business architecture style, about 7 pages.

During the process you can continue to add constraints in natural language, such as specifying Swiss International Style, requiring blank areas to be filled, adjusting the font size of a certain page, etc. If visionModelMode is route or custom, the checking phase will go through pptx_review; with the default session, you can still use the rendered images together with the conversation for review.

Use Cases and Notes

Who it suits: Teams or individuals who need to generate multi-page, editable .pptx files from a topic within DSH conversations, and care about layout coverage, quality checks, and asset separation (background/illustration/decoration).

Permissions and security: The plugin runs with the permissions of the current DSH process, able to read/write the workspace and call configured model and image APIs. Before installation, you should review the source code and the MIT license on GitHub, and independently assess whether to introduce third-party image service keys.

Ecosystem note: The DSH community plugin directory (such as SkillHub) is an independent site with no official affiliation with DeepSeek / High-Flyer; this plugin is installed via the aforementioned market index or dsh plugin add github:..., and is not a built-in app in any “official app store”.

Conclusion

PTT-Studio breaks PPT generation into a reviewable deck.json, deterministic pptx_build, and multi-layer pptx_check / pptx_review, making it suitable for design-first slide delivery within the Harness. For more information, visit the SkillHub directory page and the GitHub repository.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye