img-cli

FAQ

Short answers to common questions.

What is a provider?

A plugin that connects img-cli to one vendor's API. It is a single TOML file that says where the API is, how to build the request, and where the answer is. See How it works.

Which services are supported?

The official providers are VibeToken, RouterBase, Grsai, and LaoZhang API. Any other API can be added with a provider file; see Writing a provider.

Do I need to know how to code?

No. Install img-cli with the setup prompt for your AI assistant, then ask the assistant for what you want. Writing a new provider needs only an API's docs and a text editor, no programming.

Is img-cli free?

Yes, img-cli is free, and its source is on GitHub. You pay each vendor for what you generate, at their prices, from your own account.

Where are my API keys stored?

In img-cli's config file, readable only by you (mode 0600), or in an environment variable you set. They are sent only to that provider. See Authentication.

Does it work with Claude Code, Codex, or Cursor?

Yes, and with any assistant that can run terminal commands. See AI agents.

How do I switch to another vendor?

Install its provider, log in, and change -m. Your flags and scripts stay the same, as long as the new model supports the flags you use; img-cli models show tells you.

Will a failed command still charge me?

A command rejected by img-cli's checks (exit code 2) sends nothing. A task the vendor runs and fails may be billed by that vendor's rules. img-cli never resubmits a request that could start a second paid task; see Retries and double charges.

Can I use VibeToken and RouterBase together?

Yes. Each provider has its own key, so you can install both and pick one per command with -m vibetoken:… or -m routerbase:….

Does it support 3D?

Not yet. img-cli generates images, video, speech, and music.