Skip to content

lcode 0.6.0: images

Choose a tag to compare

@nasser1941 nasser1941 released this 01 Oct 13:43
3336edc

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 new view_image tool.
    • 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 setup already downloaded (vision_model setting; lcode doctor shows which).
    • Screenshots returned by MCP tools, such as Playwright's, are described too.
  • Making images: lcode mcp add comfyui generates 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 lcode

Full changelog: v0.5.0...v0.6.0