Skip to content

CLI Reference

Terminal window
anycap [global-flags] <command> [subcommand] [flags]
Flag Description
--endpoint <url> Override the AnyCap server endpoint
--verbose Write debug diagnostics to stderr
-v, --version Print the CLI version
-h, --help Show command help

Endpoint precedence is --endpoint, ANYCAP_API_ENDPOINT, config file, then the built-in production default.

Group Commands
Generation image, video, music, audio
Understanding actions
Web search, crawl, download
Collaboration annotate, draw
Delivery drive, page, snapshot
Agent connectivity mcp, connect, agent
Runtime login, logout, credentials, status, config, update
Maintenance skill, feedback, completion, help

Run help at any level:

Terminal window
anycap --help
anycap image --help
anycap image generate --help

Generation groups use the same discovery shape:

Terminal window
anycap <capability> models
anycap <capability> models <model-id>
anycap <capability> models <model-id> schema --mode <mode>

Treat the live catalog as authoritative. Static model lists become stale as availability and schemas change.

Normal commands reserve stdout for one final JSON document. Invocation-started events and verbose diagnostics go to stderr. The mcp command reserves stdout exclusively for MCP protocol messages.

Terminal window
anycap completion --help

Follow the generated shell-specific instructions rather than sourcing output into an unsupported shell.