[Feature Request]: Add a 'resize_by' param to '/sdapi/v1/img2img' API endpoint #15758
Open
1 task done
Labels
enhancement
New feature or request
Is there an existing issue for this?
What would your feature do ?
In the UI >
Img2Img
Tab, there is a nifty way to set bothWidth
andHeight
values simultaneously via theResize by
tab.Currently, there is no such parameter in the
/sdapi/v1/img2img
API endpoint.When using the API, the
Width
andHeight
values must be explicitly specified.Current empty .json for reference:
img2img_input.json
As it stands, users are required to determine the
Width
andHeight
of their input image, and code their own calculations to yield the desiredWidth
andHeight
.Please add a
resize_by
parameter to/sdapi/v1/img2img
Proposed workflow
resize_by
parameterAdditional information
No response
The text was updated successfully, but these errors were encountered: