Aspect ratio of the generated image

#6
by Musisd - opened

Hello, I have no experience in coding or anything but I have seemed to be able to walk around and do what I wanted and generate the images desired the only thing that I didn't seem to get around was setting a specific resolution in the advanced settings.
I'm using an API and sending a request on HTTP
here's how I formatted the request :

{
"inputs": "prompt here",
"parameters": {
"target_size": {
"width": 1080,
"height": 1920
}
}
}

but this didn't work, the image is still generated but in the same 1024x1024 resolution

I hope anyone can help me! Thanks

Sign up or log in to comment