Get a clean audio job
Retrieve the current state of a clean audio job by its job_id.
The response uses the shared job envelope, whose status is one of:
- PROCESSING — still cleaning; the result is empty
- COMPLETED — done; the result holds the denoised audio
- FAILED — the job was accepted but processing failed; the error holds a failure code
Poll this endpoint until the status is COMPLETED or FAILED. An unknown job_id returns 404 Not Found.
Failure codes
| Code | Meaning |
|---|---|
| input_validation | An input is missing or invalid. error.details names the input at fault when there is one. |
| content_moderation | An input breaks the content rules. Only send images, video and voices you own or have permission to use. |
| invalid_file | A file could not be read. Check its format, and that it is not corrupted. |
| audio_too_long | The audio is longer than the model accepts. Shorten it, or split it across jobs. |
| transload_failed | A file could not be downloaded from its URL. Make sure the URL is public and works without a login. |
| generation_failed | The model failed while rendering. Retry; if it keeps failing, contact support with the job_id. |
| timeout | The job ran out of time. Retry; if it keeps failing, contact support with the job_id. |
| insufficient_credits | The balance ran out before the job could be paid for. Top up in the dashboard's Billing, then retry. |
Path parameters
Identifier of the clean audio job, returned when the job was submitted.
Identifier of the clean audio job, returned when the job was submitted.
Headers
Set to 0 to not store this request's and response's bodies. They are then not available in your request logs for debugging.
Number of seconds before the media URLs returned for this request expire. A value above the maximum is capped rather than rejected.
Response
OK
Example response
{
"$schema": "https://api.veed.io/schemas/ResourceCleanAudioJob.json",
"data": {
"result": {
"audio": {
"content_type": "video/mp4"
}
}
}
}Changes
Changed in 2 of the 4 revisions of this API.11
- ●
added the new
insufficient_creditsenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
- ○
endpoint added
endpoint-added
- ○