Bailian CLI command reference for model fine-tuning, deployment, and throughput reservation management.
Manage the full model fine-tuning and deployment lifecycle from the terminal: create fine-tune jobs, manage checkpoints, deploy dedicated models, and manage throughput reservations.
Purchasing, scaling, renewing, releasing, and setting overflow strategies for capacity instances are high-risk operations: execution is blocked without
Fine-tuning
bl finetune text create: Create a text model fine-tune job (sft | sft-lora | dpo | dpo-lora | cpt) with advanced parameters for job name, priority, LoRA, evaluation, checkpoint saving, dataset split, and data augmentationbl finetune audio create: Create an audio TTS model fine-tune job (sft-lora)bl finetune image create: Create an image generation model fine-tune job (sft-lora)bl finetune video create: Create a video generation model fine-tune job (Wan i2v/kf2v, efficient_sft)bl finetune list: List fine-tune jobsbl finetune get: Get details of a single fine-tune job, including job metadata and hyperparametersbl finetune watch: Probe a fine-tune job's status; use--followto poll until terminalbl finetune logs: Fetch training logs for a fine-tune jobbl finetune checkpoints: List checkpoints produced by a fine-tune jobbl finetune export: Publish a checkpoint as a deployable modelbl finetune cancel: Cancel a running fine-tune jobbl finetune delete: Delete a fine-tune job recordbl finetune capability: Query fine-tune training capability — by model (which training types it supports) or by training type (which models support it)bl finetune price: Estimate the training cost for a fine-tune job (token billing)
Deployment
Deployment management
bl deploy text create: Create a text model deploymentbl deploy audio create: Create an audio (TTS) model deploymentbl deploy image create: Create an image generation model deploymentbl deploy list: List model deployments and throughput reservationsbl deploy get: Get details of a single model deploymentbl deploy update: Update a deployment's rate limits (rpm_limit / tpm_limit)bl deploy scale: Scale a deployment's capacitybl deploy delete: Delete a model deployment (PTU must be STOPPED with all capacity released)bl deploy pause: Pause a running model deployment (stops billing for mu/ptu)bl deploy resume: Resume a paused model deployment (brings service back online)bl deploy models: List models available for deployment
Throughput reservation capacity
Purchasing, scaling, renewing, releasing, and setting overflow strategies for capacity instances are high-risk operations: execution is blocked without --yes; preview with --dry-run first.
bl deploy capacity list: List throughput reservation capacity instancesbl deploy capacity get: Get a throughput reservation capacity instancebl deploy capacity create: Purchase an additional capacity instance for a ModelCodebl deploy capacity scale: Scale the absolute capacity of one reservation instancebl deploy capacity renew: Renew a prepaid capacity instance, optionally changing capacitybl deploy capacity delete: Release a capacity instance without deleting its ModelCodebl deploy capacity unsubscribe: Build the Aliyun billing console unsubscribe link for a prepaid capacity instancebl deploy overflow: Set the overflow strategy for a throughput reservation ModelCodebl deploy operation get: Query a throughput reservation capacity operation oncebl deploy operation wait: Wait for a capacity operation and refresh confirmed capacity