mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-01 07:58:23 +00:00
update pricing in cost estimate handler
This commit is contained in:
1 parent
25cea9abf2
commit
e78027384d
1 file changed
-7
-7
@@ -34,13 +34,6 @@ pub async fn omni_gen_video_cost_handler(
|
||||
|
||||
builder.provider = Provider::Artcraft;
|
||||
|
||||
// We bill global Seedance 2.0 at the same rate (for now) as regular Seedance 2.0
|
||||
match builder.model {
|
||||
CommonVideoModel::Seedance2p0Global => builder.model = CommonVideoModel::Seedance2p0,
|
||||
CommonVideoModel::Seedance2p0FastGlobal => builder.model = CommonVideoModel::Seedance2p0Fast,
|
||||
_ => {},
|
||||
}
|
||||
|
||||
let estimate = if builder.use_new_builder() {
|
||||
builder.build2()
|
||||
.map_err(|e| {
|
||||
|
||||
Reference in new issue
Block a user