Will credits be deducted if a task fails?
No. Credits are only deducted when task processing succeeds and the result is available.
API Doc
Supports audio enhancement and noise reduction for long-duration, multi-format files with an async create-task + query-status workflow.
AudioEnhance is an API for audio enhancement and noise reduction. It supports async processing for long-duration, large-size, and multi-format audio files, making it suitable for improving clarity and intelligibility in scenarios like meetings and lectures.
All API requests require api-key using an API key. Include your API key in the request header:
API Host: https://audiocleaner.ai/
api-key: YOUR_API_KEYThis audio enhancement service is billed based on total audio duration (in seconds). Actual deduction logic and pricing follow backend rules.
Each task must include audio duration. The system automatically calculates billable time (credit_time), rounded up to the nearest minute (e.g., 61 seconds is billed as 2 minutes).
| Item | Description |
|---|---|
| Billing Unit | Total audio duration (seconds) |
| Deduction Rule | File duration divided by 60, rounded up |
| Examples | 61s => 2 min, 119s => 2 min, 121s => 3 min |
| Actual Price | Based on backend pricing and final billing results |
POST /audio/api/v1/api-keys/enhance/task/create| Header | Type | Required | Description |
|---|---|---|---|
| Content-Type | string | Yes | application/json |
| api-key | string | Yes | YOUR_API_KEY |
| Parameter | Type | Required | Description |
|---|---|---|---|
| inputurl | string | Yes | Publicly accessible URL of the uploaded audio file |
| enhance_type | object | Yes | Audio enhancement feature configuration |
| Field | Type | Description |
|---|---|---|
| remove_background_audio | boolean | Remove background audio |
| remove_echo | boolean | Remove echo |
| autoid | boolean | Smart enhancement |
| remove_noise | boolean | Remove noise |
| long_silences | boolean | Remove long silences |
| mouth_sounds | boolean | Remove mouth sounds |
| stutters | boolean | Reduce stutters |
| fillers | boolean | Remove filler words |
| hesitations | boolean | Reduce hesitations |
| keep_music | boolean | Keep background music |
| autoeq | boolean | Auto EQ |
| normalize | boolean | Auto normalization |
| studio_sound | boolean | Studio-like sound |
| remove_reverb | boolean | Remove reverb |
{
"enhance_type": {
"remove_background_audio": true,
"remove_echo": true,
"autoid": true,
"remove_noise": true,
"long_silences": true,
"mouth_sounds": true,
"stutters": true,
"fillers": true,
"hesitations": true,
"keep_music": true,
"autoeq": true,
"normalize": true,
"studio_sound": true,
"remove_reverb": true
},
"inputurl": "https://resource.audiocleaner.ai/acweb/audio/audiocleaner_AI_origional.mp3"
}{
"code": 100000,
"data": {
"job_id": "33b6251d7ba94edea8361c318736e746"
},
"message": "Request Success"
}| Code | Description |
|---|---|
| 100000 | Request succeeded |
| 100100 | Insufficient credits |
| 101002 | Invalid API key |
| 101003 | Rate limit exceeded |
| 101004 | Concurrency limit exceeded |
| 101005 | API key disabled |
| 101006 | API key not activated |
curl --location --request POST 'https://audiocleaner.ai/audio/api/v1/api-keys/enhance/task/create' \
--header 'Content-Type: application/json' \
--header 'api-key: YOUR_API_KEY' \
--data-raw '{
"inputurl": "https://resource.audiocleaner.ai/acweb/audio/audiocleaner_AI_origional.mp3",
"enhance_type": {
"remove_background_audio": true,
"remove_echo": true,
"autoid": true,
"remove_noise": true,
"long_silences": true,
"mouth_sounds": true,
"stutters": true,
"fillers": true,
"hesitations": true,
"keep_music": true,
"autoeq": true,
"normalize": true,
"studio_sound": true,
"remove_reverb": true
}
}'POST /audio/api/v1/api-keys/enhance/task/get| Header | Type | Required | Description |
|---|---|---|---|
| Content-Type | string | Yes | application/json |
| api-key | string | Yes | YOUR_API_KEY |
| Parameter | Type | Required | Description |
|---|---|---|---|
| job_id | string | Yes | job_id returned when creating the task |
{
"code": 100000,
"data": {
"status": "waiting",
"result": "https://.../output.mp3",
"file_size": 1234567
}
}| Field | Type | Description |
|---|---|---|
| code | number | Response code indicating request status |
| data | object | Main response payload |
| message | string | Human-readable description |
| data.status | string | waiting / success / failed |
| data.output | string | Result file URL returned when processing succeeds |
| data.tasks_position | number | Queue position (if applicable) |
| Code | Meaning |
|---|---|
| 100000 | Success |
| 100100 | Insufficient credits |
| 101002 | Invalid API key |
| 101003 | API key rate limit exceeded |
| 101004 | API key concurrency limit exceeded |
| 101008 | Task does not exist |
curl --location --request POST 'https://audiocleaner.ai/audio/api/v1/api-keys/enhance/task/get' \
--header 'Content-Type: application/json' \
--header 'api-key: YOUR_API_KEY' \
--data-raw '{
"job_id": "YOUR_JOB_ID"
}'No. Credits are only deducted when task processing succeeds and the result is available.
Currently, only automatic enhancement is supported. Manual parameter tuning is not available.
Depending on backend risk-control policies, some calls may require a risk-control/captcha token.