Suno 楽曲生成 API 連携ガイド
AI の用途が広がるにつれ、さまざまな AI プログラムが徐々に普及しています。AI は人々の仕事や生活のあらゆる面に徐々に浸透しています。また、AI が関わる業界もますます増えており、当初の文章作成から医療や教育、そして現在では音楽にまで及んでいます。
Suno は、専門的で高品質な AI 楽曲・音楽制作プラットフォームです。ユーザーは簡単なテキストプロンプトを入力するだけで、ジャンルのスタイルや歌詞に基づいてボーカル入りの楽曲を生成できます。この AI 音楽ジェネレーターは、Meta、TikTok、Kensho などの著名なテクノロジー企業出身のメンバーによって開発され、楽器を使わずに誰もが素晴らしい音楽を作れるようにすることを目標としています。
¶ 失敗結果と再試行
エラーオブジェクトには、オプションのブール型フィールド error.retryable が含まれる場合があります。これが true の場合にのみ、今回の失敗について、同じパラメーターを使用して後から再リクエストすることが許可されていることを示します。例えば、明確に受け付けられていない一時的なレート制限やサービス容量不足の場合です。バックオフ間隔を使用し、再試行回数を制限することを推奨します。再試行に成功したリクエストには通常のルールに従って課金されます。
retryable: false は、同じ内容のまま再試行すべきではないことを示します。フィールドがない場合は、HTTP 500、busy、またはエラーメッセージだけを根拠に自動的に再送しないでください。パラメーターの不足、素材の形式や長さの不一致、コンテンツ審査、および無効になったリソースについては、先に修正する必要があります。送信のタイムアウト、接続の切断、受け付け済みタスクのポーリング、またはメディア配信の失敗については、元の task_id を使用してタスクを照会することを優先してください。再送信すると新しい楽曲が作成される可能性があります。このフラグが示すのは元の公開操作であり、内部の処理ステップではありません。
¶ モデルの選択
現在、以下の V6 シリーズモデルを推奨しています。
| Suno 公式サイト | API model |
適用シーン |
|---|---|---|
| v6 | chirp-v6(デフォルト) |
一般的な楽曲の生成と編集 |
| v6-wild | chirp-v6-wild |
実験的な曲調と楽器編成 |
| v6-mini | chirp-v6-mini |
制作アイデアの迅速な反復 |
公式サイトでは Create → Songs の右上でモデルを選択します。

既存の連携では引き続き従来のモデルを使用でき、成功後も従来の料金が適用されます。羲云科技は、以下に説明する Suno 楽曲生成・編集 API を提供しています。
¶ 楽曲リクエストの準備
アプリケーション一覧にログインし、汎用アプリケーションを開いて API KEY をコピーします。Suno 楽曲デバッグページではアプリケーションを直接選択できます。自身のコードでは、コピーした値を Authorization: Bearer {token} に入力します。制限付きキーを使用して非同期で楽曲を送信する場合は、タスク照会インターフェースも利用可能にする必要があります。
例中の API_KEY はアプリケーションキーです。コード中の audio_id と persona_id は、ご自身のリソース ID に置き換えてください。
以下の楽曲 JSON は、対応する操作の実際の最終状態からの抜粋です。一部のレスポンスでは、歌詞の冒頭と一部のメディアフィールドのみを表示しています。async: true または callback_url を使用して送信する場合は、まず task_id を取得し、その後コールバックまたはタスク照会を通じて最終状態を取得します。
¶ 基本的な使い方
初回はインスピレーションモードで楽曲を生成できます。prompt に A song for Christmas を入力し、デフォルトの action: "generate" と custom: false はそのままにします。同期レスポンスの data[].audio_url から直接試聴できます。非同期で送信する場合は、task_id を保存し、楽曲タスク照会を使用して結果を取得します。
これは、Suno 公式サイトの Create → Songs → Simple で楽曲の説明を入力し、Create をクリックする操作に相当します。

