Code Pluginsource linked

Openclaw Draw Thingsv1.1.8

OpenClaw tool for Draw Things CLI - local AI image generation on Apple Silicon

acwilan-draw-things·runtime acwilan-draw-things·by @acwilan
Community code plugin. Review compatibility and verification before install.
openclaw plugins install clawhub:acwilan-draw-things
Latest release: v1.1.8Download zip

Capabilities

configSchema
Yes
Executes code
Yes
HTTP routes
0
Providers
acwilan-draw-things, draw-things
Runtime ID
acwilan-draw-things

Compatibility

Built With Open Claw Version
2026.4.5
Min Gateway Version
2026.4.0
Plugin Api Range
>=2026.4.0
Plugin Sdk Version
2026.4.5
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the code and config: the plugin invokes a local Draw Things CLI to generate images and exposes an OpenClaw image-generation provider. No unrelated environment variables, cloud credentials, or unrelated binaries are requested.
Instruction Scope
Runtime instructions and code call an external binary (cliPath, default 'draw-things-cli'), create an output directory under the user's home, and read generated image files into buffers returned to OpenClaw. There are no network calls, no reading of unrelated system files, and no secrets exfiltration in the code. NOTE: because the plugin executes a local CLI, you should ensure that the CLI binary you configure/install is trustworthy.
Install Mechanism
No automatic remote download/install spec in the registry entry; manual install uses git clone/npm install/build or ClawHub. Source and release workflows reference standard GitHub Actions/npm steps. There are no obscure URLs or extract-from-arbitrary-URL installs.
Credentials
The plugin requires no environment variables or credentials. Its config options (cliPath, modelsDir, outputDir, defaults) are appropriate for a local CLI integration.
Persistence & Privilege
Registry flags show no 'always:true'. The plugin manifest includes enabledByDefault: true, so it may be active automatically when installed. This increases visibility but is not the same as force-install/always. The plugin does not modify other plugins or system-wide credentials.
Assessment
This plugin appears to do what it says: call a local Draw Things CLI to produce images and return them to OpenClaw. Before installing, verify you have the official Draw Things app/CLI from a trusted source, confirm the cliPath you configure points to that binary, and choose an outputDir you are comfortable with (the default is your Downloads folder). Because the plugin executes a local binary, a malicious or tampered draw-things-cli could perform arbitrary actions — the plugin itself does not perform network exfiltration or request secrets.

Verification

Tier
source linked
Scope
artifact only
Summary
Validated package structure and linked the release to source metadata.
Commit
42de111a9c14
Tag
42de111a9c14f17d59bfa92f39139129ca4a7f17
Provenance
No
Scan status
clean

Tags

latest
1.1.8

OpenClaw Draw Things

Local AI image generation for OpenClaw using Draw Things CLI on Apple Silicon. Generate images with Stable Diffusion, FLUX, and other models without API costs.

Features

  • 🖼️ Local image generation - No API keys needed
  • 🍎 Apple Silicon optimized - Uses Core ML for fast inference
  • 🤖 Multiple models - SD, FLUX, and more
  • OpenClaw integration - Native tool support

Installation

Prerequisites

  • macOS with Apple Silicon (M1/M2/M3)
  • Draw Things app installed
  • OpenClaw 2026.4.0 or later

Install from ClawHub

openclaw plugins install draw-things

Manual Installation

git clone https://github.com/acwilan/openclaw-draw-things.git
cd openclaw-draw-things
npm install
npm run build
openclaw plugins install "$(pwd)"

Configuration

Add to your ~/.openclaw/openclaw.json:

{
  "plugins": {
    "entries": {
      "draw-things": {
        "enabled": true,
        "config": {
          "cliPath": "draw-things-cli",
          "outputDir": "~/Downloads/draw-things-output",
          "defaultModel": "realistic_vision_v5.1_f16.ckpt",
          "defaultWidth": 1024,
          "defaultHeight": 1024,
          "defaultSteps": 20,
          "defaultCfg": 7
        }
      }
    }
  },
  "agents": {
    "defaults": {
      "imageGenerationModel": {
        "primary": "draw-things/realistic_vision_v5.1_f16.ckpt"
      }
    }
  }
}

Config Options

OptionTypeDefaultDescription
cliPathstringdraw-things-cliPath to Draw Things CLI binary
modelsDirstring-Optional override for models directory
outputDirstring~/Downloads/draw-things-outputWhere to save generated images
defaultModelstring-Default model file (e.g., flux_2_klein_4b_q6p.ckpt)
defaultWidthnumber1024Default output width (multiple of 64)
defaultHeightnumber1024Default output height (multiple of 64)
defaultStepsnumber20Sampling steps (higher = better quality, slower)
defaultCfgnumber7CFG guidance scale (higher = stricter prompt adherence)

Usage

Once installed and configured, OpenClaw can generate images:

Generate an image of a sunset over mountains

Or use explicit tool calls:

Use image_generate to create a cartoon cat

Models

Download models from the Draw Things model browser. Common models include:

  • realistic_vision_v5.1_f16.ckpt - Photorealistic images
  • flux_2_klein_4b_q6p.ckpt - FLUX.2 Klein 4-bit quantized
  • sd_xl_base_1.0_f16.ckpt - Stable Diffusion XL

Place models in ~/Library/Containers/com.liuliu.draw-things/Data/Documents/Models/ or specify a custom modelsDir in config.

Development

npm install
npm run build
npm run dev        # Watch mode
npm test           # Run tests

License

MIT © Andres Rovira

Links