DrawSpeak: Turning Ideas into Ready-to-Use AI Image Prompts

Introduction

DeepSeek Harness (DSH) adopts an “everything is a plugin” design, allowing developers to extend host capabilities through plugins. In the image generation space, a common question is: can you just type a natural sentence and feed it straight into an image model? Often, no. Models demand structured prompts, and each model speaks its own “dialect.”

The DrawCraft (dsh-drawcraft) plugin adds an entry point to the mid-panel area of the DSH sidebar, turning vague ideas into structured prompts and then adapting them into the syntax the target model actually understands.

Plugin Positioning & Maintainer

DrawCraft is a Prompt Forge plugin maintained by Vhow123. It addresses three recurring pain points of hand-writing image generation prompts: overcrowded prompts that cause model confusion, filler words that dilute meaningful descriptions, and the need for different prompt formats across different models.

Installation & Activation

Install via command line — replace desktop with your actual profile name:

dsh plugin --profile desktop add github:Vhow123/dsh-drawcraft

After installation, restart the host. “DrawCraft” will appear in the mid-panel area of the sidebar; its provider and model components are visible in the plugin page.

Six Target Dialects

DrawCraft supports six target model dialects, each producing a different output form:

Dialect Target Output Form
natural-en General English A coherent English paragraph
natural-zh General Chinese A coherent Chinese paragraph
gpt-image GPT-Image series Long natural-language sentences, no negative prompts, no quality tags
midjourney Midjourney Phrase strings + --ar / --style raw / --no; existing mj flags are stripped and rewritten
stable-diffusion SD / SDXL / Flux Comma-separated tag strings + a separate negative prompt
nano-banana Gemini image editing Edit instructions with keep/modify separation

Scene Breakdown

The right column of the panel always decomposes the result into 11 fields, each individually copyable with a single click:

Subject · Action · Environment · Composition · Lighting · Camera · Style · Color Palette · Material · Emotion · Details

These eleven fields also define the model’s output structure: the model returns JSON, and the plugin performs normalization and assembly fallback. So when the model drifts, what you see is a missing field, not an unusable blob of text.

Three Directions

The same panel offers three interconnected paths. All produce the same structured result and can hand off to each other:

Direction Entry Point Description
Idea → Prompt Write a description → “Optimize Prompt” Main path: turn a vague idea into an actionable prompt
Image → Prompt Drag an image into “Drag image here,” or click “Pick an Image” Requires a vision-capable chat model; reverse-engineers the same 11 fields and final prompt; dialect can still be switched
Prompt → Refine The “Tweak One Line” input in the result card Write “change lighting to dusk” or “lower the camera angle” — only the named field changes, everything else is preserved verbatim
Prompt → Image “Try One” button in the top-right of the result card Routed through the local dsh-imagegen plugin’s image generation proxy to render the current prompt as a preview; if that plugin isn’t installed, a notice is shown instead of an error

Before generating, you can set two things: Output Aspect Ratio (Follow Canvas or 1:1 / 3:4 / 4:3 / 9:16 / 2:3 / 3:2 / 16:9 / 21:9) and Output Resolution (Channel Default or 1K / 2K / 4K). Both are ratio and tier strings that dsh-imagegen converts into actual pixel dimensions based on the real protocol. Click a preview to zoom in; the “Save” button in the top-right downloads the original image directly (save and close are also available in the large-image view).

Reference Library

Below “What do you want to draw?” in the left panel column, there’s a Reference Library. It pulls from the Chinese reference data of ai-pose-gallery-zh. The counts below are verified against the index JSON:

Library Count Category Dimensions Content
Poses 1,439 System 4 / Angle 5 / Category 26 Standing, sitting, crouching, kneeling, lying, crawling, holding — each pose includes a companion depth map
Outfits 1,407 Category 8 Full outfit coordination: season & scene classification + individual piece color tags + English prompt keywords
Portraits 1,499 Section 2 / Hair Length 4 / Hairstyle 51 Front-face references and styling atmosphere, broken down to specific hairstyles

