CLI Usage
Install the private CLI, authorize it locally, and edit files from the terminal.
The CLI uploads the local file directly to the ClearCrowds API. You do not need to upload it to Qiniu first. The completed result is streamed back to the output path you choose.
Install the Private Beta
The CLI is distributed from the private clearcrowds-agent-tools repository, not the closed-source product repository. Ask for repository access, then run:
gh auth login
gh repo clone georgezouq/clearcrowds-agent-tools ~/.clearcrowds/agent-tools
npm install --global ~/.clearcrowds/agent-tools
clearcrowds setup --agent codexAuthorize this machine
clearcrowds login
clearcrowds whoami
clearcrowds creditslogin uses Device Authorization: the terminal receives a short-lived code, the browser asks you to approve a Project and scopes, and the CLI stores the resulting credential in the operating system's protected credential store when supported.
Edit a local image
clearcrowds presets
clearcrowds edit ./input.jpg --preset remove-crowds --output ./fixed.jpg
clearcrowds resize ./fixed.jpg --width 1200 --height 630 --output ./social.jpgUse CLEARCROWDS_API_KEY only for server or CI environments. Use CLEARCROWDS_API_BASE_URL to point a Private Beta build at a local backend.
