Audio Understanding
sandbase-ai/audio-understandingAnalyzes an audio recording and answers a question about it in text, such as what is being discussed, who is speaking or what emotions are expressed. An optional detailed mode returns a longer analysis.
- Prix de base
- $0.01USD / exécution
- Exécution
- async
- Type de modèle
- audio
- Champs d'entrée
- 3
Essayer le modèle
Bac à sable
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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
- SandBase AI
- ID du modèle
- sandbase-ai/audio-understanding
- Exécution
- async
- URL de base
- https://api.sandbase.ai
- API
- Unified Run API
- Point de terminaison
- /v1/run
README de l'API
Audio Understanding
Ask a question about an audio recording and get a text answer: topics, speakers, emotions, sounds and more.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
audio | audio file or URL, required | — | Recording to analyze. |
prompt | string, required | — | Question about the audio, up to 10,000 characters. |
detailed_analysis | boolean | false | Ask for a longer, more detailed answer. |
Output
| Field | Notes |
|---|---|
text | Answer to the prompt. |
Billing
$0.01 per started 5 seconds of input audio ($0.12 per minute), using the measured audio length. If the length cannot be read, the quote assumes 10 minutes.
| Audio | Price |
|---|---|
| 5 s | $0.01 |
| 1 min | $0.12 |
| 5 min | $0.60 |
Failed runs are not charged.
Prompting
- Ask one specific question per request, such as the main topic, the number of speakers or the mood.
Commencer à construire
Envoyez votre première requête
Point de terminaison compatible OpenAI avec authentification unifiée et suivi de l'utilisation.
# 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": "sandbase-ai/audio-understanding",
"audio": "https://storage.googleapis.com/falserverless/model_tests/audio-understanding/Title_%20Running%20on%20Fal.mp3",
"prompt": "What is being discussed in this audio?",
"detailed_analysis": 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"Schéma d'entrée
3 paramètres · 2 obligatoires · 1 facultatifs
| Paramètre | Type | Obligatoire | Description |
|---|---|---|---|
audio | string | Obligatoire | Audio file or URL to analyze. |
prompt | string | Obligatoire | The question or prompt about the audio content (1–10,000 characters). · Longueur min. : 1 · Longueur max. : 10000 |
detailed_analysis | boolean | Facultatif | Whether to request a more detailed analysis of the audio. · Par défaut : false |
Schéma de sortie
| Champ | Type | Description |
|---|---|---|
id | string | Identifiant unique de la tâche de génération |
status | string | Statut de la tâche : pending, running, completed, failed, timeout |
model | string | Modèle utilisé pour la génération |
outputs | array | Tableau des éléments de sortie |
outputs[].url | string | URL de l'artefact généré |
outputs[].content_type | string | Type MIME (par ex. image/png, video/mp4) |
error | object | null | Détails de l'erreur en cas d'échec, null en cas de succès |
error.type | string | Code de type d'erreur lisible par machine |
error.message | string | Description 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.
- Envoyer : faites un POST vers /v1/run et lisez le
idrenvoyé. - Interroger : faites un GET sur /v1/run/{id} jusqu’à ce que le statut soit
completed,failedoutimeout. - Récupérer : lisez
outputsdans la réponse terminée.
Choisissez votre modèle
Comparer les modèles
| Modèle | Type | Prix par défaut | Lancement |
|---|---|---|---|
Audio UnderstandingCe modèle SandBase AI | Audio | $0.01 / exécution | 24 oct. 2025 |
SandBase AI | Audio | $0.01 / exécution | 16 juin 2026 |
SandBase AI | Audio | $0.06 / exécution | 7 janv. 2026 |
sandbase-ai | Audio | $0.02 / exécution | 7 oct. 2025 |
SandBase AI | Audio | $0.05 / exécution | 4 avr. 2025 |
SandBase AI | Audio | $0.05 / exécution | 4 avr. 2025 |
Questions
FAQ
Comment appeler SandBase AI Audio Understanding via SandBase ?
Créez une clé API SandBase, puis envoyez des requêtes avec l’identifiant de modèle "sandbase-ai/audio-understanding" à 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 SandBase AI distinct ?
Non. Une seule clé API SandBase et un seul solde vous donnent accès à SandBase AI Audio Understanding et aux autres modèles du catalogue ; vous n’avez pas besoin de créer un compte SandBase AI séparément.
