ComfyUI Node: Claude CLI (Vision+Text)

Authored by RandyHaylor

Created

Updated

1 stars

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Category

claude-cli

Inputs

system_prompt STRING
user_prompt STRING
model
  • haiku
  • sonnet
  • opus
  • claude-haiku-4-5
  • claude-sonnet-4-6
  • claude-opus-4-7
agent
  • general-purpose
  • Explore
  • Plan
  • code-reviewer
  • debugger
  • data-scientist
reuse_session BOOLEAN
session_id STRING
send_all_frames BOOLEAN
timeout_seconds INT
on_error
  • empty
  • raise
  • retry_once
is_enable BOOLEAN
images IMAGE
api_key STRING

Outputs

STRING

STRING

STRING

STRING

Extension: Claude CLI (Vision+Text)

Call the local claude CLI from ComfyUI for vision+text or text-only completions. Uses your existing claude login OAuth (no API key required). Supports UUID session reuse for prompt-cache savings, with session token-usage tracking. Additional utility nodes: Split Image Batch to List of Image Batches (takes a large incoming batch and splits it into a list of smaller sub-batches with start/end index outputs, so you can send N images at a time — e.g. pairs — to the Claude CLI node along with their original batch indices for tracking), Indexed 2x2 Grid from Batch, Select Images (Bounds Safe), and Image Batch Current Index. Optional headless API-key mode.

Authored by RandyHaylor

Looking for a different node?

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Learn more