Thumbnails use depth maps, not white-clay thumbnails: a white model against a dark panel is just a grey blob — you can’t tell hip orientation or limb depth relationships; depth maps preserve the 3D contour. Every pose record is retrievable at img/depth/{id}.webp (sampled 25/25 hits, 900×1200 WebP, 15–19 KB).

Categories are listed directly in the panel. After selecting a pose / outfit / portrait, the category dimensions for that library expand below: all rendered as clickable pill buttons. Each dimension shows the first 8 options, with a dashed “+18 more” for the overflow, which scrolls open in the same area. Native <select> option lists are rendered by the system and turn white-on-light in dark themes, so dropdowns are deliberately avoided here. One click filters; filters and keywords are AND-related, and selected values always sort to the front.

Search “crouch side” “knit sweater” “long hair,” click a thumbnail to add to references (up to 6). During optimization, their Chinese names and categories are treated as hard facts written into Action / Subject / Material / Details, so the model no longer invents body structures on its own. The depth map link in the result can be fed directly to ControlNet.

The reference library loads 24 at a time, with “24 / 1439” and a “Load More +24” button at the bottom; the thumbnail area scrolls independently without stretching the panel.

It does not clone the 1.16 GB repository: only three index JSON files (~2.2 MB total) are pulled and cached in ~/.dsh/cache/drawcraft-gallery/, available offline after the first online fetch. Images are fetched individually via jsDelivr on demand, pinned to upstream commit ec7a81e, so new upstream commits won’t break old links.

Image-to-Image

Import your own photo and use a pose from the reference library to restage it — this is where the system closes the loop.

How to import: Ctrl+V in the panel to paste an image from the clipboard; or drag into the “Primary Reference” slot; or click the slot to pick a file. The first image goes to the primary slot; subsequent ones auto-fill the additional reference slots on the right, each with a × for individual removal. The limit is 1 primary + 4 additional, mapping one-to-one with dsh-imagegen’s /images/edits image + image[] parameters.

How to generate: Select a pose (its Chinese name gets written into the prompt), optimize the prompt, paste your photo. The top-right button changes from “Generate Preview” to “Image-to-Image” — click it. The request goes to the local dsh-imagegen plugin’s /api/dsh-imagegen/generate endpoint with mode: "edit", your photo as image, additional references as images.

Identity preservation: During image-to-image, a preface instruction is automatically prepended to the prompt (Chinese for Chinese UI, English for English UI), roughly: “Using the first reference image as the sole subject — face, hairstyle, body type, and skin tone remain unchanged; only pose, outfit, and scene are adjusted.” Without this, the model would redraw a person from scratch based on the prompt, and the imported photo would be wasted. This instruction is only added to the outgoing request; the prompt displayed in the panel remains unmodified.

Pose image as image condition (auto-activated after selecting a reference): As soon as a pose image is selected from the reference library, the checkbox “Also send the selected pose image” auto-checks. The selected pose image is inlined as base64 and placed first, counting toward the 4-image total with additional references. If the primary slot is empty, the pose image promotes to primary and the request uses image instead of pure text-to-image. The prompt also auto-appends: “The pose reference image is a hard constraint: limb positions, body orientation, and camera angle must match it exactly — do not substitute a different pose.” The white model provides only the pose; its skin tone and rendering style are not copied — without this instruction, the model treats it as an optional extra image. To remove the pose constraint, simply uncheck it manually.

Built-in Muse Free Tier

DrawCraft ships with a built-in Muse channel: installing just this one plugin is sufficient — no need to install dsh-muse-media or request any API key. It launches a local Chrome instance, uses your own muse.ai account to generate images on the web, consuming the free tier.

