Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

ElevenLabs Music v2

elevenlabs/music/2

ElevenLabs Music v2 generates studio-quality songs and instrumentals with vocals from a text prompt, up to 10 minutes long.

基本料金
$0.75USD / 実行
実行
async
モデルタイプ
audio
入力フィールド
3
本番ルート

モデルを試す

プレイグラウンド

Playground を開く
入力
The text prompt describing the music to generate
If true, guarantees that the generated song will be instrumental.
3000600000
The length of the song to generate in milliseconds (3000-600000). If not provided, the model will choose a length based on the prompt. 範囲: 3000 から 600000 まで。
出力例
  1. 次に何をしますか?

    元のファイルを開く

例

例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。

  • 入力
    {
      "prompt": "Mysterious original soundtrack, themes of jungle, rainforest, nature, woodwinds, busy rhythmic tribal percussion."
    }
    結果を開く ↗

モデルカード

仕様

料金

基本価格
$0.75 / 実行

コンテキストとモダリティ

入力
スキーマ定義済み
出力
audio

機能

チャット
非対応
ビジョン
非対応
推論
非対応
構造化出力
非対応
関数呼び出し
非対応
音声入力
非対応

アクセス

提供元
ElevenLabs
モデル ID
elevenlabs/music/2
実行
async
ベース URL
https://api.sandbase.ai
API
Unified Run API
エンドポイント
/v1/run

API README

ElevenLabs Music v2

ElevenLabs Music v2: studio-quality songs and instrumentals with vocals, up to 10 minutes.

Fields

FieldTypeDefaultNotes
promptstring, required—Genre, mood, instruments, vocals, and lyrics.
force_instrumentalbooleanfalseGenerate without vocals.
music_length_msinteger 3000–600000—Length in milliseconds (3,000–600,000).

Billing

$0.75 per started minute, with a one-minute minimum. Without music_length_ms the quote assumes 1 minute.

LengthPrice
30s$0.75
60s$0.75
150s$2.25
600s$7.50

Failed runs are not charged.

Prompting

  • Describe structure and vocals; put lyrics in the prompt if you need exact words.

Limits

  • Up to 10 minutes.

Also on SandBase

Other ElevenLabs Music versions: elevenlabs/music, elevenlabs/music/2.5.

開発を始める

最初のリクエストを送信

統一認証と使用状況の追跡を備えたOpenAI互換エンドポイントです。

本番API
Unified Run APIエンドポイント
https://api.sandbase.ai/v1/run
モデルID
elevenlabs/music/2
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "elevenlabs/music/2",
  "prompt": "Mysterious original soundtrack, themes of jungle, rainforest, nature, woodwinds, busy rhythmic tribal percussion.",
  "force_instrumental": false
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
  status=$(printf '%s' "$result" | jq -r .status)
  case "$status" in completed|failed|timeout) break ;; esac
  sleep 2
  result=$(curl --fail-with-body --silent \
    -H "Authorization: Bearer $SANDBASE_API_KEY" \
    "https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"
01

入力スキーマ

3件のパラメータ · 必須 1件 · 任意 2件

パラメータ型必須説明
promptstring必須The text prompt describing the music to generate
music_length_msinteger任意The length of the song to generate in milliseconds (3000-600000). If not provided, the model will choose a length based on the prompt. · 最小: 3000 · 最大: 600000
force_instrumentalboolean任意If true, guarantees that the generated song will be instrumental. · デフォルト: false
02

出力スキーマ

フィールド型説明
idstring生成タスクの一意な識別子
statusstringタスクのステータス: pending, running, completed, failed, timeout
modelstring生成に使用されたモデル
outputsarray出力項目の配列
outputs[].urlstring生成された成果物のURL
outputs[].content_typestringMIMEタイプ(例: image/png, video/mp4)
errorobject | null失敗時のエラー詳細。成功時は null
error.typestring機械可読なエラー種別コード
error.messagestring人間が読めるエラー説明

非同期ワークフロー

このモデルは非同期で実行されます。リクエストを送信し、その後結果をポーリングしてください。

  1. 送信:/v1/run に POST し、返された id を読み取ります。
  2. ポーリング:ステータスが completed、failed、または timeout になるまで /v1/run/{id} に GET します。
  3. 取得:完了レスポンスから outputs を読み取ります。

モデルを選ぶ

モデルを比較

すべての画像・動画モデル
モデル種類通常価格公開日
ElevenLabs Music v2このモデル
ElevenLabs
音声$0.75 / 回2026年9月14日
ElevenLabs音声$0.01 / 回2026年11月2日
ElevenLabs音声$0.04 / 回2026年9月28日
ElevenLabs音声$0.08 / 回2026年9月28日
ElevenLabs音声$0.75 / 回2026年9月14日
ElevenLabs音声$0.30 / 回2026年9月8日

質問

FAQ

SandBase 経由で ElevenLabs Music v2 を呼び出すにはどうすればよいですか?

SandBase API key を作成し、モデル ID「elevenlabs/music/2」を使用して https://api.sandbase.ai の Unified Run API (/v1/run) にリクエストを送信してください。このページのリクエスト例に、正確なペイロードが示されています。

別途 ElevenLabs アカウントは必要ですか?

いいえ。SandBase の API key と残高が 1つあれば、ElevenLabs Music v2 とカタログ内の他のモデルを利用できます。ElevenLabs に別途登録する必要はありません。