mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-09 15:43:41 +08:00
Merge pull request #41 from Calcium-Ion/optimize/mj
optimize: MJ 部分调整、优化
This commit is contained in:
@@ -14,7 +14,7 @@ import (
|
||||
// 1 === $0.002 / 1K tokens
|
||||
// 1 === ¥0.014 / 1k tokens
|
||||
var ModelRatio = map[string]float64{
|
||||
"midjourney": 50,
|
||||
//"midjourney": 50,
|
||||
"gpt-4-gizmo-*": 15,
|
||||
"gpt-4": 15,
|
||||
"gpt-4-0314": 15,
|
||||
@@ -82,6 +82,12 @@ var ModelRatio = map[string]float64{
|
||||
|
||||
var ModelPrice = map[string]float64{
|
||||
"gpt-4-gizmo-*": 0.1,
|
||||
"mj_imagine": 0.1,
|
||||
"mj_variation": 0.1,
|
||||
"mj_reroll": 0.1,
|
||||
"mj_blend": 0.1,
|
||||
"mj_describe": 0.05,
|
||||
"mj_upscale": 0.05,
|
||||
}
|
||||
|
||||
func ModelPrice2JSONString() string {
|
||||
|
||||
Reference in New Issue
Block a user