【增加】ChatGlm 对接 Image

This commit is contained in:
cherishsince
2024-07-12 16:30:33 +08:00
parent dd76cc581c
commit d14ba2ed9e
2 changed files with 19 additions and 2 deletions

View File

@ -21,6 +21,7 @@ export const AiPlatformEnum = {
STABLE_DIFFUSION: 'StableDiffusion', // Stability AI
MIDJOURNEY: 'Midjourney', // Midjourney
SUNO: 'Suno', // Suno AI
CHATGLM: 'ChatGlm', // ChatGlm
}
export const OtherPlatformEnum:ImageModelVO [] = [
@ -31,6 +32,10 @@ export const OtherPlatformEnum:ImageModelVO [] = [
{
key: AiPlatformEnum.YI_YAN,
name: '百度千帆'
},
{
key: AiPlatformEnum.CHATGLM,
name: '智铺 ChatGlm'
}
]
@ -266,6 +271,13 @@ export const QianFanModels: ImageModelVO[] = [
}
]
export const ChatGlmModels: ImageModelVO[] = [
{
key: 'cogview-3',
name: 'cogview-3'
}
]
export const StableDiffusionClipGuidancePresets: ImageModelVO[] = [
{