Sound Effects V2
elevenlabs/sound-effects-v2Sound Effects V2 by ElevenLabs - generate music, sound effects, and audio from text descriptions with AI. Create original compositions, ambient sounds, and audio content for any creative project.
- Prezzo base
- $0.01USD / esecuzione
- Esecuzione
- async
- Tipo di modello
- audio
- Campi di input
- 4
Prova il modello
Playground
Cosa vuoi fare dopo?
Esempi
Seleziona un esempio per caricare i suoi input e il risultato nel playground.
- Apri risultato ↗
Input
{}
Scheda del modello
Specifiche
Prezzi
- Prezzo base
- $0.01 / esecuzione
Contesto e modalità
- Input
- Definito dallo schema
- Output
- audio
Funzionalità
- Chat
- Non supportato
- Vision
- Non supportato
- Ragionamento
- Non supportato
- Output strutturato
- Non supportato
- Chiamata di funzione
- Non supportato
- Input audio
- Non supportato
Accesso
- Provider
- ElevenLabs
- ID modello
- elevenlabs/sound-effects-v2
- Esecuzione
- async
- URL base
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README API
Sound Effects V2
ElevenLabs Sound Effects v2 creates sound effects and ambiences from a description, 0.5–22 seconds long, optionally loopable.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
text | string | — | Describe the sound. |
prompt_influence | number 0–1 | 0.3 | How strictly to follow the description. |
duration_seconds | number 0.5–22 | 5 | Length in seconds (0.5–22). |
loop | boolean | false | Make the clip loop seamlessly. |
Billing
$0.002 per second of audio.
| Length | Price |
|---|---|
| 2s | $0.004 |
| 5s | $0.01 |
| 22s | $0.044 |
Failed runs are not charged.
Prompting
- Be specific about source, space, and texture: “heavy wooden door creaks open in a stone hall”.
Limits
- Up to 22 seconds.
Inizia a costruire
Invia la tua prima richiesta
Endpoint compatibile con OpenAI con autenticazione unificata e tracciamento dell'utilizzo.
# 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/sound-effects-v2",
"loop": false,
"text": "Spacious braam suitable for high-impact movie trailer moments",
"duration_seconds": 5,
"prompt_influence": 0.3
}
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"Schema di input
4 parametri · 0 obbligatori · 4 facoltativi
| Parametro | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
loop | boolean | Facoltativo | Whether to create a sound effect that loops smoothly. · Predefinito: false |
text | string | Facoltativo | The text describing the sound effect to generate |
duration_seconds | number | Facoltativo | Duration in seconds (0.5-22). If not set, optimal duration will be determined from prompt. · Min: 0.5 · Max: 22 · Predefinito: 5 |
prompt_influence | number | Facoltativo | How closely to follow the prompt (0-1). Higher values mean less variation. · Min: 0 · Max: 1 · Predefinito: 0.3 |
Schema di output
| Campo | Tipo | Descrizione |
|---|---|---|
id | string | Identificatore univoco dell'attività di generazione |
status | string | Stato dell'attività: pending, running, completed, failed, timeout |
model | string | Modello usato per la generazione |
outputs | array | Array di elementi di output |
outputs[].url | string | URL dell'artefatto generato |
outputs[].content_type | string | Tipo MIME (ad esempio image/png, video/mp4) |
error | object | null | Dettagli dell'errore in caso di fallimento, null in caso di successo |
error.type | string | Codice del tipo di errore leggibile dalla macchina |
error.message | string | Descrizione dell'errore leggibile dall'utente |
Workflow asincrono
Questo modello funziona in modo asincrono. Invia una richiesta, quindi esegui il polling per ottenere il risultato.
- Invio: esegui POST su /v1/run e leggi il
idrestituito. - Polling: esegui GET /v1/run/{id} finché lo stato non è
completed,failedotimeout. - Recupero: leggi
outputsdalla risposta completata.
Scegli il tuo modello
Confronta i modelli
| Modello | Tipo | Prezzo predefinito | Rilasciato |
|---|---|---|---|
Sound Effects V2Questo modello ElevenLabs | Audio | $0.01 / esecuzione | 2 set 2025 |
ElevenLabs | Audio | $0.01 / esecuzione | 2 nov 2026 |
ElevenLabs | Audio | $0.04 / esecuzione | 28 set 2026 |
ElevenLabs | Audio | $0.08 / esecuzione | 28 set 2026 |
ElevenLabs | Audio | $0.75 / esecuzione | 14 set 2026 |
ElevenLabs | Audio | $0.75 / esecuzione | 14 set 2026 |
Domande
FAQ
Come chiamo ElevenLabs Sound Effects V2 tramite SandBase?
Crea una chiave API SandBase, poi invia richieste con l'ID modello "elevenlabs/sound-effects-v2" a Unified Run API (/v1/run) su https://api.sandbase.ai. Gli esempi di richiesta in questa pagina mostrano il payload esatto.
Mi serve un account ElevenLabs separato?
No. Una sola chiave API e un solo saldo SandBase ti danno accesso a ElevenLabs Sound Effects V2 e agli altri modelli del catalogo; non è necessario registrarsi separatamente su ElevenLabs.
