mirror of
https://gitee.com/wanwujie/sub2api
synced 2026-04-03 15:02:13 +08:00
fix: add 2K image pricing at 1.5x base price
This commit is contained in:
@@ -543,7 +543,10 @@ func (s *BillingService) getDefaultImagePrice(model string, imageSize string) fl
|
||||
basePrice = 0.134
|
||||
}
|
||||
|
||||
// 4K 尺寸翻倍
|
||||
// 2K 尺寸 1.5 倍,4K 尺寸翻倍
|
||||
if imageSize == "2K" {
|
||||
return basePrice * 1.5
|
||||
}
|
||||
if imageSize == "4K" {
|
||||
return basePrice * 2
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user