Audio enhancement
Пока недоступно на языке Русский — показан английский.

Audio enhancement

Remove background noise, reverberation, and distortion from a speech recording, producing studio-quality audio. Audio file in, cleaned audio file out. Powered by NVIDIA Maxine Studio Voice.

POST /v1/audio/enhance

The request is multipart/form-data (an audio file plus form fields), mirroring /v1/audio/transcriptions. The response is the raw enhanced audio (just like /v1/audio/speech), and a copy is stored on inference.club so it shows up in your history. Requests route only to services a provider declared as type: audio-enhance.

Request

multipart/form-data:

FieldRequiredDescription
fileyesThe audio file to enhance (wav, mp3, m4a, flac, ogg, webm).
modelyesAn audio-enhance model id from GET /v1/models.
response_formatnowav (default) or opus.
deliverynobytes (default) or url — see below.

curl

curl https://api.inference.club/v1/audio/enhance \
  -H "Authorization: Bearer $INFERENCE_CLUB_API_KEY" \
  -F file="@noisy.wav" \
  -F model="<your-audio-enhance-model>" \
  --output enhanced.wav

Response

The raw enhanced audio bytes, with Content-Type: audio/wav (or audio/ogg for Opus). The cleaned clip is also persisted to your library as an output audio asset. Metered by the duration of the audio. This endpoint is synchronous only (multipart uploads can't be queued with async).

Getting a URL instead of bytes

Add the form field delivery=url to get JSON instead of the raw file — easier for agents and scripts that only need a link:

{
  "object": "inference.result",
  "id": "8812",
  "public_id": "kQ3v9xZp1aE",
  "inference_type": "ENHANCE",
  "model": "<your-audio-enhance-model>",
  "status": "PROCESSED",
  "created": 1780266332,
  "data": [{ "id": 551, "kind": "audio", "url": "https://…", "content_type": "audio/wav", "duration_seconds": 12.0 }]
}

With the default "delivery": "bytes", the response headers still name the stored copy: X-Inference-Request-Id (pollable at GET /v1/jobs/<id>), X-Asset-Id, and X-Asset-Url.

Notes

  • Formats: providers typically return WAV natively; opus is also accepted as a response_format. mp3/aac/flac aren't transcoded — a request for those returns WAV.
  • The in-dashboard Audio enhancement playground wraps this endpoint with upload, record, and preview.

Errors

typeWhenHTTP
missing_fileNo file part in the request400
file_too_largeUpload exceeds the size limit413
unsupported_media_typeThe file's content-type isn't an accepted audio type415
no_providerNo online audio-enhancement provider serves the model for you404
at_capacityEvery slot on the device is busy (after a ~20s wait). Honor Retry-After429
upstream_errorThe provider's enhancement server failed502