Delete image
curl --request POST \
--url https://modelslab.com/api/v3/delete_image \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>",
"request_id": 123,
"type": "image"
}
'{
"messege": "image deleted"
}General APIs
Delete Image
This endpoint is used to delete an image using the image name.
POST
/
delete_image
Delete image
curl --request POST \
--url https://modelslab.com/api/v3/delete_image \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>",
"request_id": 123,
"type": "image"
}
'{
"messege": "image deleted"
}Documentation Index
Fetch the complete documentation index at: https://docs.modelslab.com/llms.txt
Use this file to discover all available pages before exploring further.
Request
Send aPOST request to below endpoint and pass the name of the image you want to delete to the image parameter of the request body.
curl
--request POST 'https://modelslab.com/api/v3/delete_image' \
Body
json
{
"key": "your_api_key",
"request_id": 2398,
"type": "image"
}
Body
application/json
Was this page helpful?
⌘I

