Seed Audio 1.5 오디오 트랙 분리
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": "이 오디오를 세 트랙으로 분리해 줘. 첫 번째 트랙에는 인물의 대사만, 두 번째에는 발소리와 초인종 소리, 실내 환경음만, 세 번째에는 배경 음악만 남겨 줘.",
"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": "이 오디오를 세 트랙으로 분리해 줘. 첫 번째 트랙에는 인물의 대사만, 두 번째에는 발소리와 초인종 소리, 실내 환경음만, 세 번째에는 배경 음악만 남겨 줘.",
"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: '이 오디오를 세 트랙으로 분리해 줘. 첫 번째 트랙에는 인물의 대사만, 두 번째에는 발소리와 초인종 소리, 실내 환경음만, 세 번째에는 배경 음악만 남겨 줘.',
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' => '이 오디오를 세 트랙으로 분리해 줘. 첫 번째 트랙에는 인물의 대사만, 두 번째에는 발소리와 초인종 소리, 실내 환경음만, 세 번째에는 배경 음악만 남겨 줘.',
'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\": \"이 오디오를 세 트랙으로 분리해 줘. 첫 번째 트랙에는 인물의 대사만, 두 번째에는 발소리와 초인종 소리, 실내 환경음만, 세 번째에는 배경 음악만 남겨 줘.\",\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\": \"이 오디오를 세 트랙으로 분리해 줘. 첫 번째 트랙에는 인물의 대사만, 두 번째에는 발소리와 초인종 소리, 실내 환경음만, 세 번째에는 배경 음악만 남겨 줘.\",\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\": \"이 오디오를 세 트랙으로 분리해 줘. 첫 번째 트랙에는 인물의 대사만, 두 번째에는 발소리와 초인종 소리, 실내 환경음만, 세 번째에는 배경 음악만 남겨 줘.\",\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
Seed Audio 1.5 오디오 트랙 분리
🚧 이 모델은 아직 공개되지 않았습니다.
- 각 트랙에 남길 소리를 프롬프트에 지정하세요. 예를 들어 대사, 효과음, 배경 음악을 각각 분리할 수 있습니다.
- 원본 오디오 길이는
2~360초여야 합니다. - 비동기로 처리합니다. 반환된 작업 ID로 결과를 조회하세요. 제출한 작업은 취소할 수 없습니다.
- 결과 링크는 7일간 유효합니다. 기한 내에 파일을 저장하세요.
요금 계산
- 원본 오디오 길이에 출력 트랙 수를 곱한 총 재생 시간을 기준으로 초 단위로 청구합니다. 1초 미만의 단수는 올림합니다.
- 제출 시 원본 오디오 길이와 트랙
3개를 기준으로 크레딧을 미리 확보합니다(usage.credits_reserved). 완료 시 실제 트랙 수로 정산하여 차액을 반환하거나 추가 차감합니다. 실패하면 전액 반환합니다.
status가 completed일 때의 작업 결과
| 필드 | 설명 |
|---|---|
results / result_data[i].audio_url | 각 트랙의 오디오 URL. 두 필드에서 트랙 순서는 동일합니다. |
result_data[i].track_type | 트랙 유형. 예를 들어 speaker(음성), sfx(효과음 및 환경음), bgm(배경 음악)이 있으며, 다른 유형도 반환될 수 있습니다. |
result_data[i].description | 프롬프트를 바탕으로 생성된 트랙 이름입니다. |
result_data[i].duration | 트랙 길이(초). |
usage.billed_seconds / usage.credits_used | 각각 청구된 시간(초)과 실제 사용한 크레딧입니다. |
POST
/
v1
/
audios
/
generations
Seed Audio 1.5 오디오 트랙 분리
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": "이 오디오를 세 트랙으로 분리해 줘. 첫 번째 트랙에는 인물의 대사만, 두 번째에는 발소리와 초인종 소리, 실내 환경음만, 세 번째에는 배경 음악만 남겨 줘.",
"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": "이 오디오를 세 트랙으로 분리해 줘. 첫 번째 트랙에는 인물의 대사만, 두 번째에는 발소리와 초인종 소리, 실내 환경음만, 세 번째에는 배경 음악만 남겨 줘.",
"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: '이 오디오를 세 트랙으로 분리해 줘. 첫 번째 트랙에는 인물의 대사만, 두 번째에는 발소리와 초인종 소리, 실내 환경음만, 세 번째에는 배경 음악만 남겨 줘.',
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' => '이 오디오를 세 트랙으로 분리해 줘. 첫 번째 트랙에는 인물의 대사만, 두 번째에는 발소리와 초인종 소리, 실내 환경음만, 세 번째에는 배경 음악만 남겨 줘.',
'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\": \"이 오디오를 세 트랙으로 분리해 줘. 첫 번째 트랙에는 인물의 대사만, 두 번째에는 발소리와 초인종 소리, 실내 환경음만, 세 번째에는 배경 음악만 남겨 줘.\",\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\": \"이 오디오를 세 트랙으로 분리해 줘. 첫 번째 트랙에는 인물의 대사만, 두 번째에는 발소리와 초인종 소리, 실내 환경음만, 세 번째에는 배경 음악만 남겨 줘.\",\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\": \"이 오디오를 세 트랙으로 분리해 줘. 첫 번째 트랙에는 인물의 대사만, 두 번째에는 발소리와 초인종 소리, 실내 환경음만, 세 번째에는 배경 음악만 남겨 줘.\",\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"
}
}인증
모든 엔드포인트는 Bearer Token 인증이 필요합니다
API Key 발급:
API Key 관리 페이지를 방문하여 API Key를 발급받으세요
요청 헤더에 추가:
Authorization: Bearer YOUR_API_KEY
본문
application/json
작업 완료 시 호출되는 HTTPS 콜백 URL
호출 시점:
- 작업이 완료, 실패 또는 취소될 때 트리거됨
- 정산 완료 후 전송됨
보안 제한:
- HTTPS만 지원
- 내부 IP 주소로의 콜백은 금지됨(127.0.0.1, 10.x.x.x, 172.16-31.x.x, 192.168.x.x 등)
- URL 길이는
2048자를 초과할 수 없음
콜백 메커니즘:
- 타임아웃:
10초 - 실패 시 최대
3회 재시도(각 실패 후1/2/4초) - 콜백 본문은 작업 조회 응답과 동일한 포맷
- 2xx 응답은 성공으로 처리; 다른 상태 코드는 재시도를 트리거
예시:
"https://your-domain.com/webhooks/audio-completed"
응답
오디오 생성 작업이 정상적으로 생성됨