Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

drawthings

bởi dustinparsons

Git & GitHub
1.2kLượt tải do clawskills.sh công bố
1Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Generate images with DrawThings (Stable Diffusion) via API.

Mô tả

Kỹ năng này làm gì

Connects to DrawThings, a local Stable Diffusion app for Mac, via its Automatic1111-compatible API. Generates images from text prompts with control over steps, samplers, dimensions, seeds, and batch size. Runs entirely on-device using MLX/CoreML acceleration.

Because DrawThings runs locally, generation is private and has no per-image API cost.

Khi nào nên dùng

  • Generate 10 character variations from a single prompt
  • Produce a reproducible image by fixing the seed
  • Batch-generate concept art for a game environment
  • Create a high-res portrait with a quality preset
  • Draft images quickly using 8-step fast preset

Quy trình ví dụ

ĐẦU VÀO

User asks: generate 5 cyberpunk cat variations at 768x768

AGENT
  1. 1

    Set DRAWTHINGS_URL to the local DrawThings API address

  2. 2

    Call generate.py with the prompt, --batch-size 5, --width 768, --height 768

  3. 3

    Apply DPM++ 2M Karras sampler with 20 steps and cfg-scale 7.5

  4. 4

    Receive base64-encoded PNG responses from the API

  5. 5

    Save each image with embedded metadata to the output directory

ĐẦU RA

5 PNG files named drawthings_output_YYYYMMDD_HHMMSS.png, each containing the prompt, seed, and generation parameters in metadata

Yêu cầu

  • DrawThings app installed on Mac with API server enabled in preferences
  • DRAWTHINGS_URL environment variable (defaults to http://127.0.0.1:7860)

Cài đặt

clawhub install dustinparsons/drawthings

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết