Delete task
curl --request DELETE \
--url https://gengen.farm/api/gengen/v1/z-images/generations/zimage%3A550e8400-e29b-41d4-a716-446655440000 \
--header 'Authorization: Bearer gengen_live_xxxxxxxxxxxxxxxx'
import requests
url = "https://gengen.farm/api/gengen/v1/z-images/generations/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gengen.farm/api/gengen/v1/z-images/generations/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "zimage:550e8400-e29b-41d4-a716-446655440000",
"deletedAt": "2026-06-18T08:03:00.000Z"
}{
"error_code": "<string>",
"error": "<string>",
"error_params": {}
}{
"error_code": "<string>",
"error": "<string>",
"error_params": {}
}{
"error_code": "<string>",
"error": "<string>",
"error_params": {}
}{
"error_code": "<string>",
"error": "<string>",
"error_params": {}
}{
"error_code": "<string>",
"error": "<string>",
"error_params": {}
}Image API
Delete a z-image task
Delete a z-image task owned by the current API key scope.
DELETE
/
z-images
/
generations
/
{id}
Delete task
curl --request DELETE \
--url https://gengen.farm/api/gengen/v1/z-images/generations/zimage%3A550e8400-e29b-41d4-a716-446655440000 \
--header 'Authorization: Bearer gengen_live_xxxxxxxxxxxxxxxx'
import requests
url = "https://gengen.farm/api/gengen/v1/z-images/generations/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gengen.farm/api/gengen/v1/z-images/generations/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "zimage:550e8400-e29b-41d4-a716-446655440000",
"deletedAt": "2026-06-18T08:03:00.000Z"
}{
"error_code": "<string>",
"error": "<string>",
"error_params": {}
}{
"error_code": "<string>",
"error": "<string>",
"error_params": {}
}{
"error_code": "<string>",
"error": "<string>",
"error_params": {}
}{
"error_code": "<string>",
"error": "<string>",
"error_params": {}
}{
"error_code": "<string>",
"error": "<string>",
"error_params": {}
}