Remove the options argument passed to the image-to-image and image-to-image/masking endpoints and instead require each option to be passed in on the form data payload itself.
For example, the following TS code builds up a form-data object to pass to the v1alpha's image-to-image endpoint:
Remove the
options
argument passed to theimage-to-image
andimage-to-image/masking
endpoints and instead require each option to be passed in on the form data payload itself.For example, the following TS code builds up a form-data object to pass to the
v1alpha
'simage-to-image
endpoint:And with the proposed changes the example would become: