Cancel Audio Generation
Changed onCancel a managed-voice generation. Idempotent; always 200 with the task envelope.
Before the provider is called the task ends canceled and nothing is charged. Once the request is on its way to the provider it cannot be stopped: the envelope says cancel_requested: true with the current status, and the task still ends succeeded (charged, audio delivered) or failed. A cancel is never a refund, and a terminal task is returned unchanged.
Request
- Base URLhttps://api.moda.app/v1
- URLhttps://api.moda.app/v1/media/generate-audio/{task_id}/cancel
- AuthHTTP bearer
Path parameters
Headers
Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.
Request body
POST /v1/media/generate-audio/{task_id}/cancel takes an empty body or {}.
Response
Successful Response
Changes
- info
endpoint added
- info