羲云科技 API を呼び出す際は、以下のリクエストヘッダーとリクエストボディを設定します。リクエストヘッダーには以下が含まれます。
accept:受信したいレスポンス結果の形式です。ここでは JSON 形式を意味するapplication/jsonを入力します。authorization:API を呼び出すためのキーです。申請後、ドロップダウンから直接選択できます。
また、Request Body を設定します。これには以下が含まれます。
action:音声タスクの種類。デフォルトはgenerate。生成、続きを生成、カバー、結合、トラック分離、トラック追加、指定トラックの抽出、効果音の生成、速度の調整などの操作に対応し、いずれもPOST /suno/audiosを通じて呼び出します。prompt:Suno 公式のインスピレーションモードのプロンプト(customがfalseの場合に有効)。最大 500 文字。model:今回の音楽生成タスクのモデル。V6 シリーズにはchirp-v6、chirp-v6-wild、chirp-v6-miniがあり、デフォルトはchirp-v6。max_mode:強化生成モード。generateではcustomとmax_modeがどちらもtrueの場合にのみ有効になり、料金は 1.12 Credits です。add_stemでは直接有効にでき、料金は 1.344 Credits です。無効または省略した場合はそれぞれ 0.56 Credits と 0.672 Credits です。variety:生成結果の多様性の強度。off、normal、high、extra、maxから選択できます。generateとadd_stemでのみ使用でき、他の action に渡すと 400 が返されます。lyric:カスタムモードの歌詞内容。V6 シリーズでは最大 5000 文字。custom:カスタムモードを使用するかどうか。デフォルトは:false。instrumental:Suno 公式のインスピレーションモードにおけるインストゥルメンタルのオプション。title:カスタムモードの楽曲タイトル。最大 100 文字。style:カスタムモードの音楽スタイル。最大 1000 文字。negative_tags:カスタム生成時に除外したい音楽スタイルやジャンル。replace_sectionにも使用できます。このインターフェースでは現在、このフィールドに固定の文字数上限を設けていません。長すぎる内容は処理できない可能性があるため、簡潔に記述することを推奨します。audio_weight:音声または声の特徴の影響度。範囲は 0-1 で、0も有効な値です。生成、続きを生成、カバー、トラック追加、声の一貫性などの操作に使用できます。参照音声や声の特徴がない場合、モデルはこの値の影響を弱めたり、無視したりする可能性があります。audio_id:参照する楽曲の ID。カバー、続きを生成、トラック分離などの後続操作に使用します。音声ファイルを引き続きダウンロードできることは、その ID の後続処理が常に利用可能であることを意味しません。suno_processing_unavailableが返された場合は、task_idとtrace_idを保存してサポートにお問い合わせください。overpainting_start/overpainting_end:既存のインストゥルメンタルにボーカルを追加する開始時刻と終了時刻。単位は秒。underpainting_start/underpainting_end:アカペラに伴奏を追加する開始時刻と終了時刻。単位は秒。persona_id:Persona または声の作成インターフェースを通じて取得した声の ID。楽曲のaudio_idではありません。continue_at:続きを生成する境界。単位は秒。例えば、213.5 は 3 分 33.5 秒の位置から後続部分の生成を開始することを示します。lyricとstyleは境界以降の新しい内容のみを誘導し、元の音声の境界より前の歌詞や歌唱を置き換えることはありません。style_influence:カスタムモードでのスタイルの影響度。範囲は 0-1 で、大きいほど通常は選択したスタイルに近くなります。0は有効な値として渡されます。replace_section_end:置き換える部分の終了時刻。replace_section_start:置き換える部分の開始時刻。vocal_gender:男女の声の好みを指定します。女性の声はf、男性の声はm。実際の歌唱は完成した楽曲に準じます。weirdness:カスタムモードでの奇抜さ。範囲は 0-1 で、大きいほど通常は創造的で実験的になります。0は有効な値として渡されます。duration:希望する楽曲の長さ。単位は秒で、整数である必要があり、値の範囲は 10 から 360 です。現在、このパラメータを使用するのはgenerateのみで、具体的な効果はモードとモデルによって異なります。これは厳密な制約ではなく傾向を示すヒントです。モデルはこれを参照しますが、希望どおりになる保証はなく、実際の完成した楽曲の長さはレスポンスのdurationフィールドに準じ、通常は希望値より短くなります。
¶ 声の ID の適用範囲
generate、cover、upload_cover、artist_consistency、artist_consistency_vox では persona_id を使用できます。後の 2 つの action では persona_id の指定が必須です。また、その Persona の作成時に使用した楽曲の audio_id も同時に指定できます。
extend、upload_extend では追加の persona_id を使用しません。mashup、inspo が声の ID に対応しているかどうかは、選択したサービスチャネルによって異なります。他の action ではこのフィールドが適用される保証はないため、各操作の説明に従って使用してください。vocal_gender は任意の性別の好みであり、声の ID の代わりにはなりません。
後続の創作操作には有効な元の audio_id が必要です。mashup には少なくとも 2 つの mashup_audio_ids が必要です。必要なソースまたは時間パラメータが不足している場合は HTTP 400 が返されます。
続きを生成またはカバーする前に、POST /suno/availability で元の楽曲またはプライベート音色を確認できます。確認に必要な UUID は 1 つだけで、プライベート素材には作成時のアプリケーションと呼び出し元の ID を使用します。 利用可否チェックガイド
¶ 高度なパラメータの適用範囲
| パラメータ | 値 | 対応する action | 説明 |
|---|---|---|---|
weirdness |
0-1 | 任意 | 実験性を調整。0 は有効な値。効果は操作、モード、モデルによって異なります |
style_influence |
0-1 | 任意 | スタイルに従う傾向を調整。0 は有効な値。効果は操作、モード、モデルによって異なります |
audio_weight |
0-1 | 任意 | 音声または声の特徴の影響を調整。参照情報がない場合はモデルに無視される可能性があります |
variety |
off / normal / high / extra / max |
generate、add_stem |
結果間のスタイルの多様性を調整 |
max_mode |
boolean | generate(custom=true が必要)、add_stem |
一貫性を強化し、強化モードの料金が適用されます |
vocal_gender |
f / m |
ボーカル制御に対応する生成操作 | 好みを指定する項目であり、厳密に従うことは保証されません |
プラットフォームはパラメータの型と数値範囲を検証します。各パラメータが適用される操作は上表を参照してください。効果は操作、モード、モデルによって異なります。
プラットフォームはパラメータの型と数値範囲を検証しますが、action が異なるという理由だけでこれらの任意の調整項目を拒否することはありません。具体的な効果は操作、モード、モデルによって決まります。
lyric_prompt:歌詞を生成するためのプロンプト。customがtrueで、かつlyricが渡されていない場合にのみ有効です。callback_url:結果のコールバック先 URL。async:オプション。trueに設定すると、インターフェースは直ちにtask_idを返し、callback_urlを指定する必要はありません。その後、対応するタスク照会インターフェースをポーリングして結果を取得します。
生成されたコードは以下のとおりです:
curl -sS -X POST 'https://api.acedata.cloud/suno/audios' \
-H "Authorization: Bearer $API_KEY" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"action": "generate",
"model": "chirp-v6",
"prompt": "A song for Christmas"
}'
デバッグページで「Try」をクリックして API を直接テストすることもできます。以下は、V6 を使用して生成した2曲の最終状態の抜粋です。
{
"success": true,
"task_id": "c409f30d-4b2f-4ad9-8ae7-f394e367713d",
"trace_id": "f9ff7920-2b74-4c69-867b-183cd41166fa",
"data": [
{
"id": "15b56d7a-1ad1-4dc6-bc74-79b102caceeb",
"title": "Room for One More Chair",
"lyric": "[Verse 1]\nThe kettle sings, the window steams\nA paper chain hangs slightly crooked\nYou set the old tin on the shelf\nAnd laugh at how the years have kept it",
"audio_url": "https://cdn.acedata2.cloud/suno/15b56d7a-1ad1-4dc6-bc74-79b102caceeb.mp3",
"created_at": "2026-12-01T09:02:22.466Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "A song for Christmas",
"style": "Cinematic Christmas pop with film-score scale, a steady four-on-the-floor pulse, driving syncopated percussion, and a repeating cello ostinato. Begin with intimate piano and close, warm lead vocals; build through layered strings, brass swells, and wordless choir accents into a wide, uplifting final chorus. Polished, spacious mix with clear vocal focus and dynamic section lifts.",
"duration": 231.96
},
{
"id": "555bf85a-907c-4573-b6f3-e816c04aabb9",
"title": "Always Room for More",
"lyric": "[Intro]\n[Wordless vocals]\nOh—ah, oh—ah\n[Verse 1]\nSnow gathers softly on the windowpane",
"audio_url": "https://cdn.acedata2.cloud/suno/555bf85a-907c-4573-b6f3-e816c04aabb9.mp3",
"created_at": "2026-12-01T09:02:22.466Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "A song for Christmas",
"style": "Cinematic Christmas pop with marathon-film scale, syncopated rhythmic drive, cello ostinato, four-on-the-floor pulse, and wordless vocal drops. Begin with a restrained cello figure and distant wordless voices; build into a broad, uplifting chorus with layered strings, punchy percussion, and a clear lead vocal. Use a brief countdown-style dropout before the final chorus, then finish with a full, resolved orchestral-pop ending. Polished, spacious mix with strong low-end and crisp rhythmic detail.",
"duration": 231.2
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
この時点で、タイトル、プレビュー画像、歌詞、音声、動画などを含む2曲の内容が取得できたことがわかります。
フィールドの説明は以下のとおりです:
- success:生成に成功したかどうか。成功した場合は
true、それ以外はfalse - data:生成された歌曲の詳細情報を含むリスト。
- state:歌曲の生成状態。主に4種類あり、具体的には以下のとおりです:
- succeeded:生成成功
- pending:キュー待ち
- running:実行中
- error:失敗
- id:歌曲 ID
- title:歌曲のタイトル
- image_url:歌曲のオリジナルカバー画像の URL。そのまま表示に使用できます。
- image_large_url:歌曲の高解像度のオリジナルカバー画像の URL。高解像度画像がある場合に返されます。カバー画像を長期保存する必要がある場合は、ご自身でダウンロードして保存してください。
- lyric:歌曲の歌詞
- audio_url:歌曲の最終状態の音声 URL。プラットフォームは羲云科技 CDN の URL を優先して返します。永続化に失敗した場合、元のメディア URL が返されることがあるため、速やかにダウンロードしてください。
- video_url:歌曲の動画ファイル。開くと mp4 動画が表示されます。
- created_at:歌曲の作成日時。ISO 8601 形式を使用します。
- model:レスポンスに記録されたモデル。
- style:スタイル。
- duration:各歌曲の実際の長さ。単位は秒。
- state:歌曲の生成状態。主に4種類あり、具体的には以下のとおりです:
¶ カスタム生成
歌詞を指定してカスタム生成したい場合は、歌詞を入力できます:
この場合、lyric フィールドには以下のような内容を渡すことができます:
[Verse]
Window lights across the bay
Guide the boats that drift away
[Chorus]
Bring the morning home to me
Fold the stars into the sea
注意:ここでの歌詞中の
\nは改行文字です。歌詞の生成方法がわからない場合は、羲云科技が提供する歌詞生成 API を使用して、プロンプトから歌詞を生成できます。API は Suno Lyrics Generation API です。
次に、歌詞、タイトル、スタイルに基づいて歌曲をカスタム生成するには、以下の内容を指定できます:
- lyric:歌詞テキスト
- custom:
trueを指定するとカスタム生成を意味します。このパラメータのデフォルトは false で、promptを使用した生成を意味します。 - title:歌曲のタイトル。
- style:歌曲のスタイル。入力は任意です。
公式サイトの Create → Songs → Advanced に対応します。Lyrics に歌詞を入力し、Styles に曲のスタイルを入力してから、歌曲のタイトルを設定します。


対応するコード:
curl -sS -X POST 'https://api.acedata.cloud/suno/audios' \
-H "Authorization: Bearer $API_KEY" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"action": "generate",
"model": "chirp-v6",
"custom": true,
"title": "Window Lights",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea"
}'
公式サイトでの制作が完了した後、My Songs で2曲の候補を試聴できます。画像は公式サイトで生成された2曲の Window Lights です。後の JSON は、羲云科技 API で独立して実測したレスポンスです。

{
"success": true,
"task_id": "f87a3222-b5f6-4bc6-8324-1923e8349478",
"trace_id": "f5490512-610e-4335-947c-fdee98bb415a",
"data": [
{
"id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"title": "Window Lights",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/3f8c1800-7a96-4a2b-811f-5fee716a9e32.mp3",
"created_at": "2026-11-30T17:50:09.196Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"duration": 47.6
},
{
"id": "ebafbeeb-9bdb-4b28-9c03-6a09734ba6df",
"title": "Window Lights",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/ebafbeeb-9bdb-4b28-9c03-6a09734ba6df.mp3",
"created_at": "2026-11-30T17:50:09.196Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"duration": 43.32
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
¶ カスタム歌手スタイル生成機能
まず参照する楽曲を生成し、次に POST /suno/persona を呼び出します。その楽曲の audio_id とキャラクター名 name を渡し、description は任意で入力できます。レスポンスには persona_id が返されます。 Suno Persona API
対応する Python コード:
import os
import requests
url = "https://api.acedata.cloud/suno/persona"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"name": "Window Lights style",
"description": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
実行をクリックすると、次のような結果が得られます:
{
"success": true,
"task_id": "e36f2c78-f333-4f84-ad23-a371ff73df6d",
"data": {
"persona_id": "1787f427-02ea-4e5c-8b88-458779881804"
}
}
次の楽曲リクエストでは、前のステップで返された data.persona_id を persona_id に入力し、キャラクターの作成に使用した楽曲 ID を audio_id に入力します。通常のスタイルキャラクターには artist_consistency を使用します。ボーカルクリップから作成した VOX キャラクターには artist_consistency_vox を使用します。 VOX ボーカルクリップ
公式サイトで作品に既存のキャラクターを追加する際は、Advanced → + Voice → My Voices から選択パネルを開きます。スクリーンショットはこの入口を示しています。

対応する Python コード:
import os
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"action": "artist_consistency",
"model": "chirp-v6",
"persona_id": "1787f427-02ea-4e5c-8b88-458779881804",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"custom": True,
"style": "Soft acoustic folk",
"lyric": "[Chorus]\nBlue boats glide beyond the bay",
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
実行をクリックすると、次のような結果が得られます:
{
"success": true,
"task_id": "540f43fd-a229-4644-b693-dd9727700462",
"trace_id": "98ac0837-b64e-498d-92ce-51ceddcd9007",
"data": [
{
"id": "9e5030c7-233c-4521-8e93-f008ee583a97",
"title": "Blue Boats",
"lyric": "[Chorus]\nBlue boats glide beyond the bay",
"audio_url": "https://cdn.acedata2.cloud/suno/9e5030c7-233c-4521-8e93-f008ee583a97.mp3",
"created_at": "2026-11-30T18:14:21.715Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk",
"duration": 40.72
},
{
"id": "cf72ce86-1816-4efb-94a6-6f4aded1c83d",
"title": "Blue Boats",
"lyric": "[Chorus]\nBlue boats glide beyond the bay",
"audio_url": "https://cdn.acedata2.cloud/suno/cf72ce86-1816-4efb-94a6-6f4aded1c83d.mp3",
"created_at": "2026-11-30T18:14:21.715Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk",
"duration": 20
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
結果の内容が上記と一致していることがわかり、これにより歌手のスタイルを使って楽曲を生成する機能が実現されます。
¶ 続きの生成機能
すでに生成された Suno の楽曲の続きを生成したい場合は、パラメーター action を extend に設定し、続きを生成したい楽曲の ID を入力します。楽曲 ID は基本的な使い方に従って取得します。上記から、このとき楽曲の ID は次のようになります:
{
"id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32"
}
ここでの
idは生成された楽曲の ID で、前の例のdata[]から取り出せます。 自分でアップロードした楽曲の続きを生成する場合は、actionをupload_extendに設定します。必要な楽曲 ID は、アップロードレスポンスのdata.audio_idから取得します。 Suno Upload Generation API
{
"success": true,
"task_id": "7f995f02-e4ab-4ad8-adfd-584a1d70c745",
"data": {
"audio_id": "a6dbc2ab-a2ab-4c32-a7fb-2cfa7abd122d"
}
}
指定した歌詞で続きを作成する場合は、続きの部分の歌詞を入力し、スタイルも指定できます。
- lyric:
continue_at以降に新しく生成される部分の歌詞を誘導するためにのみ使用され、元の音声のその時点より前の歌詞は置き換えられません。 - custom:
trueを指定すると、カスタム生成を意味します。このパラメータのデフォルトは false で、promptを使用した生成を意味します。 - style:続きの部分の楽曲スタイル。任意。
- continue_at:続きの開始位置。単位は秒です。例えば、213.5 は 3 分 33.5 秒の位置から後続部分の生成を開始することを意味します。
extend と upload_extend の continue_at は 0 より大きい必要があり、30.792 のような小数秒に対応しています。送信時に丸められることはありません。
extendは既存の楽曲に続けて創作するためのもので、楽曲全体の歌詞を変更するものではありません。楽曲全体に最初から新しい歌詞を使用したい場合は、generateを使用して再生成してください。既存の楽曲を参考にして新たに演奏・歌唱したい場合は、coverを使用できます。楽曲全体の新しい歌詞を入力しても、continue_atより前の元の歌詞は置き換えられません。
公式サイトで Edit → Extend を選択します。波形をドラッグして続きの開始位置を選択します。波形の下にある Extend from が continue_at に対応します。

以下の API リクエスト例では、元の楽曲の 36.5 秒の位置から続きを作成します。
対応する Python コード:
import os
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"action": "extend",
"model": "chirp-v6",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"continue_at": 36.5,
"custom": True,
"lyric": "[Outro]\nCarry one more light for me\nHome across the quiet sea",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
クリックして実行すると、以下のような結果が得られます:
{
"success": true,
"task_id": "21085c89-c028-4386-84b1-7653f009d56a",
"trace_id": "fe072f90-0ceb-457b-837b-4765367f1516",
"data": [
{
"id": "aaed0954-f055-49b4-9b93-5776179a7d9c",
"lyric": "[Outro]\nCarry one more light for me\nHome across the quiet sea",
"audio_url": "https://cdn.acedata2.cloud/suno/aaed0954-f055-49b4-9b93-5776179a7d9c.mp3",
"created_at": "2026-11-30T18:05:01.698Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"duration": 41.92
},
{
"id": "c12c00d4-1211-406a-8658-af6c3029f3b9",
"lyric": "[Outro]\nCarry one more light for me\nHome across the quiet sea",
"audio_url": "https://cdn.acedata2.cloud/suno/c12c00d4-1211-406a-8658-af6c3029f3b9.mp3",
"created_at": "2026-11-30T18:05:01.698Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"duration": 41.6
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
結果の lyric には、今回の続きを作成するタスクで使用された歌詞テキストが返されます。このフィールドは、完成した音声全体を一字一句書き起こしたものではありません。extend では、continue_at より前の元の音声には引き続き元の歌詞が使用され、新しい歌詞は続きの部分を誘導するためにのみ使用されます。
アップロード後に続きを作成するには upload_extend を使用します。continue_at、歌詞、スタイルの入力方法はそのままにし、audio_id をアップロード時に返された data.audio_id に変更します。
{
"action": "upload_extend",
"model": "chirp-v6",
"audio_id": "a6dbc2ab-a2ab-4c32-a7fb-2cfa7abd122d",
"continue_at": 36.5,
"custom": true,
"lyric": "[Outro]\\nCarry one more light for me\\nHome across the quiet sea",
"style": "Soft acoustic folk"
}
アップロード後に作成した続きの最終状態の抜粋。
{
"success": true,
"task_id": "7fc1c79b-72d2-4697-a18e-caf6fee7d22c",
"trace_id": "fa320093-4e8e-4eba-89eb-610ad31cd271",
"data": [
{
"id": "8cb590ab-c3e4-4179-b3ad-773b4eba4c32",
"audio_url": "https://cdn.acedata2.cloud/suno/8cb590ab-c3e4-4179-b3ad-773b4eba4c32.mp3",
"model": "chirp-v6",
"state": "succeeded",
"duration": 45.4
},
{
"id": "112ec6d7-df1a-40ca-b295-967a9cb747b4",
"audio_url": "https://cdn.acedata2.cloud/suno/112ec6d7-df1a-40ca-b295-967a9cb747b4.mp3",
"model": "chirp-v6",
"state": "succeeded",
"duration": 33.16
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
¶ 完全な楽曲を取得する
まず extend の返却結果を試聴し、実際の長さを確認してください。結果によっては、continue_at より前の保持された部分と、その後の新しい内容がすでに含まれています。独立した続きの部分が返された場合や、複数回の続きの作成結果を明示的に結合する必要がある場合は、以下の連結機能を使用してください。
- action:内容は
concat。 - audio_id:最後の続きの部分の ID。
公式サイトでは、生成済みの続きを候補から開き、⋯ → Create → Get Whole Song を選択します。API では、選択した続きのセグメントの ID を使用します。例では
aaed0954-f055-49b4-9b93-5776179a7d9cを使用します。 Suno 続きの生成に関する説明
{
"action": "concat",
"model": "chirp-v6",
"audio_id": "aaed0954-f055-49b4-9b93-5776179a7d9c"
}
他のパラメータは変更せず、返されるのはすべての楽曲セグメントを連結した完全な楽曲ですが、結果は1曲のみです。例は次のとおりです。
{
"success": true,
"task_id": "7f74f719-18ed-4605-b345-e93dd671e384",
"trace_id": "3cf0e5da-47ca-4c41-9c4b-98c721684879",
"data": [
{
"id": "1e2411b4-1a0c-4e83-87d4-c968c62a7e19",
"title": "Window Lights",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea\n[Outro]\nCarry one more light for me\nHome across the quiet sea",
"audio_url": "https://cdn.acedata2.cloud/suno/1e2411b4-1a0c-4e83-87d4-c968c62a7e19.mp3",
"created_at": "2026-11-30T18:11:42.286Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"duration": 78.4
}
],
"cost": {
"amount": 0.036,
"currency": "credit",
"list_amount": 0.04
}
}
¶ 楽曲のカバー
既存の楽曲をもとに続きを生成した後、返された楽曲のスタイルがあまり適切でない場合があります。以前に生成した楽曲(独自にアップロードした音楽にも対応)をカバーするには、楽曲のカバー方法を使用し、次の内容を指定できます。
公式サイトの完成した楽曲のメニューで Remix → Cover を選択します。ローカルの音声は先に + Audio → Upload からインポートしてから、カバーします。

- action:値は
coverです。独自にアップロードした音楽をカバーする場合は、値にupload_coverを指定する必要があります。 - audio_id:以前に生成した楽曲の ID。
指定した声でカバーする場合は、persona_id を同時に渡すことができます。/suno/voices で作成したプライベートな声を使用するには、先に /suno/upload で同じ persona_id を指定して原曲をアップロードし、返された audio_id を使って upload_cover を実行する必要があります。各ステップでは同じサービスチャネルを使用する必要があります。vocal_gender を追加で指定する必要はなく、性別の指定は声の ID の代わりにはなりません。
たとえば、元の楽曲の ID が 3f8c1800-7a96-4a2b-811f-5fee716a9e32 の場合、パラメータを次のように設定できます。prompt で変更の方向性を指定できます。
{
"action": "cover",
"model": "chirp-v6",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"prompt": "Reimagine this acoustic folk song as soft bossa nova."
}
他のパラメータは変更せず、返されるのは以前に生成した楽曲をカバーした結果です。例は次のとおりです。
{
"success": true,
"task_id": "475cee66-4cde-4a41-936a-4025587a55ab",
"trace_id": "5b961fe5-e712-4264-8a26-5465d7636cd9",
"data": [
{
"id": "a743e000-516a-4416-826b-086b61e1907c",
"title": "Mango Peel Moon",
"lyric": "[Verse 1]\nYou left your cup by the sink\nHalf a lime in the glass\nI saw your shirt on the chair\nAnd the morning move too fast",
"audio_url": "https://cdn.acedata2.cloud/suno/a743e000-516a-4416-826b-086b61e1907c.mp3",
"created_at": "2026-11-30T18:05:01.716Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "Reimagine this acoustic folk song as soft bossa nova.",
"style": "Soft bossa nova with brushed syncopation, nylon-string guitar, upright bass, and light shaker; verse rides close-mic and conversational, pre-chorus opens with a breathy lift and subtle harmony, chorus lands on a warm repeated hook with soft gang doubles. Gentle conga taps, piano grace notes, and a small tape-wobble transition before the bridge. Intimate, warm, and silky in the mix., acoustic, folk, bossa nova, soft",
"duration": 222.48
},
{
"id": "8520edee-3678-4533-bcb7-deda59c5807c",
"title": "Mango Peel Moon",
"lyric": "[Verse 1]\nYou left your cup by the sink\nHalf a lime in the glass\nI saw your shirt on the chair\nAnd the morning move too fast",
"audio_url": "https://cdn.acedata2.cloud/suno/8520edee-3678-4533-bcb7-deda59c5807c.mp3",
"created_at": "2026-11-30T18:05:01.716Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "Reimagine this acoustic folk song as soft bossa nova.",
"style": "Soft bossa nova with brushed syncopation, nylon-string guitar, upright bass, and light shaker; verse rides close-mic and conversational, pre-chorus opens with a breathy lift and subtle harmony, chorus lands on a warm repeated hook with soft gang doubles. Gentle conga taps, piano grace notes, and a small tape-wobble transition before the bridge. Intimate, warm, and silky in the mix., acoustic, folk, bossa nova, soft",
"duration": 212.76
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
生成結果は上記と同様で、これで以前に生成した楽曲のカバーを生成するプロセスは完了です。
アップロードした音声をカバーする際は、次のリクエストとアップロード結果の audio_id を使用できます。
{
"action": "upload_cover",
"model": "chirp-v6",
"audio_id": "a6dbc2ab-a2ab-4c32-a7fb-2cfa7abd122d",
"prompt": "Acoustic ballad with warm cello and soft vocals"
}
アップロード後にカバーした際の最終状態の抜粋です。
{
"success": true,
"task_id": "d3f33f44-6abe-4429-84e7-b7a01933711f",
"trace_id": "bf5f5bf1-494a-4520-a70b-b3cb1145e2f9",
"data": [
{
"id": "305ee2e5-a06c-46e7-9bad-bebc5010f0a5",
"title": "Hands On The Rail",
"audio_url": "https://cdn.acedata2.cloud/suno/305ee2e5-a06c-46e7-9bad-bebc5010f0a5.mp3",
"model": "chirp-v6",
"state": "succeeded",
"duration": 214.8
},
{
"id": "20eafedb-f0ec-4440-adcb-32d815b70824",
"title": "Hands On The Rail",
"audio_url": "https://cdn.acedata2.cloud/suno/20eafedb-f0ec-4440-adcb-32d815b70824.mp3",
"model": "chirp-v6",
"state": "succeeded",
"duration": 257.6
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
¶ 区間の置き換え
replace_section は、元の楽曲の時間区間に基づいて選択した区間を再生成し、結果を元の楽曲に結合します。replace_section_result_mode のデフォルトは full_song で、完全な楽曲が2曲返されます。concat を再度呼び出すことなく、そのまま再生できます。
Suno の公式サイトで Edit → Replace section を選択し、波形上で置き換える区間を選択します。波形の下にある2つの時間入力欄は、replace_section_start と replace_section_end に対応します。

¶ 入力方法
action:replace_section。audio_id:編集する完全な楽曲の ID。再度編集する場合は、task_idではなく、前回選択した完全な楽曲のdata[].idを使用します。model:楽曲生成モデル。例:chirp-v6。lyric:選択区間で歌う部分的な新しい歌詞。完全な楽曲を取得するために、楽曲全体の歌詞を渡す必要はありません。prompt:今回の置き換えに使用する部分的な新しい歌詞を明示的に指定します。歌詞を変更する際は、2つのフィールドで異なる歌詞が指定されるのを避けるため、lyricと同じ内容を入力することを推奨します。部分的なlyricのみを渡し、promptを省略した既存のリクエストも引き続き使用できますが、promptを追加するだけでは歌詞の変更が成功するとは限りません。style、negative_tags:任意のスタイルの説明と除外項目。この操作におけるpromptは、通常の楽曲制作時に使用するインスピレーションの説明ではありません。replace_section_start、replace_section_end:今回の元の楽曲における選択区間の開始時刻と終了時刻。単位は秒で、小数に対応しています。開始時刻は0以上でなければならず、終了時刻は開始時刻より大きく、元の楽曲の長さを超えてはなりません。replace_section_result_mode:full_song(デフォルト)は完全な楽曲を2曲返し、candidatesはまだ結合されていない置き換え候補を2つ返します。
「lyric には置き換え後の完全な歌詞を指定し、prompt には部分的な歌詞を指定しなければならない」という方法を一般的な使い方としないでください。完全な歌詞を入力すると、一部のタスクでは置き換え内容が長くなりすぎ、結合後の楽曲全体が大幅に長くなることがあります。部分的な入力でも、一定の長さになることや歌詞に一字一句従うことは保証されません。これは生成型の編集であり、実際の音声を確認する必要があります。
¶ タスクを開始して完全な楽曲を取得する
以下の実測例では、8.5秒から16.5秒までの区間を選択しています。audio_id と開始・終了時刻は、ご自身で試聴して確認した完全な楽曲と選択区間のものに置き換えてください。
{
"action": "replace_section",
"model": "chirp-v6",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"replace_section_start": 8.5,
"replace_section_end": 16.5,
"lyric": "Blue boats glide beyond the bay",
"prompt": "Blue boats glide beyond the bay",
"async": true
}
送信後、返された task_id を使用して /suno/tasks に問い合わせます。リクエストボディは {"action":"retrieve","id":"YOUR_TASK_ID"} です。タスク完了後、タスクのレスポンスの response.data から2曲の完全な楽曲の id、audio_url、duration を取得し、試聴してから1曲を選択します。success: true はタスクが正常に実行されたことを示し、新しい歌詞が一字一句歌われたことや、長さが期待どおりであることを意味するものではありません。
デフォルトモードで得られた2曲の完全な楽曲の実測結果の抜粋です。
{
"success": true,
"task_id": "8616c06a-2b00-4c0e-be1d-42b529783cd4",
"trace_id": "2219245a-188a-4b92-b852-4d4ec2a09ff9",
"data": [
{
"id": "cc1074ab-16a5-4dc6-bfe0-5f993094e536",
"title": "Window Lights",
"lyric": "[Verse]\nBlue boats glide beyond the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/cc1074ab-16a5-4dc6-bfe0-5f993094e536.mp3",
"created_at": "2026-11-30T18:12:12.903Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"duration": 46.4
},
{
"id": "4930f34e-2ce5-41c5-b318-3e28eefe2cde",
"title": "Window Lights",
"lyric": "[Verse]\nBlue boats glide beyond the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/4930f34e-2ce5-41c5-b318-3e28eefe2cde.mp3",
"created_at": "2026-11-30T18:12:13.509Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"duration": 47.6
}
],
"cost": {
"amount": 0.72,
"currency": "credit",
"list_amount": 0.8
}
}
¶ 選択区間、結果の確認と再編集
- まず元の曲を試聴し、
/suno/timingの時間情報と合わせて選択範囲を決め、できるだけ完全な楽句を含めてください。歌詞配列の固定インデックスで範囲を選択したり、より多くの楽句を含む区間を数行の歌詞で置き換えて、リズムがまったく変わらないと期待したりしないでください。 - 新しい歌詞の行数、文字数、リズムは、選択範囲の元の内容にできるだけ近づけてください。数文字だけの変更でも試聴による確認が必要であり、それだけで成功が保証されるわけではありません。
- 対象区間で新しい歌詞が歌われているか、前後のつながりが自然か、曲全体の長さが妥当かを確認してください。
full_songは曲全体を返すことを示し、元の曲と同じ長さになることを示すものではありません。置換部分が長くなると、後半はそれに応じて後ろにずれます。durationリクエストパラメータは通常の生成にのみ使用され、置換部分の長さを固定することはできません。 - 返される
lyricは歌詞のメタデータです。曲全体モードでは、元の歌詞の時間情報を取得できる場合に完全な歌詞が組み合わされます。取得できない場合は空になることがあります。これは音声の書き起こしではないため、新しい歌詞が表示されても、音声で新しい歌詞が歌われたことの証明にはなりません。時間のアラインメント情報も試聴と合わせて確認してください。特に、すでに編集された成果物では注意が必要です。 - 再度編集する場合は、選択した完成した曲全体の ID を新しい
audio_idとして使用し、その成果物の長さと選択範囲を再確認してください。編集前の時間座標をそのまま使ったり、前回返された曲全体のlyricを今回の部分入力としてそのまま使用したりしないでください。
タスクが完了しても古い歌詞が歌われている、歌詞が抜けている、または著しく長くなっている場合は、まず元の曲の ID、選択範囲、部分歌詞を確認し、次にもう一方の結果を確認してください。タスクの問い合わせ頻度を増やしても、生成済みの内容は変わりません。それでも異常がある場合は、確認できるように task_id、元の曲の ID、リクエストフィールド、選択範囲、結果の音声を保存してください。
¶ オプション:先に候補を取得し、手動で結合
置換候補を自分で選ぶ必要がある場合にのみ、replace_section_result_mode: "candidates" を設定してください。候補には前後の内容が含まれる場合があるため、候補の長さだけを根拠に曲全体とみなすことはできません。選択後、候補の data[].id を使用して concat を呼び出し、完成した曲全体を取得してください。
デフォルトの full_song では結合が完了しているため、この手順は不要です。
¶ ボーカルと伴奏の分離
料金:action=stems が成功した場合、1リクエストあたりの標準料金は 0.56 Credits です。同じリクエストで返されるボーカルと伴奏は合わせて1回として計算されます。適用される利用割引は実際の請求額に準じ、失敗したリクエストには課金されません。all_stems と extract_stem はそれぞれの料金に従って課金されます。
公式サイトで Edit → Get stems を選択し、Extract Stems and MIDI を開きます。API では、ボーカルと伴奏だけを分離する場合は stems を使用し、より多くの独立した楽器トラックが必要な場合は、以下の all_stems を使用します。
曲の生成後、伴奏とボーカルを別々に操作する二次創作を行う場合は、インストゥルメンタル伴奏とアカペラのボーカルを分離できます。その場合、次の内容を指定できます。
- action:内容は
stems。 - audio_id:以前に生成した曲の ID。
例えば、元の曲 3f8c1800-7a96-4a2b-811f-5fee716a9e32 を使用して分離リクエストを開始します。
{
"action": "stems",
"model": "chirp-v6",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32"
}
上記のパラメータでボーカルと伴奏の分離結果を取得できます。結果は次のとおりです。
{
"success": true,
"task_id": "269799ed-e450-44ae-a3cc-491f3073e604",
"trace_id": "39c95376-0fda-4453-969d-fa72a3b6c722",
"data": [
{
"id": "316898fd-a7ac-4c2a-9190-7a88aa02fcaa",
"title": "(Vocals)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/316898fd-a7ac-4c2a-9190-7a88aa02fcaa.mp3",
"created_at": "2026-11-30T18:05:01.768Z",
"state": "succeeded",
"duration": 47.6
},
{
"id": "08cc9c7a-9014-4c16-8f3f-d1d449673d2b",
"title": "(Instrumental)",
"audio_url": "https://cdn.acedata2.cloud/suno/08cc9c7a-9014-4c16-8f3f-d1d449673d2b.mp3",
"created_at": "2026-11-30T18:05:01.768Z",
"state": "succeeded",
"duration": 47.6
},
{
"id": "86718589-8382-49d7-8aae-0656b6da3a1d",
"title": "(Vocals)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/86718589-8382-49d7-8aae-0656b6da3a1d.mp3",
"created_at": "2026-11-30T18:05:01.768Z",
"state": "succeeded",
"duration": 47.6
},
{
"id": "bb125c17-cbf4-46e1-b48b-f457bea9f389",
"title": "(Instrumental)",
"audio_url": "https://cdn.acedata2.cloud/suno/bb125c17-cbf4-46e1-b48b-f457bea9f389.mp3",
"created_at": "2026-11-30T18:05:01.768Z",
"state": "succeeded",
"duration": 47.6
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
生成結果は上記のようになり、これで元の生成された曲のボーカルと伴奏を分離する過程が完了します。
¶ 全トラックのボーカルと伴奏の分離
公式サイトでは、Extract Stems and MIDI のポップアップで Auto split を選択します。これは複数の独立した音声トラックを自動分割する場合に対応します。

タスクはすべてのトラックの生成が完了してから、成功の最終状態を返します。処理中に再生可能なアドレスが表示されても、トラック一式が完了したことにはなりません。 全トラック分離の成功したリクエストごとの標準料金は 1.6 Credits です。処理中に試聴アドレスが表示されていても、タスクの完了を待ってからトラック一式を取得する必要があります。
曲の生成後に全トラックのボーカルと伴奏を分離する場合は、次の内容を指定できます。
- action:内容は
all_stems。 - audio_id:以前生成した楽曲の ID。
例えば、元の楽曲 3f8c1800-7a96-4a2b-811f-5fee716a9e32 の全トラックを分離します。選択した音声トラックの data[].id は MIDI 抽出の入力として使用できます。 MIDI 抽出
{
"action": "all_stems",
"model": "chirp-v6",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32"
}
上記のパラメータにより、全トラックの音声分離の結果が得られます。結果は以下のとおりです:
"success": true,
"task_id": "36358e35-a2d5-4406-82a3-8ff9636c8959",
"trace_id": "012a7311-f7cd-40c8-8939-aa682249bcad",
"data": [
{
"id": "72707f4d-d3fd-4c90-a0ca-696480666842",
"title": "(Vocals)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/b0bf4d5fafce804a93ac0f7ad9c64dd75ea09ea0ae934d01fefba1bff2eb1eee.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "41852f08-1d98-4cc6-b3a7-8438580cb2fb",
"title": "(Backing Vocals)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/28a43f6215fd8bcf13b17c591d6d465ce0227349e9a4d8ea4a624f715549f396.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "57e07045-43bb-40b3-9989-d57e0083339e",
"title": "(Drums)",
"audio_url": "https://cdn.acedata2.cloud/suno/c2058a6a6844a72a4a80fe1b90bbe4596342f1dc417a882d5045f3626615d8d9.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "b568865b-57e1-4bc5-a541-5f652419b84f",
"title": "(Bass)",
"audio_url": "https://cdn.acedata2.cloud/suno/3f840e1be98c3166b841519c9de967dd8985be22aa7cf578cbb9b198265e6d5d.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "b241d1f8-3141-4772-8bb3-4ca007258e14",
"title": "(Guitar)",
"audio_url": "https://cdn.acedata2.cloud/suno/9a01856b7df6f1198f07009de62178fcf96a331d7b544401085971e7dae0a113.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "f34e809a-ce8e-4724-9bcf-0b6fad45966c",
"title": "(Keyboard)",
"audio_url": "https://cdn.acedata2.cloud/suno/1e4eda67c22c42a88ad20200d6f293f95e319c4607cb8ef4067a47d235991beb.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "8c9c14c8-c243-4794-ad33-147f31b76fde",
"title": "(Percussion)",
"audio_url": "https://cdn.acedata2.cloud/suno/5eb662d60f36f71f1860ec7852174254807e089601c42887a3ccb5f1db7b7c64.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "648491b5-6294-4010-b35d-a638f2dc285f",
"title": "(Strings)",
"audio_url": "https://cdn.acedata2.cloud/suno/2997d2534a1395e74c10a0039895d76665397d8fd186a297324270d482fef656.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "a8e86ddb-8e35-44c2-a61c-0b72f0c5bc08",
"title": "(Synth)",
"audio_url": "https://cdn.acedata2.cloud/suno/4efddd81cd03b51e9f8c28a4af78ee2bba0d8ff8bb2f159b2ff9d17cdd7c966f.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "49f363d9-769e-4e96-8651-9e5b3ae85361",
"title": "(FX)",
"audio_url": "https://cdn.acedata2.cloud/suno/75457e8ee8d89b44035ca069668cb39e402e91cec772dbef02b196981c81f5bd.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "16a6f2b1-7add-40a9-b746-321f92005991",
"title": "(Brass)",
"audio_url": "https://cdn.acedata2.cloud/suno/8fd176374ef70383edfaaacd22de3cc8737d029393283cb3167e6d1fa68322f1.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "5fcddae2-d081-47e3-847c-61c69851bdfe",
"title": "(Woodwinds)",
"audio_url": "https://cdn.acedata2.cloud/suno/df44088f262c58ba6edee0216450dc71533f682f9d4a77865916c28f6fa03cbb.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
},
{
"id": "9372a7d2-5e62-430a-a243-2a44ee25f24d",
"title": "(Vocals)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/9ce56fd9ab3f403cd1e4db565e1c400400e4a1c3318c48d780286bcfbc1066c1.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "1556bc3d-56de-4c62-878e-9f9d1d1872a1",
"title": "(Backing Vocals)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/e60e61f565f8b1b24517881ac7992f61ad4d8d517965907151289bc1fde1f8df.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "aa280b4c-27b3-4e6a-ad55-f1fc1e0b139f",
"title": "(Drums)",
"audio_url": "https://cdn.acedata2.cloud/suno/72c5145ed4ec2963be8b5ce76c44462d63add6f899deae610901ae89910d3c25.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "6e7bc012-82d3-4320-9584-65d3c7c7acd1",
"title": "(Bass)",
"audio_url": "https://cdn.acedata2.cloud/suno/6beac0c0ad82ea676c31787de84ff2c51d1ef944bd8c772204b84ce37eadb880.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "a45c3d09-122c-419a-a78c-5cf8888c6513",
"title": "(Guitar)",
"audio_url": "https://cdn.acedata2.cloud/suno/824dd2be231d01a36c5e6a9230636f7890034e47408c40cdb7a126450b98fbff.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "4b57e164-b18b-4488-abc9-fd5fc1d1282a",
"title": "(Keyboard)",
"audio_url": "https://cdn.acedata2.cloud/suno/222495df0dc443ad4fa5a70db7d20f67ee044ed2a687e33ddd943496539ec217.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "44ff0ac0-df04-4910-ba19-198511d289a4",
"title": "(Percussion)",
"audio_url": "https://cdn.acedata2.cloud/suno/d07ba9228004a8e77d8e1b847067094fa64aef81fa7dcaf19ab97dd600d6045d.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "c25fa87b-d2ad-43a5-8fcc-33c30bfafd87",
"title": "(Strings)",
"audio_url": "https://cdn.acedata2.cloud/suno/52e8146f16a787522c9f1bcdc53312768a5a1d109a1107b1875cabd958d0c083.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "d9de2c63-894e-4f6f-af6e-419aff8a9c4a",
"title": "(Synth)",
"audio_url": "https://cdn.acedata2.cloud/suno/d691e4e4c43c323f600d0d86e4867497bb15ee5950b8d636ad59f6127a6a3628.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "beaeb6d8-6145-423b-a2ac-5cd89eba88a3",
"title": "(FX)",
"audio_url": "https://cdn.acedata2.cloud/suno/624952ce80227d3b9f5b0d4a9b6e662ccf6af9a486a5b3dc8910201916888cd1.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "3f8c3548-7f59-4ca4-a5f8-35d4e9cd41a0",
"title": "(Brass)",
"audio_url": "https://cdn.acedata2.cloud/suno/ce61374a0b7377815345e7eeb0d6132be3ed3c1a02a22a4e809a5702bdba9114.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "2ea4d9e2-1836-4dcc-ab4d-786e019f8b03",
"title": "(Woodwinds)",
"audio_url": "https://cdn.acedata2.cloud/suno/cade07b8d2b55bfe76e8789e17951997b6bf4c5f9089a21573598992c712e19b.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}
],
"cost": {
"amount": 1.44,
"currency": "credit",
"list_amount": 1.6
}
}
生成された結果は上記のようになり、これで元の生成された楽曲のボーカルと伴奏の分離が完了します。
¶ 音声トラックの追加
add_stem は指定された音声に対して目的の楽器または声のトラックを生成し、POST /suno/audios を通じて呼び出します。
Suno Studio の公式サイトのチュートリアルでは、タイムラインの下部にトラックを追加し、Create を使って既存のアレンジに新しい楽器トラックを生成する方法が実演されています。 Suno Studio チュートリアル
-
必須:
action、audio_id、stem_type。stem_typeにはvocals、backing_vocals、drums、bass、guitar、keyboard、percussion、strings、synth、fx、brassまたはwoodwindsを指定できます。指定した音轨を抽出する際にも、これらの値を使用します。 -
オプション:
model、prompt、title、style、negative_tags、weirdness、style_influence、audio_weight、max_mode、variety。 -
課金:通常モードは 0.672 Credits、
max_modeがtrueの場合は 1.344 Credits。
{
"action": "add_stem",
"model": "chirp-v6",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"stem_type": "strings",
"prompt": "Quiet cello counter-melody",
"async": true
}
最終状態のレスポンス:
{
"success": true,
"task_id": "af1493f7-18d1-4027-a1a1-79b8443c9349",
"trace_id": "2c1bc14e-df12-4ed4-b505-39c821b9d878",
"data": [
{
"id": "280c819e-eb70-4e3c-b57e-749597771d30",
"title": "Cello Counter-Melody",
"lyric": "Quiet cello counter-melody",
"audio_url": "https://cdn.acedata2.cloud/suno/280c819e-eb70-4e3c-b57e-749597771d30.mp3",
"created_at": "2026-11-30T18:05:01.740Z",
"model": "chirp-v6",
"state": "succeeded",
"duration": 48
},
{
"id": "6e419425-9892-4fce-b44b-3884db5db7d5",
"title": "Cello Counter-Melody",
"lyric": "Quiet cello counter-melody",
"audio_url": "https://cdn.acedata2.cloud/suno/6e419425-9892-4fce-b44b-3884db5db7d5.mp3",
"created_at": "2026-11-30T18:05:01.740Z",
"model": "chirp-v6",
"state": "succeeded",
"duration": 47.6
}
],
"cost": {
"amount": 0.6048,
"currency": "credit",
"list_amount": 0.672
}
}
¶ 音轨の抽出
extract_stem は指定した音声から対象の音轨を抽出し、同時にその音轨を除去した補完バージョンを返します。POST /suno/audios を通じて呼び出します。
公式サイトでは、Extract Stems and MIDI ポップアップで Split from mix を選択し、次に抽出するトラックを選択します。図ではリードボーカルを例に、右側に残りのミックスが表示されています。

- 必須:
action、audio_id、stem_type。 - オプション:
audio_format。現在の公開デュアルチャンネル契約ではmp3のみをサポートしています。 - 課金:1.12 Credits。
{
"action": "extract_stem",
"model": "chirp-v6",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"stem_type": "vocals",
"audio_format": "mp3",
"async": true
}
最終状態のレスポンスの data はフラットな音声リストを保持し、stem_sets は対象音轨と補完音轨の対応関係を示します:
{
"success": true,
"task_id": "fa4e30e0-0aff-4387-8cb1-1cbeaecb3af3",
"trace_id": "47310496-7818-4e8c-b90d-8b0bcf683351",
"data": [
{
"id": "74744dc1-3d94-4dca-b5bd-7fbb90559c1e",
"title": "(Vocals)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/74744dc1-3d94-4dca-b5bd-7fbb90559c1e.mp3",
"created_at": "2026-11-30T18:05:02.527Z",
"model": "chirp-v6",
"state": "succeeded",
"duration": 47.6,
"stem_set": 1
},
{
"id": "dcd7249a-0cac-40f5-a354-c3974447831a",
"title": "(Instrumental)",
"audio_url": "https://cdn.acedata2.cloud/suno/dcd7249a-0cac-40f5-a354-c3974447831a.mp3",
"created_at": "2026-11-30T18:05:02.527Z",
"model": "chirp-v6",
"state": "succeeded",
"duration": 47.6,
"stem_set": 1
},
{
"id": "505d4be6-7412-413a-8651-dd545f3a7cbf",
"title": "(Vocals)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/505d4be6-7412-413a-8651-dd545f3a7cbf.mp3",
"created_at": "2026-11-30T18:05:02.527Z",
"model": "chirp-v6",
"state": "succeeded",
"duration": 47.6,
"stem_set": 2
},
{
"id": "96dbed16-4559-45d1-b5a7-356646217ec5",
"title": "(Instrumental)",
"audio_url": "https://cdn.acedata2.cloud/suno/96dbed16-4559-45d1-b5a7-356646217ec5.mp3",
"created_at": "2026-11-30T18:05:02.527Z",
"model": "chirp-v6",
"state": "succeeded",
"duration": 47.6,
"stem_set": 2
}
],
"stem_sets": [
{
"stem_type": "vocals",
"isolated": {
"id": "74744dc1-3d94-4dca-b5bd-7fbb90559c1e",
"title": "(Vocals)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/74744dc1-3d94-4dca-b5bd-7fbb90559c1e.mp3",
"created_at": "2026-11-30T18:05:02.527Z",
"model": "chirp-v6",
"state": "succeeded",
"duration": 47.6,
"stem_set": 1
},
"remainder": {
"id": "dcd7249a-0cac-40f5-a354-c3974447831a",
"title": "(Instrumental)",
"audio_url": "https://cdn.acedata2.cloud/suno/dcd7249a-0cac-40f5-a354-c3974447831a.mp3",
"created_at": "2026-11-30T18:05:02.527Z",
"model": "chirp-v6",
"state": "succeeded",
"duration": 47.6,
"stem_set": 1
}
},
{
"stem_type": "vocals",
"isolated": {
"id": "505d4be6-7412-413a-8651-dd545f3a7cbf",
"title": "(Vocals)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/505d4be6-7412-413a-8651-dd545f3a7cbf.mp3",
"created_at": "2026-11-30T18:05:02.527Z",
"model": "chirp-v6",
"state": "succeeded",
"duration": 47.6,
"stem_set": 2
},
"remainder": {
"id": "96dbed16-4559-45d1-b5a7-356646217ec5",
"title": "(Instrumental)",
"audio_url": "https://cdn.acedata2.cloud/suno/96dbed16-4559-45d1-b5a7-356646217ec5.mp3",
"created_at": "2026-11-30T18:05:02.527Z",
"model": "chirp-v6",
"state": "succeeded",
"duration": 47.6,
"stem_set": 2
}
}
],
"cost": {
"amount": 1.008,
"currency": "credit",
"list_amount": 1.12
}
}
¶ 効果音の生成
sounds はテキストの説明に基づいてワンショットまたはループ可能な効果音を生成し、POST /suno/audios を通じて呼び出します。
公式サイトの Create → Sounds に対応し、One-Shot または Loop を選択してから、テンポとキーを設定できます。

- 必須:
action、sound、sound_type。 - オプション:
model、bpm、key、audio_format。audio_formatは現在mp3のみサポートしています。
bpm には 1 から 300 の整数を入力でき、key には Dm などの標準的なキー表記を使用できます。
sound_type:one-shotまたはloop。- 料金:0.112 Credits。
{
"action": "sounds",
"model": "chirp-v6",
"sound": "One soft bell hit with a very short room tail",
"sound_type": "one-shot",
"audio_format": "mp3",
"async": true
}
{
"success": true,
"task_id": "07ecdbad-7aec-42f0-a635-f4b79961b92f",
"trace_id": "5ddef2e4-479f-475a-89c3-eebe651c4d28",
"data": [
{
"id": "9e6920c3-3f0a-48aa-b37e-64a4ac64abcd",
"title": "One soft bell hit with a very short room tail",
"audio_url": "https://cdn.acedata2.cloud/suno/9e6920c3-3f0a-48aa-b37e-64a4ac64abcd.mp3",
"created_at": "2026-11-30T18:05:02.350Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "one-shot, One soft bell hit with a very short room tail",
"duration": 2.8
},
{
"id": "ec8db770-6080-4a91-a198-83788cff392f",
"title": "One soft bell hit with a very short room tail",
"audio_url": "https://cdn.acedata2.cloud/suno/ec8db770-6080-4a91-a198-83788cff392f.mp3",
"created_at": "2026-11-30T18:05:02.350Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "one-shot, One soft bell hit with a very short room tail",
"duration": 2.4
}
],
"cost": {
"amount": 0.1008,
"currency": "credit",
"list_amount": 0.112
}
}
¶ 音声速度の調整
adjust_speed は指定した音声の再生速度を調整し、POST /suno/audios を通じて呼び出します。
公式サイトの曲メニュー Edit → Adjust speed に対応します。音声カード内の速度コントロールと Keep Pitch スイッチは、それぞれ speed_multiplier と keep_pitch に対応します。

- 必須:
action、audio_id、speed_multiplier、title。 - 任意:
keep_pitch。 speed_multiplier:範囲は 0.25~4。- 料金:0.28 Credits。
{
"action": "adjust_speed",
"model": "chirp-v6",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"speed_multiplier": 1.15,
"keep_pitch": true,
"title": "Window Lights (faster)",
"async": true
}
今回は 47.6 秒の元の曲を 1.15 倍速に設定し、返された完成品の長さは約 41.39 秒でした。
{
"success": true,
"task_id": "d0b470bc-3167-41a4-a563-e22efb3abd2b",
"trace_id": "e0288e22-d7c7-40ed-8dc7-cd85f12e253b",
"data": [
{
"id": "e35ef50f-c386-4d78-8ec4-b8d44252a993",
"title": "Window Lights (faster)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/e35ef50f-c386-4d78-8ec4-b8d44252a993.mp3",
"created_at": "2026-11-30T18:05:01.352Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"duration": 41.3913125
}
],
"cost": {
"amount": 0.252,
"currency": "credit",
"list_amount": 0.28
}
}
生成モデルにはランダム性があります。インターフェースはパラメーターの意味、タスクの状態、レスポンスの構造の一貫性を保証しますが、異なるリクエストで完全に同じ波形が生成されることは保証しません。
¶ カスタム生成の高度なパラメーター
公式サイトの Advanced モードで More Options を開きます。Weirdness は weirdness に、Style Influence は style_influence に対応します。

参照音声があるカバーフォームでは、audio_weight に対応する Audio Influence も表示されます。これら 3 つの重みフィールドは API では 0 から 1 の値を取り、公式サイトではパーセンテージで表示されます。

これらの値はカスタム生成パラメーターで設定できます。以下のコードは 2 つのパーセンテージ制御とスタイルの除外を示しています。
import os
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"action": "generate",
"model": "chirp-v6",
"custom": True,
"title": "Window Lights",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"weirdness": 0.35,
"style_influence": 0.8,
"negative_tags": "heavy distortion",
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
生成完了後、基本的な使用手順に従って data 内の 2 つの候補を読み取ります。以下は、この一連の高度なパラメーターによる実測済みの最終状態の抜粋です。
{
"success": true,
"task_id": "c400fcab-e6b1-4311-91a8-832d096ac797",
"trace_id": "114383d0-d9be-41c9-95ba-2729e7c08fc3",
"data": [
{
"id": "d90c143f-871e-4f6d-8afe-ef4e525f35b5",
"title": "Window Lights",
"audio_url": "https://cdn.acedata2.cloud/suno/d90c143f-871e-4f6d-8afe-ef4e525f35b5.mp3",
"model": "chirp-v6",
"state": "succeeded",
"duration": 55.6
},
{
"id": "9c7c7f9f-cf85-409a-bbf2-e76085347d5c",
"title": "Window Lights",
"audio_url": "https://cdn.acedata2.cloud/suno/9c7c7f9f-cf85-409a-bbf2-e76085347d5c.mp3",
"model": "chirp-v6",
"state": "succeeded",
"duration": 62.72
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
参照音声または音色がない場合、audio_weight の影響は弱まる可能性があります。
¶ 楽曲の長さを調整する
公式サイトで Advanced → More Options → Duration の Custom を選択すると、長さを設定できます。画像の 1:30 は、下記の実測リクエストの duration: 90 に対応します。

デフォルトでは、生成される楽曲の長さはモデルが自動的に決定し、通常は 30 秒から 4 分の間になります。より長い、または短い完成品が必要な場合は、duration パラメータで希望の長さを指定できます。単位は秒で、値は 10 から 360 までの整数です。
ここでは、custom: true の楽曲生成リクエストで実演します。モデルは duration を目標の長さとして扱います。同じリクエストで生成される 2 曲も、長さが異なる場合があります。正確な長さが必要な場合は、完成品を取得した後にトリミングできます。
対応する Python コード:
import os
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"action": "generate",
"model": "chirp-v6",
"custom": True,
"duration": 90,
"title": "Window Lights",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
リクエストの duration は 目標の長さ です。レスポンスの data[].duration は各楽曲の 実際の長さ です。今回の V6 リクエストの目標は 90 秒で、2 つの候補の実際の長さはそれぞれ 89.48 秒と 89.56 秒でした。
インターフェースは duration が 10 から 360 までの整数であることを検証しますが、それでも生成時の目標にすぎず、完成品の長さを保証するものではありません。
実測した最終状態の抜粋。
{
"success": true,
"task_id": "1a01d321-6780-4d8e-8612-02a0fad33102",
"trace_id": "ffddaa23-a3dd-44de-aa4e-58a6e3f1ca2c",
"data": [
{
"id": "8603c0f3-a396-455c-b945-fb48e65bf014",
"title": "Window Lights",
"audio_url": "https://cdn.acedata2.cloud/suno/8603c0f3-a396-455c-b945-fb48e65bf014.mp3",
"model": "chirp-v6",
"state": "succeeded",
"duration": 89.48
},
{
"id": "50487a72-bc9c-4511-93d7-e2949dfb00c0",
"title": "Window Lights",
"audio_url": "https://cdn.acedata2.cloud/suno/50487a72-bc9c-4511-93d7-e2949dfb00c0.mp3",
"model": "chirp-v6",
"state": "succeeded",
"duration": 89.56
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
¶ Add Instrumental 機能
Add Instrumental は、アカペラに伴奏を付けることができます。公式サイトの Create → Songs → Advanced で + Audio → Upload からアカペラをインポートし、オーディオカードの右上にある Edit instruments を選択します。API では、アップロード時に返された audio_id を使用します。 Suno Upload API

下記の実測リクエストでは、アップロードしたアカペラ音声を使用します。
アップロード後、返された data.audio_id を記録します。
{
"success": true,
"task_id": "68d3a7d4-8b16-4339-a16f-df245819cbaf",
"data": {
"audio_id": "1f360814-4115-42d9-b196-9d513f4cd6fa"
}
}
この例のアップロード結果は audio_id: 1f360814-4115-42d9-b196-9d513f4cd6fa です。以下のパラメータも入力する必要があります。
- action:内容は
underpainting。 - underpainting_start:アップロードした楽曲に伴奏を追加する開始時間。デフォルト値は 0。
- underpainting_end:アップロードした楽曲に伴奏を追加する終了時間。楽曲の総再生時間より短くする必要があります。
- audio_id:アップロードした伴奏なしのアカペラ楽曲の ID。
- style:伴奏のスタイル。伴奏なので、歌詞は使わないほうがよいでしょう。
対応する Python コードは以下のとおりです。
import os
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"action": "underpainting",
"model": "chirp-v6",
"audio_id": "1f360814-4115-42d9-b196-9d513f4cd6fa",
"style": "Soft acoustic folk, fingerpicked guitar",
"underpainting_end": 20,
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
実行をクリックすると、以下のような結果が得られます。
{
"success": true,
"task_id": "ad95f427-f6bd-4cea-901a-83ce4b35c547",
"trace_id": "866ab30e-e1bd-4572-adad-3db9cdaf1036",
"data": [
{
"id": "335eb864-7259-408f-930b-7b14f48704e6",
"title": "Morning on the Porch",
"audio_url": "https://cdn.acedata2.cloud/suno/335eb864-7259-408f-930b-7b14f48704e6.mp3",
"created_at": "2026-11-30T18:14:21.553Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk, fingerpicked guitar",
"duration": 20
},
{
"id": "0eda172d-6284-411c-9cfb-7428ed571707",
"title": "Morning on the Porch",
"audio_url": "https://cdn.acedata2.cloud/suno/0eda172d-6284-411c-9cfb-7428ed571707.mp3",
"created_at": "2026-11-30T18:14:21.553Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk, fingerpicked guitar",
"duration": 19.56
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
これで、アップロードした伴奏なしのアカペラ楽曲に伴奏を付ける操作が完了し、結果は上記と同様です。
¶ Add Vocals 機能
Add Vocals は、伴奏に合わせて歌詞を作成し、歌唱することができます。公式サイトの Create → Songs → Advanced で + Audio → Upload から伴奏をインポートし、音声カードで Edit vocals を選択して、下部の Lyrics に歌唱する歌詞を入力します。API ではアップロード時に返された audio_id を使用します。 Suno Upload API

図ではデモ曲を使って、選択した編集モードの位置を示しています。以下の実測リクエストでは、アップロードした伴奏音声を使用します。
アップロード後、返された data.audio_id を記録します。
{
"success": true,
"task_id": "8137181d-bafb-4cc3-aa9c-5db843d8815b",
"data": {
"audio_id": "48782d61-b915-447f-a042-f744d46fa7d9"
}
}
この例の伴奏の audio_id は 48782d61-b915-447f-a042-f744d46fa7d9 です。続いて、以下のパラメータを入力します。
- action:値は
overpaintingです。 - overpainting_start:アップロードした楽曲にボーカルを追加する開始時間です。デフォルト値は 0 です。
- overpainting_end:アップロードした楽曲にボーカルを追加する終了時間です。楽曲の総再生時間より短くする必要があります。
- audio_id:アップロードした伴奏の ID です。
- custom:歌詞を入力する際に、カスタムモードを明示的に有効にできます。
- lyric:カスタムモードで入力する歌詞です。
- style:伴奏のスタイルです。
対応する Python コードは以下のとおりです。
import os
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"action": "overpainting",
"model": "chirp-v6",
"audio_id": "48782d61-b915-447f-a042-f744d46fa7d9",
"lyric": "Blue boats glide beyond the bay",
"style": "Soft acoustic folk",
"overpainting_end": 20,
"custom": True,
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
実行をクリックすると、以下のような結果が得られます。
{
"success": true,
"task_id": "ba3841ca-651b-4ee7-86ed-f74184c3c66d",
"trace_id": "ca82996b-d3e9-4295-a04f-f242ddc44616",
"data": [
{
"id": "c8751c2c-802b-4a04-b6c1-442999148876",
"title": "Morning on the Porch",
"audio_url": "https://cdn.acedata2.cloud/suno/c8751c2c-802b-4a04-b6c1-442999148876.mp3",
"created_at": "2026-11-30T18:14:21.639Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk",
"duration": 21.96
},
{
"id": "554e555d-c31a-4fb4-ab6f-9434f3863bfc",
"title": "Morning on the Porch",
"audio_url": "https://cdn.acedata2.cloud/suno/554e555d-c31a-4fb4-ab6f-9434f3863bfc.mp3",
"created_at": "2026-11-30T18:14:21.639Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk",
"duration": 19.44
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
ボーカルを追加した後、2 つの結果から必要な楽曲を選択します。
¶ Remaster 機能
Remaster は既存の楽曲をリマスターできます。公式サイトの Edit → Remaster に対応します。ポップアップ内の Variation は variation_category に対応します。API では本アプリケーションで処理可能な元の楽曲 ID を使用します。

- action:値は
remasterです。 - audio_id:再生成する楽曲の ID です。
- model:リクエストではこのフィールドを省略します。
- variation_category:リマスターの強度です。
subtle、normal(デフォルト)、またはhighを指定できます。
対応する Python コードは以下のとおりです。
import os
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"action": "remaster",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"variation_category": "normal",
"async": True,
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
成功した場合は、他の楽曲操作と同様に、data[].id と data[].audio_url からリマスター結果を取得します。以下は、リマスターテストの照会で得られた失敗の最終状態の抜粋です。
{
"success": false,
"task_id": "add2ba31-609e-48ca-9933-5711a88067fe",
"trace_id": "47579d6e-185f-462e-83d2-6c827675e58d",
"error": {
"code": "timeout",
"message": "timeout while waiting for audio generation"
}
}
リマスターがタイムアウトした場合は、元の task_id を使用して照会します。問題を調査する必要がある場合は、trace_id と元の楽曲 ID を保管してください。
¶ Mashup ミックス曲生成機能
Mashup は、2 曲以上の参照楽曲をもとにミックス曲を生成できます。公式サイトの完成楽曲メニューで Remix → Mashup を選択した後、音声カードで 2 曲を選択できます。

- action:値は
mashupです。 - mashup_audio_ids:2 曲以上の参照楽曲の ID です。
- prompt:任意で、ミックス曲の方向性を指示するために使用します。
対応する Python コードは以下のとおりです。
import os
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"action": "mashup",
"model": "chirp-v6",
"mashup_audio_ids": ["3f8c1800-7a96-4a2b-811f-5fee716a9e32", "ebafbeeb-9bdb-4b28-9c03-6a09734ba6df"],
"prompt": "Gentle acoustic folk",
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
実行をクリックすると、以下のような結果が得られます。
{
"success": true,
"task_id": "5e229f57-5912-47fd-b7db-7a7b778de356",
"trace_id": "0c86539d-5931-46fb-a19f-a57ee5e20cc4",
"data": [
{
"id": "242ce421-8e5d-45c8-83d4-98fb7264a90a",
"title": "Open Window Cello",
"lyric": "[Instrumental]",
"audio_url": "https://cdn.acedata2.cloud/suno/242ce421-8e5d-45c8-83d4-98fb7264a90a.mp3",
"created_at": "2026-11-30T18:05:02.391Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "Gentle acoustic folk",
"style": "Acoustic folk with a gentle 6/8 sway and fingerpicked guitar leading the pulse; verse feels sparse and intimate, pre-chorus opens with soft brushed percussion and warm low strings, chorus blooms into layered acoustic strums and a fragile hummed melody. Airy room vocals, light harmony doubles, reverse guitar swells, creaking chair detail, intimate close-mic mix with natural wood warmth., folk, gentle, acoustic",
"duration": 187.96
},
{
"id": "12fcfa48-fd9c-4b05-92e7-efef411b4804",
"title": "Open Window Cello",
"lyric": "[Instrumental]",
"audio_url": "https://cdn.acedata2.cloud/suno/12fcfa48-fd9c-4b05-92e7-efef411b4804.mp3",
"created_at": "2026-11-30T18:05:02.391Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "Gentle acoustic folk",
"style": "Acoustic folk with a gentle 6/8 sway and fingerpicked guitar leading the pulse; verse feels sparse and intimate, pre-chorus opens with soft brushed percussion and warm low strings, chorus blooms into layered acoustic strums and a fragile hummed melody. Airy room vocals, light harmony doubles, reverse guitar swells, creaking chair detail, intimate close-mic mix with natural wood warmth., folk, gentle, acoustic",
"duration": 198.76
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
これで参考曲のリミックス生成操作は完了です。結果は上記と同様です。
¶ Samples サンプリングによる楽曲生成
ここでの samples は、1つの音声の区間をサンプリングする機能です。既存の音声から開始時間と終了時間を選び、その区間をサンプリング素材として創作に使用します。これは、後述の1~4本の完全な参考音声を使用するInspoインスピレーション創作機能とは異なります。以下のパラメータを指定する必要があります。
- action:内容は
samples。 - samples_start:サンプリング開始時間(秒)。デフォルトは0で、0未満にはできません。
- samples_end:サンプリング終了時間(秒)。必須で、開始時間より大きくなければなりません。
- audio_id:サンプリングする参考曲のID。
公式サイトの Remix → Sample this song に対応します。波形の下にある Selection の開始時間と終了時間が、それぞれ samples_start と samples_end に対応します。現在の曲の実際の長さに基づいてサンプリング範囲を決めてください。

以下のAPI実測では、選択範囲は1秒から7秒です。対応するPythonコードは以下のとおりです。
import os
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"action": "samples",
"model": "chirp-v6",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"samples_start": 1.0,
"samples_end": 7.0,
"prompt": "Sunlit folk and gentle hand percussion",
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
実行をクリックすると、以下のような結果が得られます。
{
"success": true,
"task_id": "4bb808f2-c6ea-4739-8ea0-e57427e600fe",
"trace_id": "7969e486-fd68-44e9-a605-2eeb9355caf8",
"data": [
{
"id": "c0858070-d39a-4fd8-8722-61e816cdccc2",
"title": "Cedar Morning",
"lyric": "[Instrumental]",
"audio_url": "https://cdn.acedata2.cloud/suno/c0858070-d39a-4fd8-8722-61e816cdccc2.mp3",
"created_at": "2026-11-30T18:05:01.689Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "Sunlit folk and gentle hand percussion",
"style": "Folk with a sunlit 92 BPM sway, brushed acoustic guitar carrying the verse, soft hand percussion and upright bass joining on the lift; chorus opens with harmony guitar strums, airy mandolin filigree, and a warm shaker pulse. Bridge strips to fingerpicked guitar and thumb taps, then final pass blooms with tambourine and subtle group hums. Bright, intimate, wood-grain mix., folk, gentle",
"duration": 152.8
},
{
"id": "7618fbbe-caf7-4754-bd3f-170022069174",
"title": "Cedar Morning",
"lyric": "[Instrumental]",
"audio_url": "https://cdn.acedata2.cloud/suno/7618fbbe-caf7-4754-bd3f-170022069174.mp3",
"created_at": "2026-11-30T18:05:01.689Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "Sunlit folk and gentle hand percussion",
"style": "Folk with a sunlit 92 BPM sway, brushed acoustic guitar carrying the verse, soft hand percussion and upright bass joining on the lift; chorus opens with harmony guitar strums, airy mandolin filigree, and a warm shaker pulse. Bridge strips to fingerpicked guitar and thumb taps, then final pass blooms with tambourine and subtle group hums. Bright, intimate, wood-grain mix., folk, gentle",
"duration": 168
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
これでサンプリングによる楽曲生成操作は完了です。結果は上記と同様です。
¶ Inspo インスピレーション創作機能
Inspoインスピレーション創作機能は、1~4本の完全な参考音声に基づいて新しい音楽を生成でき、インスピレーションの源として音声をドラッグ&ドロップまたはアップロードできます。APIは既存の inspo actionを使用します。クライアントが公開アクセス可能な音声URLを指定すると、サービスが参考音声の準備と創作を自動的に行うため、クライアントが歌詞、スタイル、長さをそれぞれ取得してリクエストを組み立てる必要はありません。これは、上記の区間サンプリングとも、原曲のスタイルを再現するCoverとも異なります。使用時には以下のパラメータを指定する必要があります。
- action:内容は
inspo。 - audio_urls:参照音声の URL リスト。公開アクセス可能な音声アドレスを 1~4 個指定する必要があります。
- model:使用するモデル。
chirp-v6を推奨します。 - prompt:歌詞または創作プロンプト(任意)。
- instrumental:
trueに設定すると、インストゥルメンタルとして生成し、歌詞は使用しません。 - persona_id:この組み合わせをサポートするサービスチャネルで、指定した声を使用します。参照音声は準備段階で、その声に必要なリソース環境にバインドされます。
- lyric_prompt:
custom=trueかつlyricが指定されていない場合に、歌詞の自動生成に使用します。
説明:参照音声は公開アクセス可能な音声ファイルである必要があります。参照音声がプラットフォームの楽曲ライブラリ内の既知の録音と完全に一致する場合、Suno は著作権チェックにより生成を拒否する可能性があります。インスピレーションの源として、自分で所有する音声または Suno で生成した音声の使用を推奨します。
公式サイトでは、楽曲メニューの Remix → Use as inspiration から音声カードの Inspo モードに入ることができます。他のトラックをカードの下にドラッグして、全体の参照として使用することもできます。

対応する Python コード:
import os
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"action": "inspo",
"model": "chirp-v6",
"audio_urls": ["https://cdn.acedata2.cloud/suno/3f8c1800-7a96-4a2b-811f-5fee716a9e32.mp3", "https://cdn.acedata2.cloud/suno/e4218e38-3e6f-4e47-93d8-bb15bedcafbd.mp3"],
"prompt": "Rework these references as warm acoustic folk with soft vocals",
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
以下は、V6 のインスピレーション創作を実際に試した際の最終状態の抜粋です。
{
"success": true,
"task_id": "a6fd0b9c-811a-4b67-af38-37c7de46849e",
"trace_id": "f3cc2e70-ca82-45a6-af06-6c14340cdef6",
"data": [
{
"id": "386bfdc1-5606-45fa-8077-6cba30355382",
"title": "Come Home by the Water",
"lyric": "[Verse 1]\nWindow lights across the bay\nGuide the boats that drift away\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/386bfdc1-5606-45fa-8077-6cba30355382.mp3",
"created_at": "2026-11-30T18:06:25.242Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "Rework these references as warm acoustic folk with soft vocals",
"style": "Warm acoustic folk, intimate fingerpicked steel-string guitar, soft brushed percussion, mellow upright bass, subtle close harmony, gentle female lead vocal, calm unhurried pulse, organic room ambience, restrained dynamics with a fuller final refrain, natural close-miked mix",
"duration": 264.8
},
{
"id": "0ab926b9-ca32-41a6-83fc-e7fffdf8607c",
"title": "Fold the Stars into the Sea",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/0ab926b9-ca32-41a6-83fc-e7fffdf8607c.mp3",
"created_at": "2026-11-30T18:06:25.242Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "Rework these references as warm acoustic folk with soft vocals",
"style": "Warm acoustic folk, intimate soft female lead vocal, fingerpicked steel-string guitar and mellow strummed acoustic guitar, subtle upright bass, restrained brushed percussion, close natural vocal with light room ambience. Begin with sparse guitar and voice, gradually add bass and soft percussion, open into a tender chorus, then settle into a quiet guitar-led outro; organic, warm, uncluttered mix.",
"duration": 208.4
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
これでインスピレーション創作の操作は完了です。返される結果は通常の楽曲生成と同じです。
¶ 非同期コールバック
Suno による音楽生成には比較的長い時間がかかり、およそ 1~2 分必要です。API が長時間応答しない場合、HTTP リクエストは接続を維持し続け、システムリソースが余分に消費されるため、この API では非同期コールバックもサポートしています。
全体の流れは次のとおりです。クライアントがリクエストを送信する際に、追加で callback_url フィールドを指定します。クライアントが API リクエストを送信すると、API はすぐに結果を返します。その結果には、現在のタスク ID を表す task_id フィールドが含まれます。タスクが完了すると、生成された音楽の結果が POST JSON 形式でクライアントの指定した callback_url に送信されます。そこにも task_id フィールドが含まれるため、タスクの結果を ID で関連付けることができます。
以下では、例を通して具体的な操作方法を見ていきます。
POST JSON を受信できる Webhook アドレスを用意し、callback_url に渡します。callback_url のみを設定すると非同期で送信されますが、同時に async: true を設定することもできます。
curl -sS -X POST 'https://api.acedata.cloud/suno/audios' \
-H "Authorization: Bearer $API_KEY" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"action": "generate",
"model": "chirp-v6",
"prompt": "A song for Christmas",
"callback_url": "https://example.com/webhooks/suno"
}'
クリックして実行すると、以下のような結果がすぐに返されます。
{
"task_id": "c409f30d-4b2f-4ad9-8ae7-f394e367713d"
}
タスクが完了すると、サーバーは設定されたコールバックアドレスに最終状態の JSON を送信します。以下では、本ガイドで実際に試した楽曲の結果を使用して、最終状態の構造を示します。
{
"success": true,
"task_id": "c409f30d-4b2f-4ad9-8ae7-f394e367713d",
"trace_id": "f9ff7920-2b74-4c69-867b-183cd41166fa",
"data": [
{
"id": "15b56d7a-1ad1-4dc6-bc74-79b102caceeb",
"title": "Room for One More Chair",
"lyric": "[Verse 1]\nThe kettle sings, the window steams\nA paper chain hangs slightly crooked\nYou set the old tin on the shelf\nAnd laugh at how the years have kept it",
"audio_url": "https://cdn.acedata2.cloud/suno/15b56d7a-1ad1-4dc6-bc74-79b102caceeb.mp3",
"created_at": "2026-12-01T09:02:22.466Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "A song for Christmas",
"style": "Cinematic Christmas pop with film-score scale, a steady four-on-the-floor pulse, driving syncopated percussion, and a repeating cello ostinato. Begin with intimate piano and close, warm lead vocals; build through layered strings, brass swells, and wordless choir accents into a wide, uplifting final chorus. Polished, spacious mix with clear vocal focus and dynamic section lifts.",
"duration": 231.96
},
{
"id": "555bf85a-907c-4573-b6f3-e816c04aabb9",
"title": "Always Room for More",
"lyric": "[Intro]\n[Wordless vocals]\nOh—ah, oh—ah\n[Verse 1]\nSnow gathers softly on the windowpane",
"audio_url": "https://cdn.acedata2.cloud/suno/555bf85a-907c-4573-b6f3-e816c04aabb9.mp3",
"created_at": "2026-12-01T09:02:22.466Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "A song for Christmas",
"style": "Cinematic Christmas pop with marathon-film scale, syncopated rhythmic drive, cello ostinato, four-on-the-floor pulse, and wordless vocal drops. Begin with a restrained cello figure and distant wordless voices; build into a broad, uplifting chorus with layered strings, punchy percussion, and a clear lead vocal. Use a brief countdown-style dropout before the final chorus, then finish with a full, resolved orchestral-pop ending. Polished, spacious mix with strong low-end and crisp rhythmic detail.",
"duration": 231.2
}
]
}
task_id に基づいてタスクを関連付け、重複するコールバックを排除します。コールバックの success が false の場合は、error から失敗の原因を読み取ります。async: true の場合にのみ、Suno Tasks を通じて無料で照会できます。
もちろん、ストリーミング呼び出しによって結果を取得することもできます。リクエストヘッダー内の accept の値を application/x-ndjson に設定するだけです。以下に入力例を示します:
curl -NsS -X POST 'https://api.acedata.cloud/suno/audios' \
-H "Authorization: Bearer $API_KEY" \
-H 'Content-Type: application/json' \
-H 'Accept: application/x-ndjson' \
-d '{
"action": "generate",
"model": "chirp-v6",
"prompt": "A song for Christmas"
}'
待機中に以下の出力が得られます:
{"success":true,"task_id":"c409f30d-4b2f-4ad9-8ae7-f394e367713d","data":[{"id":"15b56d7a-1ad1-4dc6-bc74-79b102caceeb","lyric":"A song for Christmas","created_at":"2026-12-01T09:02:22.466Z","model":"chirp-v6","state":"pending","prompt":"A song for Christmas"},{"id":"555bf85a-907c-4573-b6f3-e816c04aabb9","lyric":"A song for Christmas","created_at":"2026-12-01T09:02:22.466Z","model":"chirp-v6","state":"pending","prompt":"A song for Christmas"}]}
{"success":true,"task_id":"c409f30d-4b2f-4ad9-8ae7-f394e367713d","trace_id":"f9ff7920-2b74-4c69-867b-183cd41166fa","data":[{"id":"15b56d7a-1ad1-4dc6-bc74-79b102caceeb","title":"Room for One More Chair","lyric":"[Verse 1]\nThe kettle sings, the window steams\nA paper chain hangs slightly crooked\nYou set the old tin on the shelf\nAnd laugh at how the years have kept it","audio_url":"https://cdn.acedata2.cloud/suno/15b56d7a-1ad1-4dc6-bc74-79b102caceeb.mp3","created_at":"2026-12-01T09:02:22.466Z","model":"chirp-v6","state":"succeeded","prompt":"A song for Christmas","style":"Cinematic Christmas pop with film-score scale, a steady four-on-the-floor pulse, driving syncopated percussion, and a repeating cello ostinato. Begin with intimate piano and close, warm lead vocals; build through layered strings, brass swells, and wordless choir accents into a wide, uplifting final chorus. Polished, spacious mix with clear vocal focus and dynamic section lifts.","duration":231.96},{"id":"555bf85a-907c-4573-b6f3-e816c04aabb9","title":"Always Room for More","lyric":"[Intro]\n[Wordless vocals]\nOh—ah, oh—ah\n[Verse 1]\nSnow gathers softly on the windowpane","audio_url":"https://cdn.acedata2.cloud/suno/555bf85a-907c-4573-b6f3-e816c04aabb9.mp3","created_at":"2026-12-01T09:02:22.466Z","model":"chirp-v6","state":"succeeded","prompt":"A song for Christmas","style":"Cinematic Christmas pop with marathon-film scale, syncopated rhythmic drive, cello ostinato, four-on-the-floor pulse, and wordless vocal drops. Begin with a restrained cello figure and distant wordless voices; build into a broad, uplifting chorus with layered strings, punchy percussion, and a clear lead vocal. Use a brief countdown-style dropout before the final chorus, then finish with a full, resolved orchestral-pop ending. Polished, spacious mix with strong low-end and crisp rhythmic detail.","duration":231.2}],"cost":{"amount":0.504,"currency":"credit","list_amount":0.56}}
各行は独立した JSON オブジェクトで、同じ task_id を使用します。処理中にも success: true が返される場合があるため、曲の状態と合わせて進行状況を確認してください。ここでは、V6 の実測による最初の進捗と最後の最終状態を示しています。接続が中断された場合は、元のタスク ID を使用して最終状態を照会することを優先してください。
¶ エラー処理
エラーが発生した場合、以下のようなエラーメッセージが返されます:
{
"success": false,
"error": {
"code": "forbidden",
"message": "Song Description contained artist name: eminem"
},
"trace_id": "9bb7c2f4-3b7b-4965-b50a-f663874b1b6f",
"task_id": "9bb3a2a6-c438-436d-a9f3-fa466abc077c"
}
以下は HTTP ステータスコード、error.code、error.message の一覧です:
styleの長さ制限はモデルによって異なります。長さに関するエラーが返された場合は、内容を短くし、レスポンス内の制限に従ってください。 | ステータスコード |error.code|error.message| | --- | --- | --- | | 400 |bad_request|曲のIDが存在しないか、オフラインになっています。| | 400 |bad_request|プロンプトが長すぎます。| | 400 |bad_request|タグが長すぎます。| | 400 |bad_request|アップロードされた音声が既存の作品と一致します。| | 400 |bad_request|instrumental は真偽値である必要があります| | 400 |bad_request|タイトルが長すぎます。| | 400 |bad_request|トピックが長すぎます。| | 400 |bad_request|style は120以下である必要があります| | 400 |bad_request|custom は真偽値である必要があります| | 400 |bad_request|音声を延長する場合、audio_id は必須です| | 400 |bad_request|音声を延長する場合、continue_at は必須です| | 400 |bad_request|continue_at は0より大きい数値である必要があります| | 400 |bad_request|音声を延長し、instrumental が false の場合、lyric は必須です| | 400 |bad_request|音声を生成する場合、prompt は必須です| | 400 |bad_request|カスタム音声を生成する場合、lyric は必須です| | 403 |forbidden|プロンプトの形式が不正である可能性があります| | 403 |forbidden|プロンプトは著作権で保護されている可能性があります| | 403 |forbidden|プロンプトに不適切な内容が含まれていました| | 403 |forbidden|曲の説明がモデレーション対象としてフラグ付けされました| | 403 |forbidden|曲の説明にアーティスト名が含まれていました| | 403 |forbidden|タグにアーティスト名が含まれていました| | 403 |forbidden|歌詞に著作権で保護された内容が含まれていました| | 403 |forbidden|曲の説明にプロデューサータグが含まれていました| | 403 |forbidden|プロンプトがモデレーション対象としてフラグ付けされました| | 429 |too_many_requests|リクエストが多すぎます。後でもう一度お試しください。| | 500 |api_error|曲の説明から歌詞を生成できません| | 500 |api_error|ジョブが不明なエラーで失敗しました| | 500 |api_error|サービスはメンテナンス中のため、生成が一時停止しています| | 500 |api_error|アカウントがオフラインになっていた可能性があります| | 500 |suno_processing_unavailable|音楽処理を利用できません。トレースIDを添えてサポートにお問い合わせください。| | 500 |suno_model_unavailable|選択されたモデルはこの操作に使用できません。トレースIDを添えてサポートにお問い合わせください。| | 500 |suno_processing_failed|音楽処理で音声が返されませんでした。トレースIDを添えてサポートにお問い合わせください。| | 504 |timeout|音声生成の待機中にタイムアウトしました|
明確にまだ受理されていない一時的なレート制限については、プラットフォームが今回のリクエストの時間予算内で待機した後、有限回の再試行を行う場合があります。最終的に 429(too_many_requests)が返された場合は、後でもう一度お試しください。失敗したリクエストには課金されません。
async=true または callback_url を使用する場合、task_id の受信はタスクが作成されたことのみを示し、生成の成功を意味するものではありません。コールバックまたは Suno Tasks API を通じて元のタスクの最終結果を確認してください。重複したタスクの作成を避けるため、最終状態が明確になるまで再送信しないでください。