Merge pull request #41 from Calcium-Ion/optimize/mj

optimize: MJ 部分调整、优化
This commit is contained in:
Calcium-Ion
2024-01-03 22:45:23 +08:00
committed by GitHub
5 changed files with 217 additions and 56 deletions

View File

@@ -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 {