erictik / midjourney-api

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

The variation message filter can't match properperly #121

Open hw-barry opened 1 year ago

hw-barry commented 1 year ago

the code that reproduces this issue or a replay of the bug

image

Describe the bug

Describe the bug The variation response only prompt but no seed, this cause message filter can't match properperly.But the api can work properly about 2 weeks ago. I think it's caused by the update of Discord Midjourney. I see someone write an issue about the variation api response with old message, i found it is caused by the same reason. You can see the pic2, i request a imagine with "cat" prompt , then request the variation api base on this. A few moment later ,i got the debug log in terminal, you can find the filter result is not "variation" but the "imagine"(old message). Please forgive me for my poor English. Expected behavior The variation api can filter variation prompt properly

Screenshots pic1: image pic2: image

error log

I think you may need to adjust the filter logic.

zcpua commented 1 year ago

thanks

zcpua commented 1 year ago

https://github.com/erictik/midjourney-api/commit/ff27a37a787722f910abdae8da22eccf0b8585c8 solved