UrielCh / midjourney-client

midjourney-client in deno

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

RyszardRzepa opened this issue · comments

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

I've the same issue