command not found: img-cli
The install directory isn't on your PATH. The macOS and Linux installer uses ~/.local/bin; add it to your shell profile:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
Then open a new terminal. On Windows, open a new PowerShell window after installing.
provider "x" is not installed
error: provider "grsai" is not installed; install it with: img-cli provider add grsai
Run the command it suggests. A provider that extends another, such as routerbase, needs its parent installed too.
no API key for x (exit code 3)
No key was found. Run img-cli provider login <name>, or set IMG_CLI_<NAME>_KEY. If you already logged in, the key may have been rejected by the vendor; log in again with a new key from its dashboard.
In a sandbox that can't reach the system keychain, such as some AI assistants, use the environment variable or provider login --file.
--x is not supported (exit code 2)
error: laozhang:MiniMax-H3: --resolution 1080p is not supported; use one of: 768p, 2k
The model doesn't take that flag or value. Pick one from the message, or see everything the model takes with img-cli models show <provider:model>. Nothing was sent.
x has no model "y"
Check the spelling with img-cli models list --provider <name>. If the vendor added the model recently, run img-cli models refresh <name>.
The wait timed out (exit code 8)
The task is still running at the provider. Collect it with:
img-cli task wait <task> -o out/
Raise --timeout for long videos.
Rate limited (exit code 5) or insufficient balance (exit code 6)
img-cli has already retried rate limits. Wait a minute and run again. For balance, top up at the vendor; img-cli balance shows what's left.
Network error after submitting (exit code 9)
The task may have started at the provider. Check the vendor's dashboard, or img-cli task list, before you run the command again, so you don't pay twice.
A local file is rejected
Some APIs accept only public https:// URLs for input images. Upload the file somewhere public and pass the URL instead.
Still stuck
Open an issue at GitHub with the command, the output of the same command with -v, and img-cli version. Remove your API key from anything you paste.