mrhan1993/Fooocus-API

"aspect_ratios_selections" parameter not working

ryanrezrez opened this issue · 1 comments

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": "1920*1080",
"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.

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