Naming a model
A model is always written provider:model:
img-cli image -m vibetoken:bytedance/seedream-5.0-flash "a fox"
img-cli image -m grsai:nano-banana-2.1 "a fox"
The model part is the vendor's own id. After img-cli provider default <name>, -m can name just the model:
img-cli provider default vibetoken
img-cli image -m bytedance/seedream-5.0-flash "a fox"
Finding models
img-cli models list # every installed provider
img-cli models list --provider grsai --kind image # one provider, one kind
Kinds are image, video, and speech.
What a model accepts
img-cli models show vibetoken:bytedance/seedance-2-t2v
model: vibetoken:bytedance/seedance-2-t2v
kind: video
api: generations
FLAG VALUES
--aspect adaptive, 21:9, 16:9, 4:3, 1:1, 3:4, 9:16
--audio any
--duration 4 to 15
--resolution 480p, 720p, 1080p
Only the listed flags work with this model. any means any value of the right type; a range such as 4 to 15 is inclusive.
Checked before sending
A flag the model doesn't list, or a value outside its list, fails at once with exit code 2, and nothing is sent or charged:
$ img-cli video -m laozhang:MiniMax-H3 "a cat" --resolution 1080p
error: laozhang:MiniMax-H3: --resolution 1080p is not supported; use one of: 768p, 2k
Values are matched without regard to case. When a model spells a value differently, such as 720P, you still write 720p; img-cli sends the model's spelling.
Where model lists come from
A plugin either lists its models in the file or reads them from the vendor's API. The VibeToken plugin reads the model list and each model's parameter schema from the API, the first time they are needed.
Lists and parameters read from an API are cached for a day. To pick up a new model sooner:
img-cli models refresh # every provider
img-cli models refresh vibetoken