Poster8G: A Local 8G GPU Poster Studio

Introduction

When creating posters, the most common requirements are: a background with some design flair, a product image cut out and composited, and output ready for a print shop. Using traditional design software carries a learning curve; using online generators either charges per image or requires uploading customer product images to someone else’s cloud. Running AI locally can generate backgrounds, but often demands you handle cutout, layout, and validation yourself, which puts pressure on GPU memory and engineering infrastructure.

DeepSeek Harness (DSH)’s “everything is a plugin” philosophy lets you encapsulate workflows like this into tools. Poster8G is exactly that kind of plugin: a one-stop pipeline on a local 8 GB VRAM GPU, covering background generation, editable layout, and print-ready output.

What It Is

Poster8G (dsh-8g-poster) is a model inference plugin for DeepSeek Harness, focused on poster creation in 8 GB VRAM environments. It uses a local ComfyUI engine to generate backgrounds, combines cutout and layout capabilities, and exports an editable HTML workspace along with print-ready PDFs. Maintained by FYZB2020, it is currently categorized under model inference.

Core Capabilities

Local Image Generation

  • Runs ComfyUI locally (default http://127.0.0.1:8189, configurable via POSTER_COMFY).
  • Uses the FLUX 3 Klein model by default, supporting text-to-image, multi-reference, and inpainting-style editing.
  • No API key required, no per-image billing, no image uploads to the cloud.

Cutout & Compositing

  • Uses the GrabCut algorithm for white/light backgrounds, outputting transparent PNGs with feathered edges to avoid white halo artifacts.
  • Preserves natural shadows during compositing; supports lossless pasting onto any background.

Editable Workspace

  • Generates a self-contained HTML file that opens offline with a double-click.
  • Supports drag, scale, rotate, crop, group, lock, flip, align, distribute, and opacity adjustment.
  • Ships with 8 built-in fonts; can export PNG (2048/4096) and PDF.

QR Code Validation

  • Batch-generates and re-colors QR codes, then decodes all QR codes in the file before export.
  • Refuses to output if a QR code is smaller than 11.5% of the canvas short edge (the practical threshold for phone recognition on paper).

Task-Level Orchestration

  • Describes canvas, patches, pastes, and slots via job.json.
  • A single command renders the print file and runs pre-checks (overlaps, bleed, QR code size, font size, etc.).

Layer Management

  • The right-side layer panel lists all elements by name.
  • Alt-click on the canvas pierces through the top layer to select the one below; locked layers pass clicks through.

Installation & Setup

Using DeepSeek Harness’ plugin management as an example:

# 1. Install the plugin
dsh plugin add dsh-8g-poster

# Or install globally via npm
npm i -g dsh-8g-poster

# 2. Install Python dependencies
python -m pip install -r skill/requirements.txt

# 3. Ensure local ComfyUI is accessible on port 8189
# Default http://127.0.0.1:8189, adjustable via the POSTER_COMFY environment variable

See docs/INSTALL.md for the full installation steps, model download (~10.3 GB), and ComfyUI parameter configuration for 8 GB VRAM cards.

Typical Workflow

Taking a Guandan (掼蛋) poker card poster as an example, a typical Agent–user interaction looks like this:

  1. User: “Use the 8G poster tool to make a poster for Guandan poker cards. I’ve already cut out the product image.”
  2. Agent: Runs poster_guide → poster_workspace(status) → asks about the preferred route.
  3. User: “flux.”
  4. Agent: Runs poster_generate three times, producing three text-free background versions.
  5. User: Following the Agent’s prompts, arranges text, pastes the cut-out product PNG, then runs poster_check.
  6. Agent: Sends all three versions for the user to choose from; the user picks “the third one, the artistic one.”
  7. Agent: Runs poster_editor, generating the workspace project JSON; the user double-clicks the HTML file to continue editing.
  8. User: Finishes editing and exports the PDF.

Use Cases & Notes

Suited for users who want to leverage local AI for background generation and then handle layout and validation manually (or via an Agent). On machines with ample VRAM (12 GB+), you can experiment with higher-resolution generation.

The plugin runs with the permissions of the current dsh process. It is recommended to review the source code and license (currently MIT) before installation.

Closing

Poster8G turns a local 8 GB GPU into a lightweight poster workshop—from background generation to an editable workspace to print-ready output—it’s a complete closed loop. For more details, check the plugin directory page and the GitHub repository.

  • Directory page: https://www.skillhub.cn/plugins/FYZB2020/dsh-8g-poster
  • GitHub: https://github.com/FYZB2020/dsh-8g-poster
羽毛球分组比赛记分
小程序二维码

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

Xiaoye