Voice Isolation

Voice isolation removes background elements from an uploaded audio file and returns a cleaned result through the standard task lifecycle.

Endpoint

http
POST https://api.cheapaiapi.com/v1/task/voice-isolate

Send the request as multipart/form-data.

Request Fields

filefilerequiredAudio file to isolate voice from.
receive_urlstringOptional webhook URL for task completion.

Example Request

bash
curl -X POST "https://api.cheapaiapi.com/v1/task/voice-isolate" \
  -H "Authorization: Bearer sk_your_api_key" \
  -F 'file=@audio.mp3'

Task Pattern

json
{
  "success": true,
  "task_id": "uuid_task_id",
  "ec_remain_credits": 123456
}

Track the job with the common task endpoint:

http
GET https://api.cheapaiapi.com/v1/task/{task_id}

Completed Task Example

json
{
  "id": "uuid_task_id",
  "status": "done",
  "progress": 100,
  "metadata": {
    "output_uri": "https://storage.example.com/isolated.mp3"
  },
  "type": "voice_isolate"
}

Good UX Details

  • Show the uploaded filename and duration before submit.
  • Move the user to task tracking immediately after upload.
  • Expose the cleaned output as an inline preview plus a download link.
  • Keep this workflow separate from voice changer so users do not confuse cleanup with transformation.