Unable to use height + width with Workers AI API

Hiya, I was using the Workers AI's API, and used the @cf/black-forest-labs/flux-1-schnell model, along with height and width parameters to get a 16:9 image ratio, and this worked perfectly, up until recently, where when I try to specify height and width paramters as part of my request, I get a 500: Internal Server Error, however if I don't pass the arguments, then it works perfectly. I've looked through the documentation and commits to it, and haven't seen anything that appears to change how this functionality works with this model. Any ideas, or is there something wrong that I'm doing on my end? Thanks for the help!
1 Reply
Twilight
Twilight3w ago
hey there, have you solved it yet? i run into the same issue. it was working fine before with height and width. but now it's not working when passing height and width hello, i found a solution now. just make sure that your dimensions (height and width) are multiples of 16. and it should work fine
Want results from more Discord servers?
Add your server