ceveyne's profile picture
ceveyne

draw-things-chat

Public

Draw Things supported by vision-capable Agents

1.1K Downloads

8 stars

3 forks

README

Draw Things Chat

Text-only Documentation

Looking for the illustrated user documentation? https://github.com/ceveyne/draw-things-chat-docs

Table of Contents

Key Benefits

As it's questionable if simply plugging Draw Things into LM Studio might be of any benefit, enlightening your vision-capable Agent-Model with your generated images can sometimes be... surprising.

LM Studio Plugin: Draw Things supported by vision-capable Agents

  • Image-based "Reasoning" approach for vision-capable LLMs
  • "Agentic" workflows for text2image, image2image, edit, text2video & image2video
  • Re-use of any previously generates content (requires "Metadata Query" plugin draw-things-index)
  • All local
  • Optional: distributed computing across your local network
  • Maintain your favourite settings, models, LoRAs, etc., as custom presets to ensure the desired qualities of your Draw Things artwork.

Setup

For an overview of supported deployment scenarios (single machine, distributed, Linux server, runpod), see docs/DEPLOYMENT.md.

Do you already use models in the Draw Things app? Then you can start right away. draw-things-chat can use every model you use there. Without any configuration the models run with the "Recommended Settings" of Draw Things (plus tuned settings for some families). Name a model by family (krea_2), model name or file name; the tool lists what is installed. The presets below are only needed if you want different defaults, or a different model for a family. Very large output sizes use a second pass with SeedVR2 7B (any quantization), so install it in Draw Things if you want them.

Draw Things user on Mac

  • Prepare for text2image, image2image, edit, text2video and image2video modes by simply providing your favourite Draw-Things-settings for use with draw-things-chat:
  • Draw-Things > Basic Settings > Load your preferences > Save as... text2image.auto, image2image.auto, edit.auto, text2video.auto, image2video.auto

  • <mode>.auto changes the settings of the default model of the mode, <mode>.<family> (e.g. text2image.krea_2) those of a model family including the model used, and <mode>.<your own name> is a preset you name freely. An image size saved in a text2image or text2video preset is used unless the agent asks for another one.

  • ⚠️ Note: These settings are stored to <Your_configured_Model-Folder>/custom_configs.json. It might be a good idea to keep this file in sync with the one located inside your Default-Model-Folder (~/Library/Containers/com.liuliu.draw-things/Data/Documents/Models/custom_configs.json)

  • Setup Draw Things gRPC server:
  • Draw-Things > Advanced Settings: API Server: enable, ⚡️ gRPC Port: 7859, Transport Layer Security: enable, Response Compression: enable, Enable Model Browsing: enable
  • Prepare your LM Studio Client for the vision-capability-primer:
  • Download the required helper-model qwen/qwen3-vl-4b to your local computer
  • Prepare your LM Studio Server:
  • Download your preferred vision-capable agent-model (default: qwen/qwen3.6-35b-a3b) to your server computer
  • Set appropriate context length for your vision-capable agent-model
  • Enable your LM Studio Server
  • Install the draw-things-chat plugin:

LM Studio user on Windows or Linux - MCP-based image generation

  • Prepare your LM Studio Client for the vision-capability-primer:
  • Download the required helper-model qwen/qwen3-vl-4b to your local computer
  • ⚠️ Note: This model is not intended to be used for inference. Hence it doesn't need any GPU support.
  • Prepare your LM Studio Server:
  • Download your preferred vision-capable agent-model (default: qwen/qwen3.5-35b-a3b) to your server computer
  • Set appropriate context length for your vision-capable agent-model
  • Enable your LM Studio Server
  • Install the draw-things-chat plugin:
  • https://lmstudio.ai/ceveyne/draw-things-chat

  • Activate the draw-things-chat plugin by choosing it from the model-loader

  • Adjust the draw-things-chat plugin-settings to your local machine and network: Disable the built-in tool 'generate_image()' to use any MCP-tool for image-generation that delivers base64 as tool-result.

LM Studio user on Linux - Draw-Things-backend image generation

  • For model-management and custom_configs it's easiest to use the Draw Things Client on macOS.
  • Prepare for text2image, image2image, edit, text2video and image2video modes by simply providing your favourite Draw-Things-settings for use with draw-things-chat:
  • Draw-Things > Basic Settings > Load your preferences > Save as... text2image.auto, image2image.auto, edit.auto, text2video.auto, image2video.auto

  • ⚠️ Note: These settings are stored to <Your_gRPC-configured_Model-Folder>/custom_configs.json. It might be a good idea to keep this file in sync with the one located inside your Default-Model-Folder (~/Library/Containers/com.liuliu.draw-things/Data/Documents/Models/custom_configs.json)

  • Prepare your LM Studio Client for the vision-capability-primer:
  • Download the required helper-model qwen/qwen3-vl-4b to your local computer
  • Prepare your LM Studio Server:
  • Download your preferred vision-capable agent-model (default: qwen/qwen3.5-35b-a3b) to your server computer
  • Set appropriate context length for your vision-capable agent-model
  • Enable your LM Studio Server
  • Install the draw-things-chat plugin:

Invoke formerly generated images: Metadata Query plugin draw-things-index

See the draw-things-index documentation for setup instructions.

Workflow example (Draw Things backend)

Usecase example (ComfyUI backend)


More detailed user docs

See USER_GUIDE.md for in-depth documentation, use cases, technical requirements, known issues, and more.

Changelog

See CHANGELOG.md for version history and release notes.

License

MIT