Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Audio Understanding

sandbase-ai/audio-understanding

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

ราคาพื้นฐาน
$0.01USD / การรัน
การทำงาน
async
ประเภโมเดล
audio
ฟิลด์อินพุต
3
เส้นทางโปรดักชัน

ลองใช้โมเดล

Playground

เปิด Playground
อินพุต
Audio file or URL to analyze.
The question or prompt about the audio content (1–10,000 characters).
Whether to request a more detailed analysis of the audio.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

การ์ดโมเดล

ข้อมูลจำเพาะ

ราคา

ราคาพื้นฐาน
$0.01 / การรัน

บริบทและ modalities

อินพุต
กำหนดตามสคีมา
เอาต์พุต
audio

ความสามารถ

แชท
ไม่รองรับ
วิชัน
ไม่รองรับ
การให้เหตุผล
ไม่รองรับ
เอาต์พุตแบบมีโครงสร้าง
ไม่รองรับ
การเรียกใช้ฟังก์ชัน
ไม่รองรับ
อินพุตเสียง
ไม่รองรับ

การเข้าถึง

ผู้ให้บริการ
SandBase AI
รหัสโมเดล
sandbase-ai/audio-understanding
การทำงาน
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

API README

Audio Understanding

Ask a question about an audio recording and get a text answer: topics, speakers, emotions, sounds and more.

Fields

FieldTypeDefaultNotes
audioaudio file or URL, required—Recording to analyze.
promptstring, required—Question about the audio, up to 10,000 characters.
detailed_analysisbooleanfalseAsk for a longer, more detailed answer.

Output

FieldNotes
textAnswer 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.

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

เริ่มสร้าง

ส่งคำขอแรกของคุณ

เอ็นด์พอยต์ที่ใช้งานร่วมกับ OpenAI ได้ พร้อมการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์

Production API
เอ็นด์พอยต์ Unified Run API
https://api.sandbase.ai/v1/run
รหัสโมเดล
sandbase-ai/audio-understanding
# 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"
01

สคีมาขาเข้า

3 พารามิเตอร์ · จำเป็น 2 · ไม่บังคับ 1

พารามิเตอร์ประเภทจำเป็นคำอธิบาย
audiostringจำเป็นAudio file or URL to analyze.
promptstringจำเป็นThe question or prompt about the audio content (1–10,000 characters). · ความยาวต่ำสุด: 1 · ความยาวสูงสุด: 10000
detailed_analysisbooleanไม่บังคับWhether to request a more detailed analysis of the audio. · ค่าเริ่มต้น: false
02

สคีมาเอาต์พุต

ฟิลด์ประเภทคำอธิบาย
idstringตัวระบุเฉพาะสำหรับงาน generation
statusstringสถานะงาน: pending, running, completed, failed, timeout
modelstringโมเดลที่ใช้สำหรับ generation
outputsarrayอาร์เรย์ของรายการเอาต์พุต
outputs[].urlstringURL ของอาร์ติแฟกต์ที่สร้างขึ้น
outputs[].content_typestringประเภท MIME (เช่น image/png, video/mp4)
errorobject | nullรายละเอียดข้อผิดพลาดหากล้มเหลว, เป็น null เมื่อสำเร็จ
error.typestringรหัสประเภทข้อผิดพลาดที่เครื่องอ่านได้
error.messagestringคำอธิบายข้อผิดพลาดที่มนุษย์อ่านได้

เวิร์กโฟลว์แบบอะซิงก์

โมเดลนี้ทำงานแบบอะซิงโครนัส ส่งคำขอแล้วคอยตรวจผลลัพธ์

  1. ส่ง: POST ไปที่ /v1/run แล้วอ่าน id ที่ส่งกลับมา
  2. คอยตรวจ: GET /v1/run/{id} จนกว่าสถานะจะเป็น completed, failed หรือ timeout
  3. ดึงข้อมูล: อ่าน outputs จากการตอบกลับที่เสร็จสมบูรณ์

เลือกโมเดลของคุณ

เปรียบเทียบโมเดล

โมเดลภาพและวิดีโอทั้งหมด
โมเดลประเภทราคามาตรฐานเปิดตัว
Audio Understandingโมเดลนี้
SandBase AI
เสียง$0.01 / ครั้ง24 ต.ค. 2568
SandBase AIเสียง$0.01 / ครั้ง16 มิ.ย. 2569
SandBase AIเสียง$0.06 / ครั้ง7 ม.ค. 2569
sandbase-aiเสียง$0.02 / ครั้ง7 ต.ค. 2568
SandBase AIเสียง$0.05 / ครั้ง4 เม.ย. 2568
SandBase AIเสียง$0.05 / ครั้ง4 เม.ย. 2568

คำถาม

คำถามที่พบบ่อย

ฉันจะเรียก SandBase AI Audio Understanding ผ่าน SandBase ได้อย่างไร?

สร้าง SandBase API key แล้วส่งคำขอด้วย model ID "sandbase-ai/audio-understanding" ไปที่ Unified Run API (/v1/run) ที่ https://api.sandbase.ai ตัวอย่างคำขอบนหน้านี้แสดง payload ที่ถูกต้องทั้งหมด

ฉันจำเป็นต้องมีบัญชี SandBase AI แยกต่างหากไหม?

ไม่จำเป็น SandBase API key และยอดคงเหลือหนึ่งชุดให้คุณเข้าถึง SandBase AI Audio Understanding และโมเดลอื่น ๆ ในแค็ตตาล็อกได้ คุณไม่ต้องสมัครใช้งานกับ SandBase AI แยกต่างหาก