Skip to content

Cancel Video Task ​

DELETE /v1/videos/{id}

bash
curl -X DELETE https://api.layso.ai/v1/videos/$VIDEO_TASK_ID \
  -H "Authorization: Bearer $LAYSO_API_KEY"

Only tasks that have not reached a non-cancellable stage can be cancelled. Retrieve the task once more to confirm its final state. Billing is determined by the final task state and itemized usage record.

LAYSO AI API 文档