Stream Denoise Progress
Voice Isolation
Stream Denoise Progress
Subscribe to live progress events for a denoising job over Server-Sent Events (SSE). Emits processing updates and terminates with either a done event (carrying the final audio URL) or an error event. If the job is already complete the cached terminal event is replayed immediately.
GET
Stream Denoise Progress
Subscribes to live progress events for a denoising job over Server-Sent Events (SSE). The connection emits a
401 Unauthorized
processing event as work advances and terminates with either a done event (carrying the final audio URL) or an error event.
Authentication
Requires API key authentication viax-api-key header.
Request
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
denoiseId | string (UUID) | Yes | The denoiseId returned by POST /denoise. |
Headers
| Header | Value | Description |
|---|---|---|
Accept | text/event-stream | Required to negotiate the SSE response. |
Response
Status Code:200 OK
Headers:
Content-Type: text/event-streamCache-Control: no-cacheConnection: keep-alive
data: line whose payload is a JSON object. The connection automatically closes after a terminal event (done or error), or after 15 minutes of inactivity.
When you connect to an already-completed job, the server immediately emits the cached final event and closes — no need to poll separately.
Event Schema
Thestage field discriminates the event:
| Stage | Fields | Description |
|---|---|---|
processing | pct (number, 0–100), message (string, optional) | Incremental progress update. |
done | url (string), denoiseId (string) | Terminal success — url is the denoised audio URL. |
error | message (string) | Terminal failure — human-readable error message. |
Example Stream
Error Responses
404 Not Found — emitted as a JSON body, not as SSE:Example Usage
JavaScript (fetch + ReadableStream)
Python (httpx)
cURL
Reconnecting: If you reconnect after a job has already finished, the server replays the cached terminal event immediately so clients never miss completion.
Authorizations
API key for authentication
Path Parameters
The denoiseId returned by POST /denoise.
Response
SSE stream of denoising events. Each message is a data: <json> line where the JSON conforms to DenoiseProgressEvent.
- Option 1
- Option 2
- Option 3
An SSE event payload for a denoising job. The stage field discriminates between processing, done, and error.
