diff --git a/src/views/ai/image/midjourney/index.vue b/src/views/ai/image/midjourney/index.vue index 64ab4fed..7f288747 100644 --- a/src/views/ai/image/midjourney/index.vue +++ b/src/views/ai/image/midjourney/index.vue @@ -88,14 +88,6 @@ -
-
- 参考图 -
- - - -
生成内容 @@ -126,7 +118,6 @@ interface ImageSizeVO { // 定义属性 const prompt = ref('') // 提示词 -const referImage = ref() // 参考图 const selectHotWord = ref('') // 选中的热词 const hotWords = ref(['中国旗袍', '古装美女', '卡通头像', '机甲战士', '童话小屋', '中国长城']) // 热词 const selectModel = ref() // 选中的热词 @@ -256,7 +247,6 @@ const handlerGenerateImage = async () => { await message.confirm(`确认生成内容?`) // todo @范 图片生产逻辑 try { - console.log('referImage.value', referImage.value) // 回调 emits('onDrawStart', selectModel.value.key) // 发送请求 @@ -266,7 +256,7 @@ const handlerGenerateImage = async () => { width: selectImageSize.value.width, height: selectImageSize.value.height, version: selectVersion.value, - referImageUrl: referImage.value, + base64Array: [], } as ImageMidjourneyImagineReqVO await ImageApi.midjourneyImagine(req) } finally {