Three-step setup:

  1. Select Muse Free Tier (Built-in) from the “Image Model Source” dropdown.
  2. Click “Log in to Muse” next to that row in the channel list — a Chrome window pops up; log in to muse.ai there (the plugin does not read your credentials; the session is managed by Chrome itself).
  3. Return to the panel and click “Check Login” — once it shows “Logged In,” you’re ready to generate.

The login session lives in ~/.dsh/drawcraft-muse/profiles/default/ (an isolated Chrome profile) and is not shared with dsh-muse-media. To switch accounts, click “Clear Login” or simply delete that directory. If you’ve already used dsh-muse-media, copy Default/ and Local State from ~/.dsh/muse-media/profiles/<account-id>/ into ~/.dsh/drawcraft-muse/profiles/default/ to carry over the session.

When generating, it does the following: open a new conversation → (for image-to-image) upload reference images → type the prompt → click send → wait for delivery → wait for the result → fetch the image back to the panel. Hence these characteristics:

Item Reality
Speed 30–90 seconds per image, serial (only one at a time on the same web page)
Aspect Ratio Muse has no aspect-ratio parameter; a 16:9 selection is written as “16:9 aspect ratio, wide landscape composition” appended to the prompt, relying on model interpretation
Resolution Output is typically 1600×1600 or 2048×1152 tier, determined upstream, not adjustable
Count Up to 4 per batch; each is a real send, quota deducted per image
Quota Tied to your account; free tier resets weekly; usage in other tools on the same account counts together
Video Not supported via this path (Muse video generation has regional restrictions)
Failure Prompt not entered, send not triggered, delivery not confirmed — all three cases produce a clear error stating no quota was consumed; no silent retries

Your Own Image Model

Image generation defaults to the local dsh-imagegen plugin’s channels, but it works without it: next to “Image Model Source” in the panel, there’s a + button. Click it to configure your own OpenAI-compatible endpoint.

  • Fill in the URL (e.g., https://api.openai.com/v1, up to /v1), API key, and model name (comma-separated for multiple).
  • Click “Test & Save” — it saves first, then hits GET {URL}/models to verify connectivity and lists the upstream’s actual model names.
  • Once saved, it appears in the “Image Model Source” dropdown alongside host channels, switchable at any time.

Remove unused channels: There’s also a − button to the right of the dropdown. Clicking it opens the channel list — both host plugin channels and your custom endpoints are listed, each with a × on the right. Deleting a host channel goes through the host settings API (unset channels[i] with the read revision; on version mismatch it re-reads and retries once), removing that channel entry from ~/.dsh/profiles/desktop/cordis.patch.yml — effective across all sessions. Deleting a custom endpoint only removes the local targets file. If the currently selected channel was the one deleted, the dropdown auto-falls back to the first remaining channel.

The channel list is fetched by the plugin’s server-side proxy (POST /api/drawcraft/image-channels): the host may have multiple configurable plugins in non-deterministic order, so the server fetches precisely by the imagegen namespace; the browser side doesn’t have to guess. If settings are momentarily unreadable (host restarting, page holding a stale token), it falls back to the last successfully read list and shows a hint line below the dropdown instead of displaying “Not Configured.”

If the dropdown keeps showing “Not Configured”: First check whether the server proxy response contains a namespaces field — it lists the namespaces the host has actually loaded. If imagegen isn’t there at all, it means the image generation plugin wasn’t loaded (the channel config still exists; it’s not a config loss). Check ~/.dsh/profiles/desktop/package.json → dsh.profile.bundles to see if @dickpy/dsh-imagegen is included. If missing, add it back and reload plugins.

Use Cases & Notes

DrawCraft suits developers who frequently generate image prompts, especially DSH agent developers. The plugin runs with the current dsh process permissions. Review the source code and license before installation.

  • https://www.skillhub.cn/plugins/Vhow123/dsh-drawcraft
  • https://github.com/Vhow123/dsh-drawcraft
羽毛球分组比赛记分
小程序二维码

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

Xiaoye