ferranfg / midjourney-discord-api-php

Generate images using Midjourney Bot through the Discord API.
https://ferranfigueredo.com
MIT License
135 stars 35 forks source link

Some accounts, Midjournal, have generated images but have not returned them #15

Closed carefreezi closed 1 year ago

carefreezi commented 1 year ago

Some accounts, Midjournal, have generated images but have not returned them what problem is it?

ferranfg commented 1 year ago

@carefreezi can you share the prompt you are using and a var_dump of this $response?

https://github.com/ferranfg/midjourney-discord-api-php/blob/main/src/Midjourney.php#L130

carefreezi commented 1 year ago

Solved the problem because they set some parameters, which resulted in instructions such as - v5- q following, making it impossible to return

ferranfg commented 1 year ago

Thanks. I've started to see this is more common than expected, so I will try to fix it from the library. Or at least add some documentation.

erikpolder commented 1 year ago

@carefreezi may I ask you how you solved this issue since I am running in the same behavior =) Thanks!

ferranfg commented 1 year ago

If you run the /settings MJ command, you will see something like: Current suffix: --v 5.1 (or other params). To get this library running, try to change your settings so your current suffix is empty and add the --v 5.1 (or the additional params) to your prompt instead.