vibetoken

VibeToken 的命令行客户端。

在终端里生成图像、视频、3D 模型和语音。为脚本和 AI agent 设计。

安装

curl -fsSL https://vt-cli.lutaonan.com/install.sh | bash

快速开始

# 把 API key 保存到系统钥匙串
$ vibetoken auth login

# 找模型,看参数
$ vibetoken models list --modality image
$ vibetoken models schema bytedance/seedream-5.0-flash

# 生成、等待并下载
$ vibetoken image create -m bytedance/seedream-5.0-flash \
    "a red apple" --dir ./out
success after 9s
saved out/5521b782-…-0.jpg
cost: 0.084

特点

所有模型

图像、视频、3D 和语音都在一个 CLI 里,任何模型的参数一条命令就能查到。

$ vibetoken models schema bytedance/seedream-5.0-flash
FIELD          TYPE   REQUIRED  DEFAULT
prompt         text   required
aspect_ratio   enum   optional  "auto"
size           enum   optional  "2K"

适合 agent

可选 JSON 输出、固定的退出码、dry run,以及机器可读的命令列表。

$ vibetoken video get 00000000-… --json
{"error":{"exit_code":4,"status":404,…}}
$ echo $?
4

默认安全

key 存在系统钥匙串里。重试不会重复扣费。Ctrl-C 不会取消任务。

$ vibetoken video wait 7f3c…
^C
error: stopped waiting for generation 7f3c…;
it keeps running on the server. Resume with:
vibetoken video wait 7f3c…