You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As it stands, users are required to determine the Width and Height of their input image, and code their own calculations to yield the desired Width and Height.
Please add a resize_by parameter to /sdapi/v1/img2img
Proposed workflow
Use the '/sdapi/v1/img2img' API endpoint
Try dynamically upscaling images
It's not easy because there is no resize_by parameter
Additional information
No response
The text was updated successfully, but these errors were encountered:
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: