How do I install the CLI?
See CLI Installation.How do I authenticate the CLI?
See CLI Authentication. The CLI supports interactive setup,LINKMODEL_API_KEY, and one-off --api-key usage.
Can I use the same API key for the CLI and API?
Yes. The CLI uses the same LinkModel API key as direct API calls.Can I use the CLI in scripts?
Yes. Use--json for automation:
Why does my task keep running after timeout or Ctrl-C?
Generation tasks run server-side. If the local CLI times out or is interrupted, resume withlkm image status <task_id> --wait or lkm video status <task_id> --wait.