Cancel a queued Higgsfield video task
curl --request DELETE \
--url https://gengen.farm/api/gengen/v1/contents/generations/tasks/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://gengen.farm/api/gengen/v1/contents/generations/tasks/{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/contents/generations/tasks/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"error": "<string>",
"error_code": "<string>",
"error_params": {}
}{
"error": "<string>",
"error_code": "<string>",
"error_params": {}
}{
"error": "<string>",
"error_code": "<string>",
"error_params": {}
}Higgsfield
Cancel a queued Higgsfield video task
Cancellation only; running or completed tasks cannot be canceled. No deletion of completed output.
DELETE
/
contents
/
generations
/
tasks
/
{id}
Cancel a queued Higgsfield video task
curl --request DELETE \
--url https://gengen.farm/api/gengen/v1/contents/generations/tasks/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://gengen.farm/api/gengen/v1/contents/generations/tasks/{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/contents/generations/tasks/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"error": "<string>",
"error_code": "<string>",
"error_params": {}
}{
"error": "<string>",
"error_code": "<string>",
"error_params": {}
}{
"error": "<string>",
"error_code": "<string>",
"error_params": {}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
GENGEN task ID for a task owned by the caller.
Pattern:
^higgsfield(20|25):[0-9a-f-]{36}$Response
Cancellation confirmed; empty response body.