Leonardo.ai key not working {{1}} not working

My http request for image to Leonardo.ai is coming back with a string error for the number of images I am requesting. Even when I try {{1}}, I get the same error.
Even when I remove the parameter for the # of images, I get the same error.

Since it was posted here already and since it did not work for me, I opened up a “Bug Error”, but was told this is not a “bug” and could be fix via the “community”.

I am using n8n: Version 1.91.2

So, does anyone have an idea how to resolve this?

Share the workflow or HTTP node


Hi Daniel

I figured it out.  
Every parameter except the prompt needed to be encased in {{x}}.

Thanks for your reply for help..
I am sure I will need it at a later date..