Install the CLI, sign in, and generate your first image — three commands.Documentation Index
Fetch the complete documentation index at: https://docs.runcomfy.com/llms.txt
Use this file to discover all available pages before exploring further.
1. Install
The fastest path isnpx, which downloads and runs the CLI without a global install:
2. Sign in
https://www.runcomfy.com/cli-auth in your browser. Type or paste the code from the terminal into the page, then click Authorize. The CLI saves a token to ~/.config/runcomfy/token.json (mode 0600).
If you already have an API token from your Profile, set RUNCOMFY_TOKEN=<token> and skip runcomfy login entirely. See Authentication for the full flow.
Verify:
3. Generate an image
--output-dir ./out or skip downloading with --no-download.
What’s next
- Browse models at runcomfy.com/models — every model page shows its
model_idand Input schema. - See
runcomfy runfor--input-file,--no-wait, and--output-dir. - Pipe-friendly mode:
runcomfy --output json run ... --no-wait | jq -r .request_idreturns just the id for scripting.
