suno-replace-sectionデフォルトSuno Replace Section API — 接続と支払いの方法
Suno Replace Music Section — 以前のSuno生成結果内の時間範囲を置き換えます。その生成結果のtask idとaudio idが必要です。料金は1リクエストの定額です。
チャネル比較
過去7日間
| チャネル | 価格 |
|---|---|
Pixel suno-replace-sectionデフォルト | $0.033333から per track |
必要な結果を作成
suno-replace-sectionSuno Replace Sectionとは
Suno Replace Music Section — 以前のSuno生成結果内の時間範囲を置き換えます。その生成結果のtask idとaudio idが必要です。料金は1リクエストの定額です。
契約の概要
- 入力
- text
- 出力
- audio
- モード
- 非同期(ジョブ + ポーリング)
- ステータスのポーリング
- 3秒ごと · 最大90秒
強み
- 料金:トラック単位
- 入力:テキスト
- メディア生成に使える1つのAPIキー
用途
- 動画用BGM
- ジングルと広告
- トラックのデモとプロトタイプ
- ポッドキャスト用音楽
APIコントラクト
生成は非同期で実行されます。ジョブを作成し、完了するまでステータスをポーリングします。
- ジョブを作成
- POST /api/media/generate
- ステータスを確認
- GET /api/media/jobs/{jobId}
- 入力
- text
- 出力
- audio
- ポーリング
- 3秒ごと · 最大90秒
- 認証
- Authorization: Bearer sk-pv-…
リクエスト例
Bearerヘッダーにキーを渡します。APIはjobIdステータスをポーリングするために使用します。
curl -sS https://getvibeapi.com/api/media/generate \
-H "Authorization: Bearer $GETVIBE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary '{"model":"suno-replace-section","prompt":"upbeat electronic track","opts":{"source_task_id":"example","infill_start_s":1,"infill_end_s":1}}'JavaScript
const response = await fetch('https://getvibeapi.com/api/media/generate', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.GETVIBE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "suno-replace-section",
"prompt": "upbeat electronic track",
"opts": {
"source_task_id": "example",
"infill_start_s": 1,
"infill_end_s": 1
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);APIリクエストパラメータ
GetVibe API経由でSuno Replace Sectionにリクエストする際のパラメータ。
prompt必須source_task_id必須source_tracksource_audio_idinfill_start_s必須infill_end_s必須full_lyricstagstitlenegativeTags| パラメータ | タイプ | 値 | デフォルト | 価格 |
|---|---|---|---|---|
prompt必須 | text | text description | required | — |
source_task_id必須 | text / number | any value | — | Included in the base price |
source_track | text / number | any value | — | Included in the base price |
source_audio_id | text / number | any value | — | Included in the base price |
infill_start_s必須 | text / number | any value | — | Included in the base price |
infill_end_s必須 | text / number | any value | — | Included in the base price |
full_lyrics | text / number | any value | — | Included in the base price |
tags | text / number | any value | — | Included in the base price |
title | text / number | any value | — | Included in the base price |
negativeTags | text / number | any value | — | Included in the base price |
リクエスト: POST https://getvibeapi.com/api/media/generate。価格はUSDです。
Suno Replace Sectionの価格
Suno Replace Sectionの料金: から $0.033333 per track。価格は現在の為替レートに基づいて動的に計算され、最終的な請求額はAPIレスポンス(priceRub)に表示されます。支払いはUSDで、サブスクリプションはありません。
すべてのパラメータの組み合わせにおけるチャンネルと価格
各チャンネルについて、すべてのパラメータの組み合わせの価格を表示しています。これは正常に生成された場合に請求される正確な金額であり、下にリンクされた機械可読テーブルと同じ数値です。
Pixelsuno-replace-section$0.033333から正確な価格
| 価格 | 価格 |
|---|---|
| Pixel | $0.033333 |
すべての組み合わせ(JSON): /api/media/price-table?model=suno-replace-section
README
Suno Replace Sectionの機械可読な契約には、リクエストスキーマ、操作、制限、ポーリング、レスポンスの例が含まれています。
# Suno Replace Section
公開モデル: suno-replace-section
ジョブを作成: POST /api/media/generate
ステータスを確認: GET /api/media/jobs/{jobId}
## 入力パラメータ
- `prompt` (text): text description; デフォルト: required
- `source_task_id` (text / number): any value; デフォルト: —
- `source_track` (text / number): any value; デフォルト: —
- `source_audio_id` (text / number): any value; デフォルト: —
- `infill_start_s` (text / number): any value; デフォルト: —
- `infill_end_s` (text / number): any value; デフォルト: —
- `full_lyrics` (text / number): any value; デフォルト: —
- `tags` (text / number): any value; デフォルト: —
- `title` (text / number): any value; デフォルト: —
- `negativeTags` (text / number): any value; デフォルト: —
## 公開バリアント
- `suno-replace-section`: PixelSuno Replace Section APIに関するよくある質問
Suno Replace Sectionの料金はいくらですか?
Suno Replace Sectionの料金はから $0.033333 per trackです。料金は現在の為替レートに基づいて動的に計算されます。
OpenAI SDKと互換性がありますか?
はい、APIは完全にOpenAI互換です。base_urlをhttps://getvibeapi.com/v1に変更してキーを設定するだけで、コードの他の部分はそのまま使えます。