erictik / midjourney-api

MidJourney client. Unofficial Node.js client
Apache License 2.0
1.69k stars 283 forks source link

Error: VariationApi failed with status 404 #118

Open lys623 opened 1 year ago

lys623 commented 1 year ago

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

image

Describe the bug

image

error log

why?Often appear

lys623 commented 1 year ago

the queen of the underworld, race: vampire, appearance: delicate features with detailed portrayal, super exquisite facial features, silver long hair reaching ankles, silver pupils, fair skin with a hint of melancholy in the eyes, beautiful and noble, clothing: wearing a blood-red rose on the hair, skirt with layers of lace, sitting in a (pose), captured in ultra-high resolution, film-like realism, 8k for the best visual quality, super clear and finely drawn. --ar 9:16 --v 5

Stable recurring keywords,After generating, wait a few minutes to zoom in

zcpua commented 1 year ago

https://github.com/erictik/midjourney-client/pull/137

zcpua commented 1 year ago

midjourney version 3.0

zcpua commented 1 year ago

https://github.com/erictik/midjourney-client/blob/main/example/imagine-ws.ts#L58

lys623 commented 1 year ago

https://github.com/erictik/midjourney-client/blob/main/example/imagine-ws.ts#L58

So what I actually did was Upscale api,So it doesn't look like there's a fix, because the changed code isn't involved

image

100% reproduction ⬇️,After generating, wait a few minutes to use Upscale api

the queen of the underworld, race: vampire, appearance: delicate features with detailed portrayal, super exquisite facial features, silver long hair reaching ankles, silver pupils, fair skin with a hint of melancholy in the eyes, beautiful and noble, clothing: wearing a blood-red rose on the hair, skirt with layers of lace, sitting in a (pose), captured in ultra-high resolution, film-like realism, 8k for the best visual quality, super clear and finely drawn. --ar 9:16 --v 5

lys623 commented 1 year ago

image

I guess because it was the original message that was deleted, it caused the Upscale operation 404?

zcpua commented 1 year ago

https://github.com/erictik/midjourney-client/blob/main/example/imagine-ws.ts#L58 flags

lys623 commented 1 year ago

https://github.com/erictik/midjourney-client/blob/main/example/imagine-ws.ts#L58 flags

client.Imagine api not has flags res

artemptushkin commented 1 year ago

can anyone answer what if these flags?? I update the mj ui to mj api 4.* but same issue I have