mrhan1993 / Fooocus-API

FastAPI powered API for Fooocus
GNU General Public License v3.0
502 stars 131 forks source link

"aspect_ratios_selections" parameter not working #353

Closed ryanrezrez closed 2 weeks ago

ryanrezrez commented 2 weeks ago

I am interacting with the API and I am sending these parameters: *{ "prompt": "18 year old teenage girl, portrait, colorful hair", "style_selections": ["Fooocus Masterpiece"], "aspect_ratios_selections": "19201080", "async_process": false }**

the API does not take "aspect_ratios_selections" value into consideration and keeps generating with the default aspect ratio, which is "1152*896". I tried with multiple different ratios, but the same problem keep occuring.

Please help or fix.

ryanrezrez commented 2 weeks ago

Nevermind, it's "aspect_ratios_selection" not "aspect_ratios_selections" lol