DeepMode API
  • Overview
  • Use Cases
  • Obtaining an API key
  • Pricing
  • API Endpoints
    • Handling Images
      • Generate Image
      • Remix Image
      • Remix Image Without A Trained Model
      • Upscale Image
      • Retrieve Image Information
      • Show Image List
      • Delete Image
    • Handling Models
      • Create Model
      • Show Model List
      • Extend Model
      • Delete Model
    • Account Management
      • Check Balance
  • Support
Powered by GitBook
On this page
  1. API Endpoints
  2. Handling Images

Delete Image

Deletes a specific photo.

Endpoint

DELETE /api/images/{id}

Parameters

Parameter
Type
Required
Description

id

string

Yes

The unique identifier of the image to be deleted.

Request Example

curl -X DELETE "https://api.deepmode.ai/api/images/a9f7e5d1c3a2f91e3d5c6" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_SECRET_API_KEY"

Response

Upon successful deletion, the API returns the following response:

{"message": "Deleted image successfully"}

PreviousShow Image ListNextHandling Models

Last updated 1 year ago