Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

ElevenLabs Music

elevenlabs/music

Music is ElevenLabs's AI audio generation model. Produce high-quality music tracks, sound effects, and audio landscapes from natural language prompts.

Taban fiyat
$0.60USD / çalıştırma
Çalıştırma
async
Model türü
audio
Girdi alanları
3
Canlıya alma rotası

Modeli deneyin

Oynatma Alanı

Oynatma alanını aç
Girdi
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. Aralık: 3000 ile 600000 arasında.
ÇıktıÖrnek
  1. Sırada ne yapmak istersiniz?

    Özgününü aç

Örnekler

Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.

  • Girdi
    {
      "prompt": "Mysterious original soundtrack, themes of jungle, rainforest, nature, woodwinds, busy rhythmic tribal percussion."
    }
    Sonucu aç ↗

Model kartı

Teknik özellikler

Fiyatlandırma

Temel fiyat
$0.60 / çalıştırma

Bağlam ve modaliteler

Girdi
Şemada tanımlı
Çıktı
audio

Yetenekler

Sohbet
Desteklenmiyor
Görsel
Desteklenmiyor
Akıl yürütme
Desteklenmiyor
Yapılandırılmış çıktı
Desteklenmiyor
Fonksiyon çağırma
Desteklenmiyor
Ses girdisi
Desteklenmiyor

Erişim

Sağlayıcı
ElevenLabs
Model kimliği
elevenlabs/music
Çalıştırma
async
Temel URL
https://api.sandbase.ai
API
Unified Run API
Uç nokta
/v1/run

API README

ElevenLabs Music

ElevenLabs Music generates songs or instrumentals from a prompt, 3 seconds to 10 minutes long.

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.60 per started minute, with a one-minute minimum. Without music_length_ms the quote assumes 1 minute.

LengthPrice
30s$0.60
60s$0.60
150s$1.80
600s$6.00

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/2, elevenlabs/music/2.5.

Geliştirmeye başlayın

İlk isteğinizi gönderin

Birleşik kimlik doğrulama ve kullanım takibi sunan OpenAI uyumlu uç nokta.

Production API
Unified Run API uç noktası
https://api.sandbase.ai/v1/run
Model ID
elevenlabs/music
# 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",
  "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

Giriş Şeması

3 parametre · 1 zorunlu · 2 isteğe bağlı

ParametreTürZorunluAçıklama
promptstringZorunluThe text prompt describing the music to generate
music_length_msintegerİsteğe bağlıThe length of the song to generate in milliseconds (3000-600000). If not provided, the model will choose a length based on the prompt. · Min: 3000 · Maks: 600000
force_instrumentalbooleanİsteğe bağlıIf true, guarantees that the generated song will be instrumental. · Varsayılan: false
02

Çıkış Şeması

AlanTürAçıklama
idstringÜretim görevinin benzersiz tanımlayıcısı
statusstringGörev durumu: pending, running, completed, failed, timeout
modelstringÜretimde kullanılan model
outputsarrayÇıkış öğelerinin dizisi
outputs[].urlstringOluşturulan çıktının URL'si
outputs[].content_typestringMIME türü (örn. image/png, video/mp4)
errorobject | nullBaşarısız olursa hata ayrıntıları, başarıda null
error.typestringMakine tarafından okunabilir hata türü kodu
error.messagestringİnsan tarafından okunabilir hata açıklaması

Asenkron İş Akışı

Bu model asenkron çalışır. Bir istek gönderin, ardından sonuç için sorgulayın.

  1. Gönder: /v1/run adresine POST yapın ve dönen id alanını okuyun.
  2. Sorgula: durum completed, failed veya timeout olana kadar /v1/run/{id} adresine GET yapın.
  3. Al: tamamlanan yanıttan outputs alanını okuyun.

Modelinizi seçin

Modelleri karşılaştırın

Tüm görsel ve video modelleri
ModelTürVarsayılan fiyatYayınlanma
ElevenLabsSes$0.60 / çalıştırma22 Ara 2025
ElevenLabsSes$0.01 / çalıştırma2 Kas 2026
ElevenLabsSes$0.04 / çalıştırma28 Eyl 2026
ElevenLabsSes$0.08 / çalıştırma28 Eyl 2026
ElevenLabsSes$0.75 / çalıştırma14 Eyl 2026
ElevenLabsSes$0.75 / çalıştırma14 Eyl 2026

Sorular

SSS

ElevenLabs Music'i SandBase üzerinden nasıl çağırırım?

Bir SandBase API anahtarı oluşturun, ardından model kimliği "elevenlabs/music" ile https://api.sandbase.ai adresindeki Unified Run API (/v1/run) uç noktalarına istek gönderin. Bu sayfadaki istek örnekleri tam yükü gösterir.

Ayrı bir ElevenLabs hesabına ihtiyacım var mı?

Hayır. Tek bir SandBase API anahtarı ve bakiyesi size ElevenLabs Music ve katalogdaki diğer modellere erişim sağlar; ElevenLabs için ayrıca kayıt olmanız gerekmez.