feat: add Stability AI

This commit is contained in:
Martial BE
2024-04-18 18:53:49 +08:00
parent b20659dfcc
commit 303fe3360b
10 changed files with 216 additions and 0 deletions

View File

@@ -174,6 +174,7 @@ const (
ChannelTypeMidjourney = 34
ChannelTypeCloudflareAI = 35
ChannelTypeCohere = 36
ChannelTypeStabilityAI = 37
)
var ChannelBaseURLs = []string{
@@ -214,6 +215,7 @@ var ChannelBaseURLs = []string{
"", //34
"", //35
"https://api.cohere.ai/v1", //36
"https://api.stability.ai/v2beta", //37
}
const (