midjourney-api icon indicating copy to clipboard operation
midjourney-api copied to clipboard

Error generating the image: ImagineApi failed with status 400

Open willymmerlet12 opened this issue 1 year ago • 6 comments

I have been using this api for over 2 weeks and never had any issues. Today I have been getting this error surprisingly. its says error config { all my configs here } . What could generate this error? Do I have to create a new discord bot? and change the configs? ANy help would be greatly appreciated!

willymmerlet12 avatar Jun 15 '23 18:06 willymmerlet12

same error here, a few minutes ago

HiroForYou avatar Jun 15 '23 18:06 HiroForYou

I made an issue here to track the fix: https://github.com/erictik/midjourney-api/issues/124

It's related to the prompt version ID changing.

jakowenko avatar Jun 15 '23 18:06 jakowenko

Opened the new pull req with the fix till then you can update using my repo using this command > npm i github:iamkunal9/midjourney-api

iamkunal9 avatar Jun 15 '23 19:06 iamkunal9

Thanks for adding that pull request @iamkunal9 , it worked for me. Where did you get those numbers from?

bradleyberger avatar Jun 15 '23 22:06 bradleyberger

Thanks for adding that pull request @iamkunal9 , it worked for me. Where did you get those numbers from?

You can get them by making the commands on discord and looking at the network request.

jakowenko avatar Jun 16 '23 00:06 jakowenko

https://github.com/erictik/midjourney-api/commit/a15e8c70c78d7116af28092c49ad6bec99f000fd#diff-eb2670564ae072c1d316a239d83b7e1ff892808d117e9e232d9d98db4be6fdd4

zcpua avatar Jun 16 '23 00:06 zcpua