Skip to main content
Capabilities

Image Generation & Editing

Bailian CLI command reference for image generation and editing.

A single command invokes Bailian's image generation and editing capabilities from the terminal.
Append --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

CapabilityCommandTypical modelNotesCommon options
Image generationbl image generateqwen-image-2.0Pro text rendering, photorealism, strong semantic adherence--prompt, --model, --size, --async async task
Image editingbl image editqwen-image-2.0Supports 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"