mirror of
https://github.com/modelstudioai/cli.git
synced 2026-09-14 19:49:23 +08:00
9600f06205
# Conflicts: # skills/bailian-gen/reference/index.md
6.6 KiB
6.6 KiB
bailian-gen command reference
Auto-generated from
packages/cli/src/commands.ts. Do not edit by hand. Regenerate:pnpm --filter bailian-cli run generate:reference.
Command details are in sibling <group>.md files in this directory.
This index only covers groups owned by this skill. Other bl groups live in sibling bailian-* skills.
Use this index for the skill-scoped quick index and global flags.
Quick index
| Command | Authentication | Description | Detail |
|---|---|---|---|
bl image edit |
API Key | Edit an existing image with text instructions (Qwen-Image / Wan 2.7) | image.md |
bl image generate |
API Key | Generate images (Qwen-Image / wan2.x) | image.md |
bl omni |
API Key | Multimodal chat with text + audio output (Qwen-Omni) | omni.md |
bl speech recognize |
API Key | Recognize speech from audio files (FunAudio-ASR / Qwen-ASR Flash) | speech.md |
bl speech synthesize |
API Key | Synthesize speech from text | speech.md |
bl video download |
API Key | Download a completed video by task ID | video.md |
bl video edit |
API Key | Edit a video with happyhorse-1.0-video-edit (style transfer, object replacement, etc.) | video.md |
bl video generate |
API Key | Generate a video from text or image (wan3.0-video / wan2.6-t2v / happyhorse-1.1-i2v) | video.md |
bl video ref |
API Key | Reference-to-video generation (wan3.0-video / happyhorse-1.1-r2v / wan2.6-r2v): multi-subject, multi-shot with voice | video.md |
bl video task get |
API Key | Query async task status | video.md |
bl vision describe |
API Key | Describe an image or video using Qwen-VL | vision.md |
By group
| Group | Commands | Reference |
|---|---|---|
image |
edit, generate |
image.md |
omni |
(root) |
omni.md |
speech |
recognize, synthesize |
speech.md |
video |
download, edit, generate, ref, task get |
video.md |
vision |
describe |
vision.md |
Global flags
Available on every command (in addition to command-specific flags):
| Flag | Type | Required | Description |
|---|---|---|---|
--output <format> |
string | no | Output format: text, json |
--timeout <seconds> |
number | no | Request timeout |
--quiet |
switch | no | Suppress non-essential output |
--verbose |
switch | no | Print HTTP request/response details |
--dry-run |
switch | no | Dry run mode |
--config <name> |
string | no | Use a config profile for this command |
--help |
switch | no | Show help |
--version |
switch | no | Print version |
Model auth flags
Available on model-domain commands (API-key auth); also listed per command below:
| Flag | Type | Required | Description |
|---|---|---|---|
--api-key <key> |
string | no | API key |
--base-url <url> |
string | no | API base URL |
Console auth flags
Available on console-domain commands (console login auth); also listed per command below:
| Flag | Type | Required | Description |
|---|---|---|---|
--console-region <region> |
string | no | Console gateway region (e.g. cn-beijing, ap-southeast-1) |
--console-site <site> |
string | no | Console site: domestic, international |
--console-switch-agent <uid> |
number | no | Switch agent UID for delegated access |
--workspace-id <id> |
string | no | Workspace ID (env: BAILIAN_WORKSPACE_ID) |
OpenAPI auth flags
Available on OpenAPI-domain commands (AK/SK auth); also listed per command below:
| Flag | Type | Required | Description |
|---|---|---|---|
--access-key-id <key> |
string | no | Alibaba Cloud Access Key ID (env: ALIBABA_CLOUD_ACCESS_KEY_ID) |
--access-key-secret <key> |
string | no | Alibaba Cloud Access Key Secret (env: ALIBABA_CLOUD_ACCESS_KEY_SECRET) |
--security-token <token> |
string | no | Alibaba Cloud STS Security Token (env: ALIBABA_CLOUD_SECURITY_TOKEN) |
Notes
- Console commands (
app list,usage free,console call) requirebl auth login --console. - Most API commands use
DASHSCOPE_API_KEYorbl auth login --api-key. - Token Plan commands use OpenAPI AK/SK via
bl auth login --open-apiorALIBABA_CLOUD_ACCESS_KEY_ID/ALIBABA_CLOUD_ACCESS_KEY_SECRET. - Default output: text unless explicitly set to
jsonwith--output,DASHSCOPE_OUTPUT, or config.