POST
/
dereverb
import requests

url = "https://api.example.com/api/public/v1/dereverb"
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())
{
  "success": true,
  "task_id": "dereverb789",
  "conversion_id": "conv456",
  "eta": -1,
  "credit_estimate": 100.1
}

Authorizations

Authorization
string
header
required

Body

multipart/form-data

Response

200
application/json

Successfully initiated dereverberation

The response is of type object.