Delete Image API — Misc Endpoints
Delete generated images from your Stable Diffusion API storage. Useful for cleaning up automatically-stored generations after download.
This endpoint delete image using the image name
--request POST 'https://stablediffusionapi.com/api/v3/delete_image' \
Make a POST request to https://stablediffusionapi.com/api/v3/delete_image endpoint and pass the name of the image you want to delete in image key.
Click HERE to watch a how to video.
Request Body and Example Response
Body Raw
{
"key": "",
"image": "79ca90fd-0423-4684-943f-65c8d601b3d2-0.png"
}
Example Response
{
"status": "success",
"messege":"image deleted"
}