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
async function main() {
const client = new Midjourney({
ServerId: process.env.SERVER_ID,
ChannelId: process.env.CHANNEL_ID,
SalaiToken: process.env.SALAI_TOKEN,
Debug: true,
Ws: true, //enable ws is required for remix mode
})
await client.init() //init auto enable remix mode
const prompt =
'48 year old woman with auburn hair plays video games on a tablet in her bedroom and is a chemist. Engaged. Happy. Evening. Silver blue walls in room. In the style of anime. does not exceed 10 MB.'
const Imagine = await client.Imagine(
prompt,
(uri: string, progress: string) => {
console.log('Imagine.loading', uri, 'progress', progress)
}
)
console.log(Imagine)
if (!Imagine) {
console.log('no message')
return
}
const Reroll = await client.Reroll({
msgId: Imagine.id,
hash: Imagine.hash,
flags: Imagine.flags,
content: prompt,
loading: (uri: string, progress: string) => {
console.log('Reroll.loading', uri, 'progress', progress)
},
})
Describe the bug
Describe the bug
Reroll feature is not working.
Expected behavior
new image is suppose to be generate but nothing happen when reroll is called.
error log
no log
The text was updated successfully, but these errors were encountered:
the code that reproduces this issue or a replay of the bug
async function main() {
const client = new Midjourney({
ServerId: process.env.SERVER_ID,
ChannelId: process.env.CHANNEL_ID,
SalaiToken: process.env.SALAI_TOKEN,
Debug: true,
Ws: true, //enable ws is required for remix mode
})
await client.init() //init auto enable remix mode
const prompt =
'48 year old woman with auburn hair plays video games on a tablet in her bedroom and is a chemist. Engaged. Happy. Evening. Silver blue walls in room. In the style of anime. does not exceed 10 MB.'
const Imagine = await client.Imagine(
prompt,
(uri: string, progress: string) => {
console.log('Imagine.loading', uri, 'progress', progress)
}
)
console.log(Imagine)
if (!Imagine) {
console.log('no message')
return
}
const Reroll = await client.Reroll({
msgId: Imagine.id,
hash: Imagine.hash,
flags: Imagine.flags,
content: prompt,
loading: (uri: string, progress: string) => {
console.log('Reroll.loading', uri, 'progress', progress)
},
})
Describe the bug
Describe the bug
Reroll feature is not working.
Expected behavior
new image is suppose to be generate but nothing happen when reroll is called.
error log
no log
The text was updated successfully, but these errors were encountered: