【代码优化】AI:绘图 index.vue 代码梳理 65%(Dall3.vue)

This commit is contained in:
YunaiV
2024-07-09 20:41:22 +08:00
parent 75af4f07c0
commit 7706e46bfa
3 changed files with 75 additions and 80 deletions

View File

@@ -63,6 +63,7 @@ export const ImageHotEnglishWords = [
export interface ImageModelVO {
key: string
name: string
image?: string
}
export const StableDiffusionSamplers = ref<ImageModelVO[]>([
@@ -210,3 +211,16 @@ export const StableDiffusionClipGuidancePresets = ref<ImageModelVO[]>([
name: 'SLOWEST'
}
])
export const Dall3Models = ref<ImageModelVO[]>([
{
key: 'dall-e-3',
name: 'DALL·E 3',
image: `/src/assets/ai/dall2.jpg`
},
{
key: 'dall-e-2',
name: 'DALL·E 2',
image: `/src/assets/ai/dall3.jpg`
}
])