CLI command reference
For released @evolinkai/cli 0.8.1. Use evolink —help or evolink COMMAND —help —json for your installed version. Business commands support —json. Replace MODEL_ID, QUOTE_ID, TASK_ID and UPLOAD_ID with actual returned values.Authentication, diagnostics and skills
See installation.
Agent values: all/codex/claude-code/cursor/gemini/opencode/copilot/openclaw/hermes; default all. The assistant must still verify skill discovery.
Models, inputs and documentation
Docs search uses the bundled official model-reference index, not a live website crawl. Recommendation is based on documented inputs, keywords and editorial platform preferences, not a popularity leaderboard. Unit prices are not task quotes.
Quotes and generation
Create input.json using the model’s real parameters, then obtain a free quote:
A successful quote returns quote_id, lasts about 15 minutes, and binds login, backend, model and exact inputs. Failed/cap-refused estimates are not usable quotes. Show specifications, range and warnings, wait for explicit approval, then select the matching command:
Tasks, batches and recovery
Time filtering affects only the selected page. History covers the account, not just this chat. An empty page cannot prove submission was absent; total precedes local time filtering. Batch IDs are 1–50 comma-separated values.
With a task ID, use get/wait. For a lost submit response, resume the original quote with its request ID and login. If records are lost, expired or the account changed, inspect history/console before another paid intent. CLI has no cancellation command.
Balance and task usage
Uploads and original downloads
JSON, exit codes and configuration
—json writes one stdout JSON line with schema_version:1 and ok. Progress goes to stderr. Errors use ok:false/error and nonzero exit; Ctrl-C usually exits130. A task status:failed differs from a query invocation failure. Check command ok, then task state. Local records remain in ~/.evolink-media; credentials use OS secure storage. Do not copy this directory to migrate login or delete quote/recovery records to fix an uncertain submission. Advanced —server selects the OAuth resource/identity binding, default https://mcp.evolink.ai/mcp, without changing REST execution. Keep —api-url/—files-url production defaults; arbitrary external URLs are refused. —token-stdin is a one-command OAuth access token, not a platform API key, and is not for setup. Do not put tokens in command arguments or logs. No generic run, text chat, cancellation, top-up, key management or custom alias-file command is provided. Use the corresponding console/API.CLI execution path and APIs
Since CLI 0.8.0, media requests use terminal or agent → EvoLink CLI → platform REST API. Input checks, model references, estimation, and result formatting run locally; business execution does not call remote MCP tools/call.Commands and backend operations
CLI quote_id, —confirm, and recovery files implement a client workflow, not new backend fields. Published CLI 0.8.1 still uses public-default estimation; the existence of new pricing APIs does not mean this version consumes account-specific media quotes. —max-cost-usd is not a final settlement cap.
Requests, recovery, and automation
Persist the quote and request identifier before submitting. REST uses existing Idempotency-Key / X-Evo-Run-Id identifiers. Recover with the original quote after a lost response; do not change identity, inputs, or identifiers to resubmit. Client records alone do not prove uniform backend idempotency across production nodes. Scripts should inspect ok, then task status, then results and cost fields. Store quote_id, task_id, and download manifests instead of relying on the last terminal line. Query errors, failed tasks, and failed downloads require different handling. Do not unconditionally retry paid submissions. CLI and native MCP sessions are managed separately, but account OAuth currently shares the permissions, limits, and pause state ofEvoLink MCP (OAuth). Use the separate MCP documentation for native connections.