Cancel a queued Wan Standard 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));Video API
Cancel Wan video task
Cancel a queued Wan 3.0 or Wan 3.0 Prime task.
DELETE
/
contents
/
generations
/
tasks
/
{id}
Cancel a queued Wan Standard 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));Cancel a queued task using the same API key scope that created it. Cancellation is available only before processing starts; it does not delete a completed video.
A successful request returns HTTP 204 with no body. Only confirmed cancellation releases the reservation. If cancellation cannot be confirmed, the task keeps its reservation and must be retrieved to check its state.
curl --request DELETE \
--url 'https://gengen.farm/api/gengen/v1/contents/generations/tasks/wan30%3A12345678-1234-4234-8234-123456789abc' \
--header 'Authorization: Bearer gengen_live_xxxxxxxxxxxxxxxx'