Stop a generation that has not finished, and refund it. Only where its provider can really stop it (today: models that run on Replicate); otherwise 409 not_cancelable and it finishes on its own.
post/v1/generations/{id}/cancel
Request
- Base URL: https://api.lumeta.ai
- URL: https://api.lumeta.ai/v1/generations/{id}/cancel
- Auth: HTTP bearer
Path parameters
idstring required
The public id (gen_<n>, file_<n>, shelf_<n>, hook_<n>) or its number.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.