Video

Generate video from a prompt, from a first and last frame, or from reference images. Video takes minutes, so this page also shows how to submit now and collect later.

Generate from a prompt

img-cli video -m vibetoken:bytedance/seedance-2-t2v "a cat playing piano" --duration 5 --aspect 16:9 -o out/

--duration is whole seconds; --resolution is 480p, 720p, 1080p, 2k, or 4k. Add --audio for a soundtrack on models that make one, and --audio=false to turn it off.

Start from an image

Animate a first frame, or set both ends:

img-cli video -m laozhang:MiniMax-H3 "camera zooms out" --first-frame start.png --resolution 768p --duration 6 -o out/
img-cli video -m vibetoken:kuaishou/kling-v4-i2v "the flower blooms" --first-frame bud.png --last-frame flower.png -o out/

Models that take reference images for style or characters use --ref, repeated for more.

Submit now, collect later

img-cli video -m vibetoken:bytedance/seedance-2-t2v "a cat playing piano" --no-wait
img-cli task wait 8a1c2e44b0f1 -o out/

Closing the terminal or pressing Ctrl-C doesn't stop the task; task wait picks it up again. See Tasks and results.

Flags

Flag Format
--aspect W:H
--resolution 480p, 720p, 1080p, 2k, 4k
--duration Whole seconds
--audio Generate a soundtrack; --audio=false turns it off
--first-frame, --last-frame Image, URL or file
--ref Reference image; repeat for more
--seed, --negative As for images

Each model supports some of these, often with its own list of values; check with img-cli models show <provider:model>. The full list is in the command reference.