Generations
Delete Image (Deprecating)
The delete image endpoint lets the user delete a specific image within a generation while retaining any other images that may have been generated in the same batch.
DELETE
/
pub
/
v1
/
generations
/
{generation_id}
/
images
/
{image_id}
This API is deprecating soon.
Use the more generic Delete Media
end-point to delete media of any generation.
To delete a generation and all associated media, use the Delete Generation
endpoint.
Headers
X-API-KEY
string
requiredAPI key needed to access our public endpoints. You can find yours under the 'Account' section of the website
Path Parameters
generation_id
string
requiredThe id of the generation
image_id
string
requiredThe id of the image
Response
200 - application/json
data
object
err
object
The error if the request was not successful
Was this page helpful?