POST
/
voice
/
vocal_isolator
Isolate vocals from audio
curl --request POST \
  --url https://modelslab.com/api/v6/voice/vocal_isolator \
  --header 'Content-Type: application/json' \
  --data '{
  "key": "<string>",
  "init_video": "<string>",
  "init_audio": "<string>",
  "base64": false,
  "seed": 123,
  "webhook": "<string>",
  "track_id": 123
}'
{
  "status": "success",
  "generationTime": 123,
  "id": 123,
  "output": [
    "<string>"
  ],
  "proxy_links": [
    "<string>"
  ],
  "future_links": [
    "<string>"
  ],
  "links": [
    "<string>"
  ],
  "meta": {},
  "eta": 123,
  "message": "<string>",
  "tip": "<string>",
  "fetch_result": "<string>",
  "audio_time": 123
}

Request

Make a POST request to below endpoint and pass the required parameters as a request body.
curl
--request POST 'https://modelslab.com/api/v6/voice/vocal_isolator' \

Body

Either init_video or init_audio is required. If both are provided, the init_video takes precedence.
json
{    
    "key": "your_api_key", 
    "init_video": "https://pub-3626123a908346a7a8be8d9295f44e26.r2.dev/livewire-tmp/IxEA4uB8vGWAk1BQVvqbciebfgGFMK-metadmlkZW9wbGF5YmFja180Lm1wNA==-.mp4", 
    "seed":234322, 
    "base64": false,
    "webhook": null, 
    "track_id": null   
}

Body

application/json
key
string
required

API key for authentication

init_video
string<uri>

Video URL to isolate vocals from

init_audio
string<uri>

Audio URL to isolate vocals from

base64
boolean
default:false

Whether input is in base64 format

seed
integer

Random seed for reproducibility (0 for random)

webhook
string<uri>

URL to receive POST notification upon completion

track_id
integer

ID for webhook identification

Response

Vocal isolation response

status
enum<string>

Status of the voice generation

Available options:
success,
processing,
error
generationTime
number

Time taken to generate the audio in seconds

id
integer

Unique identifier for the voice generation

output
string<uri>[]

Array of generated audio URLs

Array of proxy audio URLs

Array of future audio URLs for queued requests

Array of audio URLs (voice cover response)

meta
object

Metadata about the audio generation including all parameters used

eta
integer

Estimated time for completion in seconds (processing status)

message
string

Status message or additional information

tip
string

Additional information or tips for the user

fetch_result
string<uri>

URL to fetch the result when processing

audio_time
number

Duration of the generated audio in seconds