【增加】ai image 对接通义参数

This commit is contained in:
cherishsince
2024-07-10 21:35:45 +08:00
parent 51c6bfe42c
commit c76b622722
2 changed files with 17 additions and 101 deletions

View File

@ -21,17 +21,15 @@ export const AiPlatformEnum = {
STABLE_DIFFUSION: 'StableDiffusion', // Stability AI
MIDJOURNEY: 'Midjourney', // Midjourney
SUNO: 'Suno', // Suno AI
TONG_YI_WAN_XIANG: 'TongYiWanXiang', //// 通义万相
YI_YAN_IMAGE: 'YiYanImage' //// 百度 image
}
export const OtherPlatformEnum:ImageModelVO [] = [
{
key: AiPlatformEnum.TONG_YI_WAN_XIANG,
key: AiPlatformEnum.TONG_YI,
name: '通义万相'
},
{
key: AiPlatformEnum.YI_YAN_IMAGE,
key: AiPlatformEnum.YI_YAN,
name: '百度图片'
}
]
@ -203,6 +201,7 @@ export const StableDiffusionStylePresets: ImageModelVO[] = [
}
]
// todo @芋艿 这些是通义的风格,看要不要删除
export const TongYiWanXiangStylePresets: ImageModelVO[] = [
{
key: '-1',