UrielCh / midjourney-client

midjourney-client in deno
MIT License
53 stars 11 forks source link

Calling client.imagine() with the invalid prompt don't return error message. #22

Open RyszardRzepa opened 1 year ago

RyszardRzepa commented 1 year ago

How to get an error message when the prompt is invalid? The function client.imagine() is still running even if midjourney bot return error message in discord.

Example error message from discord bot: Unrecognized parameter(s): –v, 5 /imagine Game-Art | An island with different geographical properties and multiple small cities floating in space ::10 Island | Floating island in space – waterfalls over the edge of the island falling into space – island fragments floating around the edge of the island ::6 Details | Mountain Ranges – Deserts – Snowy Landscapes – Small Villages – one larger city ::8 Environment | Galaxy – in deep space – other universes can be seen in the distance ::2 Style | Unreal Engine 5 – 8K UHD – Highly Detailed – Game-Art ::7—ar 16:9 —s 1000 –v 5

fadiakkad commented 1 year ago

I've the same issue