img-cli

video

Generate a video from a prompt, frames, or reference images.

Quick start

img-cli video -m vibetoken:bytedance/seedance-2-t2v "a cat playing piano" --duration 5 --aspect 16:9
img-cli video -m laozhang:MiniMax-H3 "camera zooms out" --first-frame https://example.com/a.png --resolution 768p --duration 6

Usage

img-cli video [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
--resolution 480p, 720p, 1080p, 2k, 4k
--duration Length in whole seconds
--audio Generate a soundtrack; --audio=false to turn it off
--first-frame First frame image: URL or file
--last-frame Last frame image: URL or file
--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 5s)

Plus the global flags. A model accepts only some of these; img-cli models show <provider:model> lists which.

See also