lcode 0.6.0: images
lcode can see images, and make them with your local models.
❯ the layout breaks on mobile, see @screenshots/mobile.png
Added
-
Looking at images:
- Attach a screenshot, mockup or diagram with
@path, or let the model open images itself with the newview_imagetool. - A model that can see describes the image in detail, with all text transcribed and your question in mind. That's your model itself if it can see, or the original model behind lcode's text-only variant, which
lcode setupalready downloaded (vision_modelsetting;lcode doctorshows which). - Screenshots returned by MCP tools, such as Playwright's, are described too.
- Attach a screenshot, mockup or diagram with
-
Making images:
lcode mcp add comfyuigenerates and edits images with models you run locally in ComfyUI (FLUX.2 Klein, FLUX.1 Dev/Kontext, SDXL, SD 1.5, Qwen-Image), through ComfyUI's official MCP server. Only its local tools are enabled, so nothing leaves your machine. -
Sharing one GPU (
free_gpu): before MCP tools that need the GPU to themselves run, lcode unloads its own model and reloads it afterwards. It's on for ComfyUI, so image models work on a 12 GB GPU next to a large coding model.Measured on an RTX 4080 Laptop (12 GB): about 12 s per 512×512 FLUX.2 Klein image, plus about 20 s to reload qwen3.6-35b.
Docs: Images · Images with ComfyUI
Upgrade
uv tool upgrade lcode-cli # or: pipx upgrade lcode-cli · Homebrew: brew upgrade lcodeFull changelog: v0.5.0...v0.6.0