---
title: "Remove echo from an audio file or URL"
method: POST
path: "/v1/deecho"
---

# Remove echo from an audio file or URL

`POST /v1/deecho`

## Request

- Base URL: `https://api.musicgpt.com/api/public`
- URL: `https://api.musicgpt.com/api/public/v1/deecho`
- Auth: API key in header `Authorization`

Initiate an echo removal task using either an audio URL or file upload with optional webhook callback.

## Request body `multipart/form-data`

- union
  - object
    - `audio_url` string, required: Input audio URL (supported format: YouTube URL).
    - `audio_file` string, binary: Audio file to upload and process directly.
    - `webhook_url` string: Callback URL for async processing results.
  - object
    - `audio_url` string: Input audio URL (supported format: YouTube URL).
    - `audio_file` string, binary, required: Audio file to upload and process directly.
    - `webhook_url` string: Callback URL for async processing results.

## Response `200`

Successfully initiated echo removal

- object
  - `success` boolean
  - `task_id` string
  - `conversion_id` string
  - `eta` integer
  - `credit_estimate` number, float

## Other responses

- `422`: Validation Error
- `500`: Server Error

---

[API](https://skmtc.dev/musicgpt/apis/musicgpt-api.md) - [All operations](https://skmtc.dev/musicgpt/apis/musicgpt-api/llms.txt) - [OpenAPI document](https://skmtc.dev/musicgpt/apis/musicgpt-api/revisions/6753dccf4c5d?raw)
