erictik / midjourney-api

MidJourney client. Unofficial Node.js client
Apache License 2.0
1.68k stars 280 forks source link

Upscale functionality: wrong parameter used in WaitOptionMessage #3

Closed BerryCave closed 1 year ago

BerryCave commented 1 year ago

Hi!

inside src/midjourney.ts I need to change the async Upscale method using a return as follow: return await this.WaitOptionMessage(content, 'Image #' + index, loading) I discovered that inside my channel on Discord after my request prompt, midjourney bot put a "Image #" text followed by the index of image choosen in upscale request.

I hope this is useful.

Regards, Roberto

zcpua commented 1 year ago

Hi Roberto!

The format when loading is prompt +'Image #' + index. The format when successful is prompt + '- Upscaled by'. example: a bird - Upscaled by @Soga (fast)

Can you give me an example

BerryCave commented 1 year ago

I mean this:

[image: image.png]

The prompt is "**" + original prompt + "Image #" + index chosen for upscale.

I hope now it's clear :-)

Regards, Roberto

Il giorno mar 25 apr 2023 alle ore 17:09 Eric @.***> ha scritto:

Hi Roberto!

The format when loading is prompt +'Image #' + index. The format when successful is prompt + '- Upscaled by'. example: a bird - Upscaled by @Soga https://github.com/Soga (fast)

Can you give me an example

— Reply to this email directly, view it on GitHub https://github.com/erictik/midjourney-api/issues/3#issuecomment-1521962085, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVJTQUBZQOG43FMQJTML4P3XC7SL7ANCNFSM6AAAAAAXK3LT3Q . You are receiving this because you authored the thread.Message ID: @.***>

-- Roberto Milani Founder & Owner

https://community.berrycave.tech/ @.*** 349 3969659

BerryCave commented 1 year ago

!!! Maybe a misunderstanding occurred since I use my own server and channel to host midjourney bot. !!!

In the meantime, I'm rewriting all application code inspired by your own code, operating a porting in .Net 6.0 / C# :-)

Regards, Roberto

Il giorno mar 25 apr 2023 alle ore 17:09 Eric @.***> ha scritto:

Hi Roberto!

The format when loading is prompt +'Image #' + index. The format when successful is prompt + '- Upscaled by'. example: a bird - Upscaled by @Soga https://github.com/Soga (fast)

Can you give me an example

— Reply to this email directly, view it on GitHub https://github.com/erictik/midjourney-api/issues/3#issuecomment-1521962085, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVJTQUBZQOG43FMQJTML4P3XC7SL7ANCNFSM6AAAAAAXK3LT3Q . You are receiving this because you authored the thread.Message ID: @.***>

-- Roberto Milani Founder & Owner

https://community.berrycave.tech/ @.*** 349 3969659