1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
import axios from 'axios'; const api = "https://api.cleanvoice.ai/v2/edits" const apiKey = "YOUR_CLEANVOICE_API_KEY"; const data = { "input": { "files": [ "https://cdn.cleanvoice.ai/assets/sample.mp3" ], "config": {} } }; const headers = { "Content-Type": "application/json", "X-API-Key": apiKey } axios.post(api, data, { headers }) .then((response) => { console.log(response.data); }) .catch((error) => { console.log(error); });
Select audio above and run the requests
to see the result here...