Suno v6 API リファレンス
歌詞や短い指示から、ボーカル入りのフル楽曲を
PopNow の API キー 1 つで、Suno v6 を自分のコードから呼び出せます。送るモデル ID、受け付ける入力フィールド、1 回あたりの料金(USD)、ターミナルに貼ってそのまま動くリクエストをこのページにまとめました。
パラメーターの説明はモデルの入力 schema から取っているため、英語のみです。
概要
- 開発元
- Suno
- 出力
- 音声
- 最安
- $0.03 USD 1 リクエストあたり
- 目安の所要時間
- 約 45 秒
料金は USD で表示され、PopNow の残高から差し引かれます。受付時に最大料金を確保し、完了後に実際の使用量で精算して差額を返却します。失敗したタスクは課金されません。実行前の正確な見積もりは POST /api/v1/jobs/quote で取得できます。
音楽
suno/v6/text-to-audio
料金
| オプション | USD |
|---|---|
既定 | $0.072 1 リクエストあたり |
パラメーター
| フィールド | 型 | 既定値 | 指定できる値 | 説明 |
|---|---|---|---|---|
prompt必須 | string | — | 3,000 文字まで | Describe the song: genre, mood, tempo, instruments and voice. With lyrics or an instrumental this is the style (up to 1,000 characters); with no lyrics the model writes the words from it. |
lyrics任意 | string | — | 5,000 文字まで | Words to sing, sung in order. Section tags such as [Verse], [Chorus] and [Bridge] shape the song and are not sung. |
generate_lyrics任意 | boolean | true | — | Let the model write the lyrics from the prompt. Only applies when lyrics is empty and instrumental is off. |
instrumental任意 | boolean | false | — | Generate music with no vocals. |
title任意 | string | — | 80 文字まで | Song title (metadata, not sung). Applies with lyrics or an instrumental; otherwise the model names the song. |
negative_prompt任意 | string | — | 500 文字まで | Styles or elements to keep out of the song. |
vocal_gender任意 | string | — | female, male | Make a female or male lead vocal more likely. Applies with lyrics. |
style_weight任意 | number | — | 0〜1 | How closely to follow the style in the prompt, from 0 to 1. |
weirdness任意 | number | — | 0〜1 | How experimental the song may get, from 0 (conventional) to 1 (unusual). |
audio_weight任意 | number | — | 0〜1 | How strongly a persona's audio shapes the result, from 0 to 1. Songs with vocals only. |
variety任意 | integer | — | 0〜4 | How different the two versions are from each other: 0 off, 1 normal (the model default), 2 high, 3 extra, 4 max. |
persona_id任意 | string | — | 200 文字まで | ID of an existing Suno persona to reuse its style or voice. |
persona_model任意 | string | — | style_persona, voice_persona | Whether persona_id is a style persona or a voice persona. |
image_urls任意 | array<string (uri)> | — | 5 件まで | Up to 5 mood images (JPEG, PNG or WebP, 10 MB each). Only when the model writes the lyrics. |
reference_video_urls任意 | array<string (uri)> | — | 1 件まで | One reference video (MP4 or WebM, up to 100 MB and 241 seconds). Only when the model writes the lyrics. |
reference_audio_urls任意 | array<string (uri)> | — | 1 件まで | One reference audio clip (MP3 or WAV, 6 seconds to 30 minutes). Only when the model writes the lyrics. |
リクエスト例
このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask?wait=60" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "suno/v6/text-to-audio",
"input": {
"prompt": "An upbeat indie pop song about a summer road trip, bright guitars, hand claps and a catchy whistled hook"
}
}'レスポンスにはすぐに taskId が入ります。結果は GET /api/v1/jobs/recordInfo で取得するか、callBackUrl を付けて通知を受け取ります。
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"ソングスタジオ
suno/v6/audio-cover
料金
| オプション | USD |
|---|---|
既定 | $0.072 1 リクエストあたり |
パラメーター
| フィールド | 型 | 既定値 | 指定できる値 | 説明 |
|---|---|---|---|---|
audio_url必須 | string | — | — | The song to work on: MP3 or WAV, up to 8 minutes. Use a recording you have the rights to. |
prompt必須 | string | — | 1,000 文字まで | The new style: genre, mood, instruments and voice, up to 1,000 characters. The melody comes from audio_url. |
lyrics任意 | string | — | 5,000 文字まで | Words for the cover, usually the original lyrics; edit lines to change what is sung. Section tags are not sung. |
audio_weight任意 | number | — | 0〜1 | How much the source recording weighs against the new style, from 0 to 1. A fine adjustment: the melody stays recognizable at every setting. |
instrumental任意 | boolean | false | — | Make an instrumental cover with no vocals. |
title任意 | string | — | 80 文字まで | Title for the cover (metadata, not sung). |
duration_seconds任意 | integer | — | 10〜360 | Target length in seconds (10–360). Suno treats it as a guide, not an exact length. |
negative_prompt任意 | string | — | 500 文字まで | Styles or elements to keep out of the result. |
vocal_gender任意 | string | — | female, male | Make a female or male lead vocal more likely. |
style_weight任意 | number | — | 0〜1 | How closely to follow the style in prompt, from 0 to 1. |
weirdness任意 | number | — | 0〜1 | How experimental the result may get, from 0 (conventional) to 1 (unusual). |
variety任意 | integer | — | 0〜4 | How different the two versions are from each other: 0 off, 1 normal (the default), 2 high, 3 extra, 4 max. |
persona_id任意 | string | — | 200 文字まで | ID of an existing Suno persona to reuse its style or voice. |
persona_model任意 | string | — | style_persona, voice_persona | Whether persona_id is a style persona or a voice persona. |
リクエスト例
このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。
例の audio_url には PopNow のサンプル素材を使っています。自分の公開 HTTPS リンク、アップロードしたファイル、保存済みアセットに置き換えてください。
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "suno/v6/audio-cover",
"input": {
"prompt": "Relaxed acoustic bossa nova, soft lead vocal, nylon-string guitar, upright bass and brushes",
"audio_url": "https://media.popnow.ai/audio/songs/sunday-pancakes-d2fd31c5.mp3"
}
}'レスポンスにはすぐに taskId が入ります。結果は GET /api/v1/jobs/recordInfo で取得するか、callBackUrl を付けて通知を受け取ります。
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"ソングスタジオ
suno/v6/audio-extend
料金
| オプション | USD |
|---|---|
既定 | $0.072 1 リクエストあたり |
パラメーター
| フィールド | 型 | 既定値 | 指定できる値 | 説明 |
|---|---|---|---|---|
audio_url必須 | string | — | — | The song to work on: MP3 or WAV, up to 8 minutes. Use a recording you have the rights to. |
extend_at_seconds必須 | number | — | 0 以上 | Where the new part starts, in seconds from the beginning of the song. Everything after this point is replaced; it must be earlier than the end of the song. |
prompt任意 | string | — | 1,000 文字まで | Style for the new part, up to 1,000 characters; repeat the song's own style to keep it consistent. |
lyrics任意 | string | — | 5,000 文字まで | Words for the new part. Section tags such as [Verse] and [Chorus] are not sung. |
instrumental任意 | boolean | false | — | Make the new part instrumental, with no vocals. |
title任意 | string | — | 100 文字まで | Title for the extended song (metadata, not sung). |
negative_prompt任意 | string | — | 500 文字まで | Styles or elements to keep out of the result. |
vocal_gender任意 | string | — | female, male | Make a female or male lead vocal more likely. |
style_weight任意 | number | — | 0〜1 | How closely to follow the style in prompt, from 0 to 1. |
weirdness任意 | number | — | 0〜1 | How experimental the result may get, from 0 (conventional) to 1 (unusual). |
audio_weight任意 | number | — | 0〜1 | How much the source recording weighs against the style in prompt, from 0 to 1. |
variety任意 | integer | — | 0〜4 | How different the two versions are from each other: 0 off, 1 normal (the default), 2 high, 3 extra, 4 max. |
persona_id任意 | string | — | 200 文字まで | ID of an existing Suno persona to reuse its style or voice. |
persona_model任意 | string | — | style_persona, voice_persona | Whether persona_id is a style persona or a voice persona. |
リクエスト例
このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。
例の audio_url には PopNow のサンプル素材を使っています。自分の公開 HTTPS リンク、アップロードしたファイル、保存済みアセットに置き換えてください。
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "suno/v6/audio-extend",
"input": {
"prompt": "Upbeat indie pop, 112 BPM, bright female vocal, ukulele, handclaps, warm bass, sunny and playful",
"audio_url": "https://media.popnow.ai/audio/songs/sunday-pancakes-d2fd31c5.mp3",
"extend_at_seconds": 55
}
}'レスポンスにはすぐに taskId が入ります。結果は GET /api/v1/jobs/recordInfo で取得するか、callBackUrl を付けて通知を受け取ります。
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"ソングスタジオ
suno/v6/audio-inpaint
料金
| オプション | USD |
|---|---|
既定 | $0.03 1 リクエストあたり |
パラメーター
| フィールド | 型 | 既定値 | 指定できる値 | 説明 |
|---|---|---|---|---|
audio_url必須 | string | — | — | The song to work on: MP3 or WAV, up to 8 minutes. Use a recording you have the rights to. |
start_seconds必須 | number | — | 0 以上 | Start of the section to replace, in seconds. |
end_seconds必須 | number | — | 0 以上 | End of the section to replace, in seconds: at least 10 seconds after start_seconds, and the section may cover at most half the song. |
lyrics必須 | string | — | 5,000 文字まで | Words the replaced section should sing. |
full_lyrics必須 | string | — | 5,000 文字まで | The whole song's lyrics after the change: the new section in place, the other sections as they were. |
prompt必須 | string | — | 1,000 文字まで | The song's style: genre, mood, instruments and voice. Repeat the original style so the section blends in. |
title任意 | string | Untitled | 100 文字まで | Title for the edited song (metadata, not sung). |
negative_prompt任意 | string | — | 500 文字まで | Styles or elements to keep out of the result. |
vocal_gender任意 | string | — | female, male | Make a female or male lead vocal more likely. |
style_weight任意 | number | — | 0〜1 | How closely to follow the style in prompt, from 0 to 1. |
weirdness任意 | number | — | 0〜1 | How experimental the result may get, from 0 (conventional) to 1 (unusual). |
audio_weight任意 | number | — | 0〜1 | How much the source recording weighs against the style in prompt, from 0 to 1. |
variety任意 | integer | — | 0〜4 | How different the two versions are from each other: 0 off, 1 normal (the default), 2 high, 3 extra, 4 max. |
persona_id任意 | string | — | 200 文字まで | ID of an existing Suno persona to reuse its style or voice. |
persona_model任意 | string | — | style_persona, voice_persona | Whether persona_id is a style persona or a voice persona. |
リクエスト例
このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。
例の audio_url には PopNow のサンプル素材を使っています。自分の公開 HTTPS リンク、アップロードしたファイル、保存済みアセットに置き換えてください。
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "suno/v6/audio-inpaint",
"input": {
"prompt": "Upbeat indie pop, 112 BPM, bright female vocal, ukulele, handclaps, warm bass, sunny and playful",
"audio_url": "https://media.popnow.ai/audio/songs/sunday-pancakes-d2fd31c5.mp3",
"start_seconds": 7,
"end_seconds": 20,
"lyrics": "Golden sunlight through the glass\nWe let all the morning pass\nMaple rivers overflow\nTake another moment slow",
"full_lyrics": "[Verse]\nGolden sunlight through the glass\nWe let all the morning pass\nMaple rivers overflow\nTake another moment slow\n\n[Pre-Chorus]\nTurn the radio up loud\nLet the morning drift around\n\n[Chorus]\nSunday pancakes, nowhere to be\nSyrup and laughter, you and me\nFlip it higher, catch it slow\nThis is the only plan we know\n\n[Bridge]\nNo alarms and no rush\nJust the sizzle and the hush\n\n[Chorus]\nSunday pancakes, nowhere to be\nSyrup and laughter, you and me\nFlip it higher, catch it slow\nThis is the only plan we know"
}
}'レスポンスにはすぐに taskId が入ります。結果は GET /api/v1/jobs/recordInfo で取得するか、callBackUrl を付けて通知を受け取ります。
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"ステム分離
suno/v6/audio-separation
料金
| オプション | USD |
|---|---|
stem_name = accordion | $0.12 1 リクエストあたり |
stem_name = acoustic_guitar | $0.12 1 リクエストあたり |
stem_name = arpeggiator | $0.12 1 リクエストあたり |
stem_name = backing_vocals | $0.12 1 リクエストあたり |
stem_name = banjo | $0.12 1 リクエストあたり |
stem_name = bass | $0.12 1 リクエストあたり |
stem_name = bells | $0.12 1 リクエストあたり |
stem_name = brass_section | $0.12 1 リクエストあたり |
stem_name = cello | $0.12 1 リクエストあたり |
stem_name = choir | $0.12 1 リクエストあたり |
stem_name = clarinet | $0.12 1 リクエストあたり |
stem_name = cymbals | $0.12 1 リクエストあたり |
stem_name = digital_piano | $0.12 1 リクエストあたり |
stem_name = distorted_electric_guitar | $0.12 1 リクエストあたり |
stem_name = drum_kit | $0.12 1 リクエストあたり |
stem_name = electric_bass | $0.12 1 リクエストあたり |
stem_name = electric_guitar | $0.12 1 リクエストあたり |
stem_name = electric_piano | $0.12 1 リクエストあたり |
stem_name = electronic_drum_kit | $0.12 1 リクエストあたり |
stem_name = fiddle | $0.12 1 リクエストあたり |
stem_name = flute | $0.12 1 リクエストあたり |
stem_name = french_horn | $0.12 1 リクエストあたり |
stem_name = glockenspiel | $0.12 1 リクエストあたり |
stem_name = guitar | $0.12 1 リクエストあたり |
stem_name = hand_clap | $0.12 1 リクエストあたり |
stem_name = harmonica | $0.12 1 リクエストあたり |
stem_name = harp | $0.12 1 リクエストあたり |
stem_name = horns | $0.12 1 リクエストあたり |
stem_name = keyboards | $0.12 1 リクエストあたり |
stem_name = kick | $0.12 1 リクエストあたり |
stem_name = lap_steel_guitar | $0.12 1 リクエストあたり |
stem_name = lead_electric_guitar | $0.12 1 リクエストあたり |
stem_name = lead_vocal | $0.12 1 リクエストあたり |
stem_name = mandolin | $0.12 1 リクエストあたり |
stem_name = marimba | $0.12 1 リクエストあたり |
stem_name = orchestra | $0.12 1 リクエストあたり |
stem_name = organ | $0.12 1 リクエストあたり |
stem_name = pedal_steel_guitar | $0.12 1 リクエストあたり |
stem_name = percussion | $0.12 1 リクエストあたり |
stem_name = piano | $0.12 1 リクエストあたり |
stem_name = rhythm_acoustic_guitar | $0.12 1 リクエストあたり |
stem_name = rhythm_electric_guitar | $0.12 1 リクエストあたり |
stem_name = risers | $0.12 1 リクエストあたり |
stem_name = saxophone | $0.12 1 リクエストあたり |
stem_name = shaker | $0.12 1 リクエストあたり |
stem_name = snare | $0.12 1 リクエストあたり |
stem_name = sound_effects | $0.12 1 リクエストあたり |
stem_name = string_section | $0.12 1 リクエストあたり |
stem_name = synth | $0.12 1 リクエストあたり |
stem_name = synth_bass | $0.12 1 リクエストあたり |
stem_name = synth_brass | $0.12 1 リクエストあたり |
stem_name = synth_keys | $0.12 1 リクエストあたり |
stem_name = synth_lead | $0.12 1 リクエストあたり |
stem_name = synth_pad | $0.12 1 リクエストあたり |
stem_name = synth_strings | $0.12 1 リクエストあたり |
stem_name = synth_voice | $0.12 1 リクエストあたり |
stem_name = tambourine | $0.12 1 リクエストあたり |
stem_name = tenor_saxophone | $0.12 1 リクエストあたり |
stem_name = timpani | $0.12 1 リクエストあたり |
stem_name = trombone | $0.12 1 リクエストあたり |
stem_name = trumpet | $0.12 1 リクエストあたり |
stem_name = upright_bass | $0.12 1 リクエストあたり |
stem_name = vibraphone | $0.12 1 リクエストあたり |
stem_name = violin | $0.12 1 リクエストあたり |
stem_name = woodwinds | $0.12 1 リクエストあたり |
separation_mode = all_stems | $0.3 1 リクエストあたり |
パラメーター
| フィールド | 型 | 既定値 | 指定できる値 | 説明 |
|---|---|---|---|---|
audio_url必須 | string | — | — | The mixed song to separate: MP3 or WAV, up to 20 MB. Any song works, not only songs made with Suno. |
separation_mode任意 | string | — | two_stems, all_stems | two_stems: vocals and background. all_stems: twelve instrument tracks, silent where an instrument is absent. Leave it out when you send stem_name. |
stem_name任意 | string | — | accordion, acoustic_guitar, arpeggiator, backing_vocals, banjo, bass, bells, brass_section, cello, choir, clarinet, cymbals, digital_piano, distorted_electric_guitar, … (+51) | Pull out one part instead: the result is that part plus everything else. Send it without separation_mode. |
リクエスト例
このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。
例の audio_url には PopNow のサンプル素材を使っています。自分の公開 HTTPS リンク、アップロードしたファイル、保存済みアセットに置き換えてください。
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "suno/v6/audio-separation",
"input": {
"audio_url": "https://media.popnow.ai/audio/songs/sunday-pancakes-d2fd31c5.mp3"
}
}'レスポンスにはすぐに taskId が入ります。結果は GET /api/v1/jobs/recordInfo で取得するか、callBackUrl を付けて通知を受け取ります。
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
