Suno 참조 오디오 업로드 API 연동 안내

공식 사이트의 Create에서 + Audio → Upload를 선택하면 가져온 소재를 커버, 이어 만들기 또는 트랙 추가에 사용할 수 있습니다. API는 다운로드 가능한 URL을 받아 후속 작업에 사용할 data.audio_id를 반환합니다.

Suno 공식 사이트의 + Audio 메뉴에 있는 Upload, Browse 및 Record

일반 업로드에는 공개적으로 접근할 수 있는 오디오 CDN 주소인 audio_url만 필요합니다. mode의 기본값은 standard이므로 기존 호출을 수정할 필요가 없습니다. 일반 업로드가 성공하면 0.06 Credits가 차감되며, 업로드에 실패하면 차감되지 않습니다.

여기서 입력하는 audio_url은 https://cdn.acedata.cloud/suno_demo.mp3이며, 공개적으로 접근할 수 있는 CDN 주소입니다.

curl -X POST 'https://api.orchats.repoingest.com/suno/upload' \
-H 'accept: application/json' \
-H 'authorization: Bearer {token}' \
-H 'content-type: application/json' \
-d '{
  "audio_url": "https://cdn.acedata.cloud/suno_demo.mp3"
}'

결과는 다음과 같습니다.

{
    "success": true,
    "task_id": "058f8450-3df4-4f8b-8b64-ebc2e59ed3bc",
    "data": {
        "audio_id": "00135f7d-cda1-4d70-b007-779f07143586",
        "lyric": "[Intro]\nHa-ha-ha-ha-ha-ha\n[Verse 1]\nCandy skies are dripping blue\nStuck in world of chewed up glue\nThe sun's a lollipop melting slow\nDripped in sugar on the ground below\nOh-oh\n[Chorus]\nIt's a bubblegum catastrophe\nSticky mess can't set it free\nPop it once it multiplies\nCandy chaos in disguise\nIt's a bubblegum catastrophe\nSticky mess can't set it free\nPop it once it multiplies\nCandy chaos in disguise\nHa-ha-ha-ha-ha hey\nHa-ha-ha-ha-ha hey\nHa-ha-ha-ha-ha hey\nHa-ha-ha-ha-ha hey\nCandy chaos in disguise\n[Verse 2]\nJellybean mountains crumble fast\nRainbows made of soda blast\nEvery step's a gummy bear trap\nMy sugar rush is taking a nap\nOh-oh\n[Bridge]\nChew it up (ha-ha-ha-ha)\nSpit it out (ha-ha-ha-ha)\nRound and round (ha-ha-ha-ha)\nWithout a doubt (ha-ha-ha-ha)\n[Chorus]\nIt's a bubblegum catastrophe\nSticky mess can't set it free\nPop it once it multiplies\nCandy chaos in disguise\nIt's a bubblegum catastrophe\nSticky mess can't set it free\nPop it once it multiplies\nCandy chaos in disguise\nHa-ha-ha-ha-ha hey\nHa-ha-ha-ha-ha hey\nHa-ha-ha-ha-ha hey\nHa-ha-ha-ha-ha hey\n[Outro]\nCotton candy clouds collapse\nChocolate rivers running laps\nEverywhere's a sugar flood\nMy shoes are drowning caramel\nHa-ha-ha-ha-ha hey\nHa-ha-ha-ha-ha hey\nHa-ha-ha-ha-ha hey\nHa-ha-ha-ha-ha hey\nIt's a bubblegum catastrophe\nSticky mess can't set it free\nPop it once it multiplies\nCandy chaos in disguise\nIt's a bubblegum catastrophe\nSticky mess can't set it free\nPop it once it multiplies\nCandy chaos in disguise",
        "style": "Upbeat bubblegum pop track with a high-energy electronic production style. The song features a bright, processed female vocal with a youthful and energetic tone, often layered with harmonies and occasional pitch-shifted ad-libs. The instrumentation is dominated by bouncy, staccato synthesizer chords, a driving four-on-the-floor electronic drum beat with crisp claps on the backbeat, and a prominent, melodic bassline. The tempo is approximately 128 BPM in a major key, utilizing a standard pop chord progression of I-V-vi-IV. Production elements include heavy use of sidechain compression, vocal chops, and shimmering sound effects that contribute to a sugary, hyper-pop aesthetic. The structure follows a verse-chorus-verse-chorus-bridge-chorus format with a high-energy build-up leading into the explosive, hook-driven choruses.",
        "image_url": "https://cdn.acedata.cloud/e724d7f13d.png?example=image-001",
        "image_large_url": "https://cdn.acedata.cloud/e724d7f13d.png?example=image-002",
        "audio_url": "https://cdn.acedata.cloud/assets/examples/fish/5ade0339-5f11-487e-aacc-06a908271706-8e3fcb0e5547.mp3",
        "title": "up-d6c3970d-6db1-41e3-b966-90539c93678a",
        "duration": 131.16
    }
}

