Mureka 9 Soundtrack
mureka/9/soundtrackMureka 9 Soundtrack composes a soundtrack that fits an uploaded video or image, with optional style guidance and audio range control.
- ราคาพื้นฐาน
- $0.10USD / การรัน
- การทำงาน
- async
- ประเภโมเดล
- audio
- ฟิลด์อินพุต
- 5
ลองใช้โมเดล
Playground
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
การ์ดโมเดล
ข้อมูลจำเพาะ
ราคา
- ราคาพื้นฐาน
- $0.10 / การรัน
บริบทและ modalities
- อินพุต
- กำหนดตามสคีมา
- เอาต์พุต
- audio
ความสามารถ
- แชท
- ไม่รองรับ
- วิชัน
- ไม่รองรับ
- การให้เหตุผล
- ไม่รองรับ
- เอาต์พุตแบบมีโครงสร้าง
- ไม่รองรับ
- การเรียกใช้ฟังก์ชัน
- ไม่รองรับ
- อินพุตเสียง
- ไม่รองรับ
การเข้าถึง
- ผู้ให้บริการ
- Mureka
- รหัสโมเดล
- mureka/9/soundtrack
- การทำงาน
- async
- Base URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
API README
Mureka 9 Soundtrack
Mureka 9 Soundtrack scores a video or image uploaded through mureka/files/upload (purpose soundtrack), with an optional style prompt.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
video_id | string | — | From mureka/files/upload (purpose soundtrack). One of video_id / image_id. |
image_id | string | — | From mureka/files/upload (purpose soundtrack). One of video_id / image_id. |
prompt | string, up to 1,024 chars | — | Optional style and mood. |
audio_start | integer (ms) | — | Start of the audio segment in milliseconds. |
audio_end | integer (ms) | — | End of the audio segment in milliseconds (with audio_start). |
Output
url: generated audio file.song_id: reusable ID for other Mureka models that acceptsong_id.lyrics_sections: timed lyric sections (times in milliseconds), when available.
Billing
$0.1 per soundtrack. Each request returns one result.
| Request | Price |
|---|---|
| One soundtrack | $0.10 |
| 10 soundtracks | $1.00 |
Failed runs are not charged.
Prompting
- Upload the video or image first with
mureka/files/upload(purposesoundtrack), then passvideo_idorimage_id.
Also on SandBase
Related: mureka/9.5/soundtrack, mureka/8/soundtrack, mureka/files/upload.
เริ่มสร้าง
ส่งคำขอแรกของคุณ
เอ็นด์พอยต์ที่ใช้งานร่วมกับ OpenAI ได้ พร้อมการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
# 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": "mureka/9/soundtrack",
"prompt": "Uplifting cinematic strings that build to a hopeful finale"
}
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"สคีมาขาเข้า
5 พารามิเตอร์ · จำเป็น 0 · ไม่บังคับ 5
| พารามิเตอร์ | ประเภท | จำเป็น | คำอธิบาย |
|---|---|---|---|
prompt | string | ไม่บังคับ | Optional description of the soundtrack style and mood. · ความยาวต่ำสุด: 1 · ความยาวสูงสุด: 1024 |
image_id | string | ไม่บังคับ | Image ID returned by `mureka/files/upload` with purpose `soundtrack` (images up to 50 MB). Provide exactly one of `video_id` or `image_id`. · ความยาวต่ำสุด: 1 |
video_id | string | ไม่บังคับ | Video ID returned by `mureka/files/upload` with purpose `soundtrack` (videos up to 100 MB). Provide exactly one of `video_id` or `image_id`. · ความยาวต่ำสุด: 1 |
audio_end | integer | ไม่บังคับ | End time of the soundtrack audio in milliseconds. Used together with `audio_start`; if it exceeds the song length, generation stops at the end of the song. The segment must be at least 3 seconds; a 1-second fade-out is added. |
audio_start | integer | ไม่บังคับ | Start time of the soundtrack audio in milliseconds. If only `audio_start` is set, generation starts there and runs for the video duration. The segment must be at least 3 seconds; a 1-second fade-in is added. |
สคีมาเอาต์พุต
| ฟิลด์ | ประเภท | คำอธิบาย |
|---|---|---|
id | string | ตัวระบุเฉพาะสำหรับงาน generation |
status | string | สถานะงาน: pending, running, completed, failed, timeout |
model | string | โมเดลที่ใช้สำหรับ generation |
outputs | array | อาร์เรย์ของรายการเอาต์พุต |
outputs[].url | string | URL ของอาร์ติแฟกต์ที่สร้างขึ้น |
outputs[].content_type | string | ประเภท MIME (เช่น image/png, video/mp4) |
error | object | null | รายละเอียดข้อผิดพลาดหากล้มเหลว, เป็น null เมื่อสำเร็จ |
error.type | string | รหัสประเภทข้อผิดพลาดที่เครื่องอ่านได้ |
error.message | string | คำอธิบายข้อผิดพลาดที่มนุษย์อ่านได้ |
เวิร์กโฟลว์แบบอะซิงก์
โมเดลนี้ทำงานแบบอะซิงโครนัส ส่งคำขอแล้วคอยตรวจผลลัพธ์
- ส่ง: POST ไปที่ /v1/run แล้วอ่าน
idที่ส่งกลับมา - คอยตรวจ: GET /v1/run/{id} จนกว่าสถานะจะเป็น
completed,failedหรือtimeout - ดึงข้อมูล: อ่าน
outputsจากการตอบกลับที่เสร็จสมบูรณ์
เลือกโมเดลของคุณ
เปรียบเทียบโมเดล
| โมเดล | ประเภท | ราคามาตรฐาน | เปิดตัว |
|---|---|---|---|
Mureka 9 Soundtrackโมเดลนี้ Mureka | เสียง | $0.10 / ครั้ง | 30 ต.ค. 2569 |
Mureka | เสียง | $0.75 / ครั้ง | 30 ต.ค. 2569 |
Mureka | เสียง | $0.50 / ครั้ง | 30 ต.ค. 2569 |
Mureka | เสียง | $0.10 / ครั้ง | 30 ต.ค. 2569 |
Mureka | เสียง | $0.23 / ครั้ง | 30 ต.ค. 2569 |
Mureka | เสียง | $0.07 / ครั้ง | 30 ต.ค. 2569 |
คำถาม
คำถามที่พบบ่อย
ฉันจะเรียก Mureka 9 Soundtrack ผ่าน SandBase ได้อย่างไร?
สร้าง SandBase API key แล้วส่งคำขอด้วย model ID "mureka/9/soundtrack" ไปที่ Unified Run API (/v1/run) ที่ https://api.sandbase.ai ตัวอย่างคำขอบนหน้านี้แสดง payload ที่ถูกต้องทั้งหมด
ฉันจำเป็นต้องมีบัญชี Mureka แยกต่างหากไหม?
ไม่จำเป็น SandBase API key และยอดคงเหลือหนึ่งชุดให้คุณเข้าถึง Mureka 9 Soundtrack และโมเดลอื่น ๆ ในแค็ตตาล็อกได้ คุณไม่ต้องสมัครใช้งานกับ Mureka แยกต่างหาก
