curl --request POST \
--url https://api.evolink.ai/v1/audios/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "seed-audio-1.5-audio-separation",
"prompt": "Split the recording into three tracks. Keep only dialogue on the first, footsteps, the doorbell, and room ambience on the second, and background music on the third.",
"audio_urls": [
"https://example.com/mixed.wav"
],
"format": "mp3"
}
'import requests
url = "https://api.evolink.ai/v1/audios/generations"
payload = {
"model": "seed-audio-1.5-audio-separation",
"prompt": "Split the recording into three tracks. Keep only dialogue on the first, footsteps, the doorbell, and room ambience on the second, and background music on the third.",
"audio_urls": ["https://example.com/mixed.wav"],
"format": "mp3"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
model: 'seed-audio-1.5-audio-separation',
prompt: 'Split the recording into three tracks. Keep only dialogue on the first, footsteps, the doorbell, and room ambience on the second, and background music on the third.',
audio_urls: ['https://example.com/mixed.wav'],
format: 'mp3'
})
};
fetch('https://api.evolink.ai/v1/audios/generations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.evolink.ai/v1/audios/generations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'model' => 'seed-audio-1.5-audio-separation',
'prompt' => 'Split the recording into three tracks. Keep only dialogue on the first, footsteps, the doorbell, and room ambience on the second, and background music on the third.',
'audio_urls' => [
'https://example.com/mixed.wav'
],
'format' => 'mp3'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.evolink.ai/v1/audios/generations"
payload := strings.NewReader("{\n \"model\": \"seed-audio-1.5-audio-separation\",\n \"prompt\": \"Split the recording into three tracks. Keep only dialogue on the first, footsteps, the doorbell, and room ambience on the second, and background music on the third.\",\n \"audio_urls\": [\n \"https://example.com/mixed.wav\"\n ],\n \"format\": \"mp3\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.evolink.ai/v1/audios/generations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"model\": \"seed-audio-1.5-audio-separation\",\n \"prompt\": \"Split the recording into three tracks. Keep only dialogue on the first, footsteps, the doorbell, and room ambience on the second, and background music on the third.\",\n \"audio_urls\": [\n \"https://example.com/mixed.wav\"\n ],\n \"format\": \"mp3\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.evolink.ai/v1/audios/generations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"model\": \"seed-audio-1.5-audio-separation\",\n \"prompt\": \"Split the recording into three tracks. Keep only dialogue on the first, footsteps, the doorbell, and room ambience on the second, and background music on the third.\",\n \"audio_urls\": [\n \"https://example.com/mixed.wav\"\n ],\n \"format\": \"mp3\"\n}"
response = http.request(request)
puts response.read_body{
"created": 1795776000,
"id": "task-unified-1795776000-abcd1234",
"model": "seed-audio-1.5-audio-separation",
"object": "audio.generation.task",
"progress": 0,
"status": "processing",
"task_info": {
"can_cancel": false,
"estimated_time": 15,
"audio_type": "audio_separation"
},
"type": "audio",
"usage": {
"credits_reserved": 1.2264
}
}{
"error": {
"code": "unsupported_parameter",
"message": "speech_rate is not supported for seed-audio-1.5-audio-separation",
"type": "invalid_request_error"
}
}{
"error": {
"code": "unauthorized",
"message": "Invalid or expired token",
"type": "authentication_error"
}
}{
"error": {
"code": "insufficient_quota",
"message": "Insufficient quota. Please top up your account.",
"type": "insufficient_quota"
}
}{
"error": {
"code": "model_access_denied",
"message": "Token does not have access to model: seed-audio-1.5-audio-separation",
"type": "invalid_request_error"
}
}{
"error": {
"code": "rate_limit_exceeded",
"message": "Too many requests, please try again later",
"type": "rate_limit_error"
}
}{
"error": {
"code": "internal_error",
"message": "Internal server error",
"type": "api_error"
}
}Seed Audio 1.5 Audio Separation
🚧 This model is not yet available.
- Describe what to keep on each track, such as dialogue, sound effects, or background music.
- The source audio must be
2–360seconds long. - Processing is asynchronous. Use the returned task ID to check the result. Tasks cannot be cancelled after submission.
- Output links expire after 7 days. Save the files before then.
Billing
- Billable duration is the source duration multiplied by the number of output tracks. Billing is per second, with fractional seconds rounded up.
- At submission,
usage.credits_reservedassumes3tracks of the source duration. On completion, billing uses the actual track count. Excess credits are refunded and any shortfall is charged. Failed tasks receive a full refund.
Task results when status is completed
| Field | Description |
|---|---|
results / result_data[i].audio_url | Audio URLs for the individual tracks, in the same order in both fields. |
result_data[i].track_type | Track type, such as speaker (voice), sfx (effects and ambience), or bgm (background music). Other types are possible. |
result_data[i].description | Track name generated from the prompt. |
result_data[i].duration | Track duration in seconds. |
usage.billed_seconds / usage.credits_used | Billed seconds and credits actually used, respectively. |
curl --request POST \
--url https://api.evolink.ai/v1/audios/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "seed-audio-1.5-audio-separation",
"prompt": "Split the recording into three tracks. Keep only dialogue on the first, footsteps, the doorbell, and room ambience on the second, and background music on the third.",
"audio_urls": [
"https://example.com/mixed.wav"
],
"format": "mp3"
}
'import requests
url = "https://api.evolink.ai/v1/audios/generations"
payload = {
"model": "seed-audio-1.5-audio-separation",
"prompt": "Split the recording into three tracks. Keep only dialogue on the first, footsteps, the doorbell, and room ambience on the second, and background music on the third.",
"audio_urls": ["https://example.com/mixed.wav"],
"format": "mp3"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
model: 'seed-audio-1.5-audio-separation',
prompt: 'Split the recording into three tracks. Keep only dialogue on the first, footsteps, the doorbell, and room ambience on the second, and background music on the third.',
audio_urls: ['https://example.com/mixed.wav'],
format: 'mp3'
})
};
fetch('https://api.evolink.ai/v1/audios/generations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.evolink.ai/v1/audios/generations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'model' => 'seed-audio-1.5-audio-separation',
'prompt' => 'Split the recording into three tracks. Keep only dialogue on the first, footsteps, the doorbell, and room ambience on the second, and background music on the third.',
'audio_urls' => [
'https://example.com/mixed.wav'
],
'format' => 'mp3'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.evolink.ai/v1/audios/generations"
payload := strings.NewReader("{\n \"model\": \"seed-audio-1.5-audio-separation\",\n \"prompt\": \"Split the recording into three tracks. Keep only dialogue on the first, footsteps, the doorbell, and room ambience on the second, and background music on the third.\",\n \"audio_urls\": [\n \"https://example.com/mixed.wav\"\n ],\n \"format\": \"mp3\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.evolink.ai/v1/audios/generations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"model\": \"seed-audio-1.5-audio-separation\",\n \"prompt\": \"Split the recording into three tracks. Keep only dialogue on the first, footsteps, the doorbell, and room ambience on the second, and background music on the third.\",\n \"audio_urls\": [\n \"https://example.com/mixed.wav\"\n ],\n \"format\": \"mp3\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.evolink.ai/v1/audios/generations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"model\": \"seed-audio-1.5-audio-separation\",\n \"prompt\": \"Split the recording into three tracks. Keep only dialogue on the first, footsteps, the doorbell, and room ambience on the second, and background music on the third.\",\n \"audio_urls\": [\n \"https://example.com/mixed.wav\"\n ],\n \"format\": \"mp3\"\n}"
response = http.request(request)
puts response.read_body{
"created": 1795776000,
"id": "task-unified-1795776000-abcd1234",
"model": "seed-audio-1.5-audio-separation",
"object": "audio.generation.task",
"progress": 0,
"status": "processing",
"task_info": {
"can_cancel": false,
"estimated_time": 15,
"audio_type": "audio_separation"
},
"type": "audio",
"usage": {
"credits_reserved": 1.2264
}
}{
"error": {
"code": "unsupported_parameter",
"message": "speech_rate is not supported for seed-audio-1.5-audio-separation",
"type": "invalid_request_error"
}
}{
"error": {
"code": "unauthorized",
"message": "Invalid or expired token",
"type": "authentication_error"
}
}{
"error": {
"code": "insufficient_quota",
"message": "Insufficient quota. Please top up your account.",
"type": "insufficient_quota"
}
}{
"error": {
"code": "model_access_denied",
"message": "Token does not have access to model: seed-audio-1.5-audio-separation",
"type": "invalid_request_error"
}
}{
"error": {
"code": "rate_limit_exceeded",
"message": "Too many requests, please try again later",
"type": "rate_limit_error"
}
}{
"error": {
"code": "internal_error",
"message": "Internal server error",
"type": "api_error"
}
}Authorizations
All endpoints require Bearer Token authentication
Get your API Key:
Visit the API Key management page to obtain your API Key
Add it to the request header:
Authorization: Bearer YOUR_API_KEY
Body
Specify how many tracks to create and what each one should contain. For example:
Split the recording into three tracks. Keep only dialogue on the first, footsteps, the doorbell, and room ambience on the second, and background music on the third.
"Split the recording into three tracks. Keep only dialogue on the first, footsteps, the doorbell, and room ambience on the second, and background music on the third."
Supply one source recording as a public URL or base64 data (data:audio/mp3;base64,… or data:audio/wav;base64,…).
- Duration:
2–360seconds - Formats:
wavormp3 - Maximum size:
90 MBby URL or20 MBas base64. Use a URL for larger files.
1 element["https://example.com/mixed.wav"]
HTTPS callback URL invoked when the task finishes
When it fires:
- Triggered when the task is completed, failed, or cancelled
- Sent after billing is finalized
Security restrictions:
- HTTPS only
- Callbacks to internal IP addresses are forbidden (127.0.0.1, 10.x.x.x, 172.16-31.x.x, 192.168.x.x, etc.)
- URL length must not exceed
2048characters
Callback mechanism:
- Timeout:
10seconds - Up to
3retries on failure (at1/2/4seconds after each failure) - The callback body has the same format as the task-query response
- A 2xx response is treated as success; other status codes trigger a retry
"https://your-domain.com/webhooks/audio-completed"
Response
Audio generation task created successfully