위에서 볼 수 있듯이 data는 항상 객체이며, audio_id는 업로드된 곡의 ID입니다. lyric, style, duration, 제목과 미디어 URL 등의 분석 결과는 선택적 필드이며, 구체적인 내용은 반환값을 기준으로 합니다.

업로드 결과에서 커버 이미지를 제공하는 경우, image_url과 image_large_url은 각각 일반 커버와 고해상도 커버의 원본 주소를 반환합니다.

곡 ID를 얻은 후에는 Suno Audios Generation API를 통해 upload_extend, upload_cover 또는 구간 샘플링 등 audio_id가 필요한 작업을 호출할 수 있습니다. Inspo 영감 창작 기능을 통해 1~4개의 전체 참조 오디오를 바탕으로 새 음악을 만들려면, action=inspo를 직접 호출하고 공개된 원본 오디오 URL 목록을 전달하세요. 서비스가 업로드와 분석을 자동으로 완료하므로 클라이언트에서 오디오 metadata를 구성할 필요가 없습니다.

비공개 음색용 커버 원곡 업로드

/suno/voices로 생성한 비공개 음성을 사용해 커버할 때는 일반 업로드 요청에 해당 음성의 persona_id를 전달하여 원곡을 음성과 연결합니다.

{
  "success": true,
  "task_id": "7f995f02-e4ab-4ad8-adfd-584a1d70c745",
  "data": {
    "audio_id": "a6dbc2ab-a2ab-4c32-a7fb-2cfa7abd122d",
    "duration": 47.62897916666667,
    "title": "up-55cddfe8-12c4-4a53-9d49-f4c153293f69"
  }
}

업로드에 성공한 후에는 반환된 data.audio_id를 사용해 /suno/audios를 호출하고, action: "upload_cover"를 설정한 다음 동일한 persona_id를 전달하세요. 이전에 해당 음성과 연결되지 않은 오디오 ID를 계속 사용하지 마세요.

persona_id는 일반 업로드에서만 지원되며 mode: "enhanced"와 함께 사용할 수 없습니다. vocal_gender를 추가로 지정할 필요는 없으며, 성별 선호는 음성 ID를 대체할 수 없습니다. 음성 생성, 원곡 업로드 및 커버에는 동일한 서비스 채널을 사용해야 합니다.

향상된 업로드 모드

audio_url은 입력 주소로, 오디오 처리 과정에 직접 전달되며 최종 상태 미디어 영구 저장 서비스에서 미리 복사해 저장하지 않습니다. 작업 처리 중에 공개적으로 접근할 수 있는지 확인하세요.

일반 업로드로 소유하거나 사용 권한을 받은 오디오를 처리할 수 없는 경우, mode를 enhanced로 설정할 수 있습니다. 이 모드에서는 1~100자의 name도 제공해야 하며, 공개적으로 접근할 수 있는 HTTPS audio_url을 사용해야 합니다. 향상된 업로드는 항상 비동기 방식으로 처리되며, 일반적으로 2분 이상이 걸립니다. 처리가 성공하면 1.87 Credits가 소모되며, 처리에 실패하면 차감되지 않습니다.

curl -X POST 'https://api.orchats.repoingest.com/suno/upload' \
  -H 'authorization: Bearer {token}' \
  -H 'content-type: application/json' \
  -d '{
    "audio_url": "https://cdn.acedata.cloud/suno_demo.mp3",
    "mode": "enhanced",
    "name": "My Song"
  }'

API는 task_id와 trace_id를 즉시 반환합니다. Suno Tasks API를 사용하여 작업을 조회하고, 성공 후 response.data.audio_id에서 업로드된 오디오 ID를 읽습니다. HTTPS callback_url을 제공하여 최종 상태를 수신할 수도 있습니다.

향상된 업로드로 얻은 audio_id는 Cover, Samples 및 Mashup에 사용할 수 있습니다. 반주 및 MIDI 추출, 전체 트랙 분리, 보컬/반주 분리는 여전히 오디오가 속한 계정에 따라 제한될 수 있으며, 나열되지 않은 작업은 계정 간 사용이 보장되지 않습니다. 오디오가 짧을수록 일반적으로 처리 성공률이 높습니다.