Overview
- Skill Key
- dustinparsons/drawthings
- Author
- dustinparsons
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/dustinparsons/drawthings
- Latest Commit SHA
- 5f0a78d485d3cea907972c62983175927cfea16b
Generate images with DrawThings (Stable Diffusion) via API. Use when creating images from text prompts, running image generation workflows, or batch generating images. DrawThings runs locally on Mac with MLX/CoreML acceleration.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 drawthings 技能。 若已安装,则直接安装 drawthings 技能。
# DrawThings Image Generation Generate images using DrawThings, a local Stable Diffusion implementation for Mac with MLX/CoreML acceleration. DrawThings exposes an Automatic1111-compatible API for programmatic image generation. ## When to Use Use this skill when you need to: - Generate images from text prompts - Create variations of a concept - Batch generate multiple images - Test different models/samplers/settings - Generate images with specific dimensions or quality settings ## Configuration Set the `DRAWTHINGS_URL` environment variable (defaults to http://127.0.0.1:7860): ```bash export DRAWTHINGS_URL="http://127.0.0.1:7860" ``` Or configure in OpenClaw: ```bash openclaw config set env.DRAWTHINGS_URL "http://127.0.0.1:7860" ``` ## Quick Start Generate a single image: ```bash python3 scripts/generate.py "a cyberpunk cat in neon city" ``` With custom settings: ```bash python3 scripts/generate.py "a cyberpunk cat" \ --steps 20 \ --cfg-scale 7.5 \ --width 768 \ --height 768 \ --sampler "DPM++ 2M Karras" ``` Batch generation (5 variations): ```bash python3 scripts/generate.py "a fantasy landscape" --batch-size 5 ``` Save to specific location: ```bash python3 scripts/generate.py "portrait photo" --output ./outputs/portrait.png ``` ## API Usage The skill provides a Python script that wraps the DrawThings API (Automatic1111-compatible): **Main endpoint:** `POST /sdapi/v1/txt2img` **Common parameters:** - `prompt` - Text description of the image - `negative_prompt` - What to avoid in the image - `steps` - Number of diffusion steps (8-50, default: 20) - `sampler_name` - Sampler algorithm (default: "DPM++ 2M Karras") - `cfg_scale` - Classifier-free guidance scale (1.0-20.0, default: 7.0) - `width` / `height` - Image dimensions (default: 512x512) - `batch_size` - Number of images to generate (default: 1) - `seed` - Random seed for reproducibility (-1 for random) See `references/api-reference.md` for complete API documentation. ## Presets **Fast...
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.