Bailian CLI command reference for image generation and editing.
A single command invokes Bailian's image generation and editing capabilities from the terminal.
ImportantAppend --help to any command for full parameter details, e.g. bl image 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 |
|---|---|---|---|---|
| Image generation | bl image generate | qwen-image-3.0 | Pro text rendering, photorealism, strong semantic adherence | --prompt, --model, --size, --async async task |
| Image editing | bl image edit | qwen-image-3.0 | Supports multi-image composition | --image repeat to merge multiple images, --prompt edit instruction |
Examples
bl image generate --prompt "A steaming cup of pour-over coffee on a wooden table, morning light" --size 1024x1024
bl image edit --image ./photo1.png --image ./photo2.png --prompt "Merge the people from both images into one scene"