Stable Diffusion V3 APIs Upload Base64 Image and Crop API is used to crop image. Pass the appropriate request parameter to the endpoint
--request POST 'https://stablediffusionapi.com/api/v3/base64_crop' \
Make a POST
request to https://stablediffusionapi.com/api/v3/base64_crop
endpoint. Make sure yiu are passing the image as base64
key : Your API Key
image: image converted to base64
crop: boolean(true/false)
{
"key": "",
"image": "data:image/png;base64,your_base_64_string",
"crop": "true"
}
{
"status": "success",
"messege":"image uploaded"
}