feat:【ele】【ai】image 全部实现

This commit is contained in:
YunaiV
2025-11-15 15:51:21 +08:00
parent 104be22d0d
commit 23fd82b31b
8 changed files with 24 additions and 30 deletions

View File

@@ -29,11 +29,13 @@ export const AiModelTypeEnum = {
EMBEDDING: 5, // 向量
RERANK: 6, // 重排
};
export interface ImageModel {
image?: string;
key: string;
name: string;
}
export const OtherPlatformEnum: ImageModel[] = [
{
key: AiPlatformEnum.TONG_YI,
@@ -52,6 +54,7 @@ export const OtherPlatformEnum: ImageModel[] = [
name: '硅基流动',
},
];
/**
* AI 图像生成状态的枚举
*/
@@ -60,6 +63,7 @@ export const AiImageStatusEnum = {
SUCCESS: 20, // 已完成
FAIL: 30, // 已失败
};
/**
* AI 音乐生成状态的枚举
*/
@@ -397,6 +401,7 @@ export const MidjourneyModels: ImageModel[] = [
image: 'https://bigpt8.com/pc/_nuxt/nj.ca79b143.png',
},
];
export const MidjourneyVersions = [
{
value: '6.0',
@@ -459,6 +464,7 @@ export const MidjourneySizeList: ImageSize[] = [
style: 'width: 50px; height: 30px;background-color: #dcdcdc;',
},
];
// ========== PAY 模块 ==========
/**
* 支付渠道枚举