CLI
积分
运行前如何预估积分消耗。
每次运行消耗账户积分,由两部分组成:生成和抠图。CLI 在提交前把预估写到标准错误:
[cost-estimate] 预计约 75 积分(生成 72 + 抠图 3)想在不花积分的情况下拿到准确的预估,加 --dry-run,见 输出模式。
图片工具
生成积分 = 画质单价 × 配对数 × --count,其中配对数 = 商品件数 × 模特图数(没传的一方按 1 计)。
单位:积分 / 张。默认画质为最便宜的 low。
视频工具
生成积分 = round(每秒单价 × --duration)。
| 工具 | 分辨率 | 每秒 | 5 秒 | 10 秒 |
|---|---|---|---|---|
图转视频 image-to-video | 720P | 19.05 | 95 | 191 |
商品短片 product-promo | 720P | 31.75 | 159 | 318 |
1080P | 78.59 | 393 | 786 | |
运镜控制 motion-control | 720P | 19.05 | 95 | 191 |
萌宠带货 replace-elements | 720P | 31.75 | 159 | 318 |
1080P | 78.59 | 393 | 786 |
默认分辨率为最便宜的一档。
抠图
每张需要抠图的输入图 1 积分,加 --no-cutout 跳过。哪些输入会抠图见 本地文件与上传。
示例
| 命令 | 预估 |
|---|---|
tufty pet-dressup --product ./sweater.jpg --model ./corgi.jpg | 6 × 1 × 1 + 抠图 2 = 8 |
tufty pet-dressup --product ./sweater.jpg ./hoodie.jpg --model ./corgi.jpg ./shiba.jpg --quality medium --count 2 | 18 × 4 × 2 + 抠图 4 = 148 |
tufty product-promo --still ./sweater.jpg --resolution 1080P --duration 10 | 786 + 抠图 1 = 787 |
tufty image-to-video --still ./corgi.png --no-cutout | 95 |
价格会调整
以上价格取自 2026 年 9 月 15 日的服务端工具清单。价格以清单为准,可能随时调整;CLI 的预估始终使用最新清单,运行 tufty tools describe <id> 或 tufty <tool> -h 可查看当前价格。
