Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Sound Effects V2

elevenlabs/sound-effects-v2

Sound 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.

Prix de base
$0.01USD / exécution
Exécution
async
Type de modèle
audio
Champs d'entrée
4
Route de production

Essayer le modèle

Bac à sable

Ouvrir le Playground
Entrée
The text describing the sound effect to generate
01
How closely to follow the prompt (0-1). Higher values mean less variation. Plage : de 0 à 1.
0.522
Duration in seconds (0.5-22). If not set, optimal duration will be determined from prompt. Plage : de 0.5 à 22.
Whether to create a sound effect that loops smoothly.
SortieExemple
  1. Que souhaitez-vous faire ensuite ?

    Ouvrir l’original

Exemples

Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.

Fiche modèle

Spécifications

Tarification

Prix de base
$0.01 / exécution

Contexte et modalités

Entrée
Défini par le schéma
Sortie
audio

Fonctionnalités

Chat
Non pris en charge
Vision
Non pris en charge
Raisonnement
Non pris en charge
Sortie structurée
Non pris en charge
Appel de fonction
Non pris en charge
Entrée audio
Non pris en charge

Accès

Fournisseur
ElevenLabs
ID du modèle
elevenlabs/sound-effects-v2
Exécution
async
URL de base
https://api.sandbase.ai
API
Unified Run API
Point de terminaison
/v1/run

README de l'API

Sound Effects V2

ElevenLabs Sound Effects v2 creates sound effects and ambiences from a description, 0.5–22 seconds long, optionally loopable.

Fields

FieldTypeDefaultNotes
textstring—Describe the sound.
prompt_influencenumber 0–10.3How strictly to follow the description.
duration_secondsnumber 0.5–225Length in seconds (0.5–22).
loopbooleanfalseMake the clip loop seamlessly.

Billing

$0.002 per second of audio.

LengthPrice
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.

Commencer à construire

Envoyez votre première requête

Point de terminaison compatible OpenAI avec authentification unifiée et suivi de l'utilisation.

API de production
point de terminaison Unified Run API
https://api.sandbase.ai/v1/run
ID du modèle
elevenlabs/sound-effects-v2
# 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"
01

Schéma d'entrée

4 paramètres · 0 obligatoires · 4 facultatifs

ParamètreTypeObligatoireDescription
loopbooleanFacultatifWhether to create a sound effect that loops smoothly. · Par défaut : false
textstringFacultatifThe text describing the sound effect to generate
duration_secondsnumberFacultatifDuration in seconds (0.5-22). If not set, optimal duration will be determined from prompt. · Min : 0.5 · Max : 22 · Par défaut : 5
prompt_influencenumberFacultatifHow closely to follow the prompt (0-1). Higher values mean less variation. · Min : 0 · Max : 1 · Par défaut : 0.3
02

Schéma de sortie

ChampTypeDescription
idstringIdentifiant unique de la tâche de génération
statusstringStatut de la tâche : pending, running, completed, failed, timeout
modelstringModèle utilisé pour la génération
outputsarrayTableau des éléments de sortie
outputs[].urlstringURL de l'artefact généré
outputs[].content_typestringType MIME (par ex. image/png, video/mp4)
errorobject | nullDétails de l'erreur en cas d'échec, null en cas de succès
error.typestringCode de type d'erreur lisible par machine
error.messagestringDescription de l'erreur lisible par l'humain

Flux de travail asynchrone

Ce modèle s’exécute de manière asynchrone. Envoyez une requête, puis interrogez le résultat.

  1. Envoyer : faites un POST vers /v1/run et lisez le id renvoyé.
  2. Interroger : faites un GET sur /v1/run/{id} jusqu’à ce que le statut soit completed, failed ou timeout.
  3. Récupérer : lisez outputs dans la réponse terminée.

Choisissez votre modèle

Comparer les modèles

Tous les modèles d’image et de vidéo
ModèleTypePrix par défautLancement
ElevenLabsAudio$0.01 / exécution2 sept. 2025
ElevenLabsAudio$0.01 / exécution2 nov. 2026
ElevenLabsAudio$0.04 / exécution28 sept. 2026
ElevenLabsAudio$0.08 / exécution28 sept. 2026
ElevenLabsAudio$0.75 / exécution14 sept. 2026
ElevenLabsAudio$0.75 / exécution14 sept. 2026

Questions

FAQ

Comment appeler ElevenLabs Sound Effects V2 via SandBase ?

Créez une clé API SandBase, puis envoyez des requêtes avec l’identifiant de modèle "elevenlabs/sound-effects-v2" à Unified Run API (/v1/run) sur https://api.sandbase.ai. Les exemples de requêtes sur cette page montrent la charge utile exacte.

Ai-je besoin d’un compte ElevenLabs distinct ?

Non. Une seule clé API SandBase et un seul solde vous donnent accès à ElevenLabs Sound Effects V2 et aux autres modèles du catalogue ; vous n’avez pas besoin de créer un compte ElevenLabs séparément.