Conversion Endpoints
DeEcho
Initiate an echo removal task using either an audio URL or file upload with optional webhook callback.
POST
/
deecho
Copy
import requests
url = "https://api.example.com/api/public/v1/deecho"
headers = {"Authorization": "<API_KEY>", "accept": "application/json"}
# Option 1: URL
response = requests.post(url, headers=headers, json={"audio_url": "https://example.com/audio.m4a"})
# Option 2: File Upload
with open("audio.m4a", "rb") as f:
files = {"audio_file": f}
response = requests.post(url, headers=headers, files=files)
print(response.json())
Copy
{
"success": true,
"task_id": "deecho789",
"conversion_id": "conv456",
"eta": -1,
"credit_estimate": 100.1
}
Authorizations
Body
multipart/form-data
Response
200
application/json
Successfully initiated echo removal
The response is of type object
.
Copy
import requests
url = "https://api.example.com/api/public/v1/deecho"
headers = {"Authorization": "<API_KEY>", "accept": "application/json"}
# Option 1: URL
response = requests.post(url, headers=headers, json={"audio_url": "https://example.com/audio.m4a"})
# Option 2: File Upload
with open("audio.m4a", "rb") as f:
files = {"audio_file": f}
response = requests.post(url, headers=headers, files=files)
print(response.json())
Copy
{
"success": true,
"task_id": "deecho789",
"conversion_id": "conv456",
"eta": -1,
"credit_estimate": 100.1
}
Assistant
Responses are generated using AI and may contain mistakes.