CLI Reference
Syntax
Section titled “Syntax”anycap [global-flags] <command> [subcommand] [flags]Global flags
Section titled “Global 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.
Command groups
Section titled “Command groups”| 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:
anycap --helpanycap image --helpanycap image generate --helpModel discovery
Section titled “Model discovery”Generation groups use the same discovery shape:
anycap <capability> modelsanycap <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.
Output streams
Section titled “Output streams”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.
Shell completion
Section titled “Shell completion”anycap completion --helpFollow the generated shell-specific instructions rather than sourcing output into an unsupported shell.