Bailian CLI command reference for video generation, reference-to-video, and video editing.
A single command invokes Bailian's video generation and editing capabilities from the terminal.
ImportantAppend --help to any command for full parameter details, e.g. bl video generate --help. Every parameter that accepts a file URL also accepts a local path — the CLI auto-uploads it to temporary storage (valid for 48 hours), so you never need to host files as URLs yourself.
Command reference
| Capability | Command | Typical model | Notes | Common options |
|---|---|---|---|---|
| Video generation | bl video generate | wan3.0-video (default) | Text-to-video and image-to-video, faithful dynamic motion | --prompt, --image first frame (image-to-video), --download <path> save output, --async async task, --prime Prime mode (workspace-scoped endpoint), --workspace-id workspace ID |
| Reference-to-video | bl video ref | wan3.0-video (default) | Up to 9 reference images; stable subject and scene | --image reference (repeatable), --image-voice subject voice, --prompt |
| Video editing | bl video edit | happyhorse-1.0-video-edit (default) | Natural-language video editing | --video input, --prompt edit instruction, --download <path> save output |
| Video download | bl video download | — | Download a completed video task | --task-id (required), --out <path> (required) |
| Video task query | bl video task get | — | Query async video task status | --task-id |
Examples
bl video generate --prompt "Waves crashing on rocks at sunset, slow camera push-in" --download ./output.mp4
bl video ref --image ./character1.png --image ./scene.png --prompt "Character walking through the scene" --download ./ref-video.mp4