Quick start
img-cli image -m vibetoken:bytedance/seedream-5.0-flash "a red apple" --aspect 16:9 -o out/
img-cli image -m grsai:nano-banana-2.1 "make it watercolor" --ref photo.jpg --size 2K
Usage
img-cli image [prompt...] -m <provider:model> [flags]
Pass the prompt as arguments, with --prompt, or as - to read stdin.
Flags
| Flag | Meaning |
|---|---|
-m, --model |
provider:model, or a model of the default provider (required) |
-p, --prompt |
Prompt, or - for stdin |
--aspect |
Aspect ratio W:H, such as 16:9, or auto |
--size |
1K, 2K, 4K, or WIDTHxHEIGHT |
-n, --n |
Number of images |
--ref |
Reference image: URL or file; repeatable |
--seed |
Random seed |
--negative |
What to leave out |
-o, --out |
Save results into this directory, or to this file when there is one result |
--no-wait |
Return right after submitting |
--timeout |
How long to wait for the result (default 20m) |
--poll-interval |
Time between status checks (default: the provider's, or 3s) |
Plus the global flags. A model accepts only some of these; img-cli models show <provider:model> lists which.