feat: update model lists and adjust quota calculation logic

⚠️breaking change warning: for image models, the model ratio represents the quota cost per image
This commit is contained in:
Laisky.Cai
2025-03-16 02:01:44 +00:00
parent f3300f08e2
commit fa794e7bd5
4 changed files with 258 additions and 197 deletions

View File

@@ -15,7 +15,11 @@ import (
)
var ModelList = []string{
"imagen-3.0-generate-001",
// create
"imagen-3.0-generate-001", "imagen-3.0-generate-002",
"imagen-3.0-fast-generate-001",
// edit
// "imagen-3.0-capability-001", // not supported yet
}
type Adaptor struct {