You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the code that reproduces this issue or a replay of the bug
const{ Midjourney }=require("midjourney");asyncfunctionmain(){constclient=newMidjourney({ServerId: '<server>',ChannelId: '<channel>',SalaiToken: '<token>',Ws: true,});constprompt1="A red boat --version 5.2 --turbo";constprompt2="A red boat with a big sail --version 5.2 --turbo";try{awaitclient.init();constimagineResult=awaitclient.Imagine(prompt1);constupscaleResult=awaitclient.Upscale({index: 1,msgId: imagineResult.id,hash: imagineResult.hash,flags: imagineResult.flags,})constvaryStrong=upscaleResult.options.find(option=>option.label==="Vary (Strong)");awaitclient.Custom({msgId: imagineResult.id,content: prompt2,flags: imagineResult.flags,customId: varyStrong.custom,});}catch(err){console.error(err);}finally{client.Close();}}main().then(()=>console.log("done")).catch(err=>console.error(err));
Describe the bug
Describe the bug
I try to invoke a custom action, using the Custom API, in Remix mode, on an Upscaled image.
The specific actions I tried to do this on are Vary (Strong) and Vary (Subtle).
I specifically need to invoke this on the Upscaled image and have control on the Strong/Subtle options.
Model version is 5.2.
Getting the error:
Error: CustomApi failed with status 400
at Midjourney.Custom (remix-example/node_modules/midjourney/libs/midjourney.js:216:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async main (remix-example.js:36:9)
Expected behavior
Apply the Vary (Strong) action on the Upscaled image indexed 1, including the provided prompt.
Additional Info
If I use the V1 action on the Imagined image (rather than the Upscaled) it works.
the code that reproduces this issue or a replay of the bug
Describe the bug
Describe the bug
I try to invoke a custom action, using the Custom API, in Remix mode, on an Upscaled image.
The specific actions I tried to do this on are
Vary (Strong)
andVary (Subtle)
.I specifically need to invoke this on the Upscaled image and have control on the Strong/Subtle options.
Model version is 5.2.
Getting the error:
Expected behavior
Apply the
Vary (Strong)
action on the Upscaled image indexed 1, including the provided prompt.Additional Info
If I use the
V1
action on the Imagined image (rather than the Upscaled) it works.My
midjourney
iserror log
The text was updated successfully, but these errors were encountered: