audio_url です。これは公開アクセス可能な CDN アドレスで、mp3 拡張子をサポートしています。
ここで入力する audio_url は https://cdn.acedata.cloud/suno_demo.mp3 で、公開アクセス可能な CDN アドレスです。
コピー
AIに質問
curl -X POST 'https://api.acedata.cloud/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"
}'
コピー
AIに質問
{
"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": "アップビートなバブルガムポップトラックで、高エネルギーな電子音楽スタイル。曲は明るく加工された女性ボーカルを特徴としており、若々しくエネルギッシュなトーンで、しばしばハーモニーや時折ピッチシフトされたアドリブが重ねられています。楽器編成は、弾むようなスタッカートのシンセサイザーコード、クリスプなクラップがバックビートにあるドライビングな4/4の電子ドラムビート、そして目立つメロディックなベースラインが支配しています。テンポは約128 BPMのメジャーキーで、I-V-vi-IVの標準的なポップコード進行を利用しています。プロダクション要素には、サイドチェインコンプレッションの重用、ボーカルチョップ、そして甘美でハイパーポップな美学に寄与するきらめくサウンドエフェクトが含まれています。構造は、エネルギーの高いビルドアップが爆発的でフックの効いたサビに繋がる、バース-コーラス-バース-コーラス-ブリッジ-コーラスの形式に従っています。",
"image_url": "https://cdn2.suno.ai/image_00135f7d-cda1-4d70-b007-779f07143586.jpeg",
"image_large_url": "https://cdn2.suno.ai/image_large_00135f7d-cda1-4d70-b007-779f07143586.jpeg",
"audio_url": "https://cdn1.suno.ai/00135f7d-cda1-4d70-b007-779f07143586.mp3",
"title": "up-d6c3970d-6db1-41e3-b966-90539c93678a",
"duration": 131.16
}
}
data の audio_id フィールドがアップロード後の曲の ID であることがわかります。
曲の ID を取得した後、Suno Audios Generation API を使用してカスタム曲の生成を行うことができます。例えば、action に upload_extend を渡し、audio_id に返された曲の ID を渡すことで、参考音声に基づいて新しい曲を生成することができます。
