Skip to Content
API reference

Delete a generation

DELETE
/v1/generations/{id}

Deletes one of your generations: its settings, the finished image, and the uploads no other generation uses. A queued or running one is cancelled first. The credit ledger keeps amounts and references only.

Authorization

apiKey
headerAuthorizationBearer <tf_...>

Your API key from API keys, sent as Authorization: Bearer $TENSORFACTORY_API_KEY. Keep it on your server.

Path Parameters

id*string

The generation's id.

Formatuuid

Response Body

Deleted. No body.

Example Request
curl -X DELETE 'https://tensorfactory.ai/v1/generations/0b8c6f0e-5d1a-4a3e-9c61-2f7d8e4b9a10'
Example Response
Empty