Commit 17beaa7b by renyizhao

价格展示修改

parent 763e8dce
......@@ -151,6 +151,13 @@ public class AppModelPricingVO {
private BigDecimal audioInputRatio;
@Schema(description = "音频输出倍率")
private BigDecimal audioOutputRatio;
/**
* 按 token 计费的倍率(seedance 风格 u("tokens") * X / 1000000 中的 X)。
* 适用于 openai-video 等按 token 数动态计费的档位,
* 单位 = 元/百万 token。前端展示时优先于 inputRatio/outputRatio。
*/
@Schema(description = "按 token 计费的倍率(seedance 风格,每百万 token 价格)")
private BigDecimal tokensMultiplier;
}
/**
......
......@@ -212,8 +212,10 @@ wx:
# 芋道配置项,设置当前项目所有自定义的配置
computility:
new-api:
base-url: http://172.25.164.0:3000
admin-token: nfcJyVtYb6xtREHA2MyL4f4o5TDg/qU=
# 线上 NewAPI 地址(用于获取 /api/pricing 数据)
base-url: http://phslgld.hnluchuan.com:3000
# 线上 NewAPI 管理员 token(在 NewAPI 后台 → 用户管理 → 管理员账号详情获取)
admin-token: V33oMN4fI5H0wKSs0gXipXZ4WvU6DQ==
admin-user-id: 1
captcha:
enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment