Reference

Options and settings that apply to every command. For one command's own flags, run vibetoken <command> --help.

Commands

Command Does
image, video, 3d create, get, wait, and find generations
audio speech Turn text into an audio file
generation <id> Show what a generation cost
models list, get, schema, pricing, and popular
billing balance and transactions
auth login, logout, and status
config list, get, set, unset, and path
api <path> Send a raw request to any endpoint
commands List every command and flag
completion <shell> Print a shell completion script
version Print the version

Global options

Option Effect
--json Print JSON; same as -o json
-q, --quiet Hide progress on stderr
--dry-run Print the request instead of sending it
--api-key Use this API key
-v, --verbose Log HTTP requests to stderr
--max-retries Retries for rate limits and transient errors (default 3)
--http-timeout Timeout for one HTTP request (default 10m)
--base-url API origin (default https://vibetoken.cn)

Settings

Each setting can come from a flag, an environment variable, or the config file, in that order of precedence.

Setting Flag Environment variable Config key
API key --api-key VIBETOKEN_API_KEY (use auth login)
Output format -o, --json VIBETOKEN_OUTPUT output
API origin --base-url VIBETOKEN_BASE_URL base_url
vibetoken config set output json   # print JSON by default
vibetoken config list              # every setting and where its value comes from
vibetoken config path              # where the config file is

VIBETOKEN_CONFIG_DIR moves the config directory.

Shell completion

vibetoken completion zsh > "${fpath[1]}/_vibetoken"   # zsh
vibetoken completion bash > /etc/bash_completion.d/vibetoken
vibetoken completion fish > ~/.config/fish/completions/vibetoken.fish

Exit codes

See AI agents and scripts.