diff --git a/changlog.md b/changlog.md index daceb000c0..e614bd810f 100644 --- a/changlog.md +++ b/changlog.md @@ -1,6 +1,9 @@ # 功能升级日志 # 计划 +# 2.21.4 +- 😄 新增:runway图片增加首尾帧选择 + # 2.21.3 - 🐞 修复:回复数最多只有4096太少导致有时无法正常输出 #516 - 😄 优化:支持实时语音对话服务中的设置 diff --git a/package.json b/package.json index 00effb2831..56431a7f09 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chatgpt-web-midjourney-proxy", - "version": "2.21.3", + "version": "2.21.4", "private": false, "description": "ChatGPT Web Midjourney Proxy", "author": "Dooy ", diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 96fe583a58..88be96645b 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -8,7 +8,7 @@ }, "package": { "productName": "ChatGPT-MJ", - "version": "2.21.3" + "version": "2.21.4" }, "tauri": { "allowlist": { diff --git a/src/views/luma/runwayInput.vue b/src/views/luma/runwayInput.vue index ab443f1744..fe81e61deb 100644 --- a/src/views/luma/runwayInput.vue +++ b/src/views/luma/runwayInput.vue @@ -2,7 +2,7 @@ import { mlog, upImg } from '@/api'; import { runwayFeed, runwayFetch, runwayUpload } from '@/api/runway'; import { gptServerStore, homeStore } from '@/store'; -import { useMessage,NInput,NButton, NTag,NSelect,NPopover } from 'naive-ui'; +import { useMessage,NInput,NButton, NTag,NSelect,NPopover,NSwitch } from 'naive-ui'; import { computed, onMounted, ref, watch } from 'vue'; import { SvgIcon } from '@/components/common'; import { t } from '@/locales'; @@ -10,7 +10,7 @@ import { RunwayTask } from '@/api/runwayStore'; const fsRef= ref() ; const runway= ref<{image_prompt?:string,seed:number,text_prompt:string}>({image_prompt:'',seed:1675247627,text_prompt:''}); -const st= ref({isDo:false,uploading:false, version:'gen2',time:5}); +const st= ref({isDo:false,uploading:false, version:'gen2',time:5,image_as_end_frame:false}); const ms = useMessage(); const exRunway= ref() async function selectFile(input:any){ @@ -93,6 +93,7 @@ const generate= async ()=>{ "enhance_prompt": true, "width": 1280, "height": 768, + "image_as_end_frame": false, "assetGroupName": "Generative Video", "init_image": runway.value.image_prompt, "resolution": '720p'// runway.value.image_prompt, @@ -138,6 +139,8 @@ const generate= async ()=>{ delete gen3.options.extended_from_task_id; delete gen3_trubo.options.extended_from_task_id; } + gen3.options.image_as_end_frame=st.value.image_as_end_frame + gen3_trubo.options.image_as_end_frame=st.value.image_as_end_frame gen3.options.exploreMode= st.value.version=='europa' let sobj:any = gen3; @@ -247,7 +250,7 @@ watch(()=>homeStore.myData.act, (n)=>{
-
+