prodia-js icon indicating copy to clipboard operation
prodia-js copied to clipboard

No width & height params in prodia.generate()

Open msveshnikov opened this issue 2 years ago • 3 comments

If I provide width and height, I got 400. Just aspect_ratio is not enough

msveshnikov avatar Dec 29 '23 09:12 msveshnikov

Hey @msveshnikov, have you tried specifying width + height but not aspect_ratio? We support both but are moving to standardise just width and height. What operations are you running too?

montyanderson avatar Jan 08 '24 14:01 montyanderson

You do support width&height in REST API, but in prodia-js wrapper I got 400 (without aspect_ratio)

msveshnikov avatar Jan 08 '24 15:01 msveshnikov

Ok @msveshnikov I'm looking into this :)

montyanderson avatar Jan 08 '24 16:01 montyanderson