Skip to main content
POST
  • テキスト説明またはカスタム歌詞から楽曲を生成(1回につき2候補)
  • 非同期タスク。タスク ID で結果をポーリング
  • custom が prompt の意味を決定:カスタム歌詞 vs インスピレーション説明

Authorizations

string
必須
Bearer Token。API Key:API Key 管理ページ

Body

string
必須
固定値 "suno"
boolean
モード切替。デフォルト false
  • false:インスピレーションモード — gpt_description(または prompt)に楽曲の説明
  • true:カスタム歌詞モード — prompt が歌詞本文、title/style/negative_tags が有効
string
インスピレーションモードの楽曲説明。例:"雨の夜のカフェに合う lo-fi"。カスタムモードでは不要
string
カスタムモードの歌詞本文([Verse]/[Chorus] 構造タグ対応)
string
曲タイトル(カスタムモード)
string
スタイルタグ(カスタムモード)。例:"dreamy synthwave, female vocal"
string
避けたい要素(カスタムモード)
boolean
インストゥルメンタル生成
string
エンジン版:v6 / v6-wild / v6-mini
boolean
Max 品質ティア(2倍料金 $0.10)。custom=true が必要
string
作成済みペルソナ ID。custom_model_id と排他
string
カスタム学習モデル ID。version・persona_id と排他

オプションの調整パラメータ

style_weight、weirdness、audio_weight、vocal_gender、auto_lyrics、variety はすべて省略可(省略時は上流の既定値)。

Response

string
タスク ID(tsk_aud_ プレフィックス)。タスク状態照会 でポーリング
string
submitted / queued / in_progress
完了後 result.music[] に 2 候補が返り、各 audio_url、image_url、title、tags、lyrics、duration を含みます。メディア URL は CDN にミラー済みです。