Mureka 8 Track
mureka/8/trackMureka 8 Track generates a new vocal or instrument track, such as drums, bass or strings, for an existing Mureka song or uploaded audio.
- Giá cơ bản
- $0.09USD / lần chạy
- Thực thi
- async
- Loại model
- audio
- Các trường đầu vào
- 8
Thử model
Phòng thử nghiệm
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
Thẻ model
Thông số kỹ thuật
Giá
- Giá cơ bản
- $0.09 / lần chạy
Ngữ cảnh & phương thức
- Đầu vào
- Định nghĩa theo schema
- Đầu ra
- audio
Tính năng
- Chat
- Không được hỗ trợ
- Thị giác
- Không được hỗ trợ
- Suy luận
- Không được hỗ trợ
- Đầu ra có cấu trúc
- Không được hỗ trợ
- Gọi hàm
- Không được hỗ trợ
- Đầu vào âm thanh
- Không được hỗ trợ
Truy cập
- Nhà cung cấp
- Mureka
- ID mô hình
- mureka/8/track
- Thực thi
- async
- URL cơ sở
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README API
Mureka 8 Track
Mureka 8 Track adds one new part (vocals, drums, bass, guitar, strings and more) to an existing song, optionally only in a time region.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
song_id | string | — | From mureka/9.5/song, mureka/9/song or mureka/8/song. One of song_id / upload_audio_id. |
upload_audio_id | string | — | From mureka/files/upload (purpose audio). One of song_id / upload_audio_id. |
generate_type | Vocals / Instrumental / Drums / Bass / Guitar / Keyboard / Percussion / Strings / Synth / FX / Brass / Woodwinds, required | — | Track to add. |
prompt | string, required, up to 1,024 chars | — | Style of the new track. |
lyrics | string, up to 5,000 chars | — | For Vocals tracks. |
vocal_gender | female / male | — | Only with generate_type Vocals. |
generate_start | integer (ms) | — | Region start in milliseconds. |
generate_end | integer (ms) | — | Region end in ms; needs generate_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.09 per track. Each request returns one result.
| Request | Price |
|---|---|
| One track | $0.09 |
| 10 tracks | $0.90 |
Failed runs are not charged.
Prompting
- Describe how the new part should play (rhythm, tone, energy) in
prompt.
Also on SandBase
Related: mureka/song/stem.
Bắt đầu xây dựng
Gửi request đầu tiên của bạn
Endpoint tương thích OpenAI với xác thực và theo dõi mức sử dụng thống nhất.
# 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/8/track",
"prompt": "Punchy funk bass line locked to the kick drum"
}
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 đầu vào
8 tham số · 2 bắt buộc · 6 tùy chọn
| Tham số | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|
prompt | string | Bắt buộc | Musical style and performance of the new track, up to 1,024 characters. · Độ dài tối thiểu: 1 · Độ dài tối đa: 1024 |
generate_type | string | Bắt buộc | Type of track to generate. · Tùy chọn: Vocals, Instrumental, Drums, Bass, Guitar, Keyboard, Percussion, Strings, Synth, FX, Brass, Woodwinds VocalsInstrumentalDrumsBassGuitarKeyboardPercussionStringsSynthFXBrassWoodwinds |
lyrics | string | Tùy chọn | Lyrics for a generated vocal track, up to 5,000 characters. Use with `generate_type` `Vocals`. · Độ dài tối thiểu: 1 · Độ dài tối đa: 5000 |
song_id | string | Tùy chọn | `song_id` returned by `mureka/9.5/song`, `mureka/9/song` or `mureka/8/song`. Provide exactly one of `song_id` or `upload_audio_id`. · Độ dài tối thiểu: 1 |
generate_end | integer | Tùy chọn | Optional end of the generation region, in milliseconds. Requires `generate_start` and must be greater than it. · Tối thiểu: 0 |
vocal_gender | string | Tùy chọn | Preferred vocal gender; only valid when `generate_type` is `Vocals`. · Tùy chọn: female, male femalemale |
generate_start | integer | Tùy chọn | Optional start of the generation region, in milliseconds. · Tối thiểu: 0 |
upload_audio_id | string | Tùy chọn | ID returned by `mureka/files/upload` with purpose `audio`. Provide exactly one of `song_id` or `upload_audio_id`. · Độ dài tối thiểu: 1 |
Schema đầu ra
| Trường | Kiểu | Mô tả |
|---|---|---|
id | string | Mã định danh duy nhất cho tác vụ tạo |
status | string | Trạng thái tác vụ: pending, running, completed, failed, timeout |
model | string | Model được dùng cho quá trình tạo |
outputs | array | Mảng các mục đầu ra |
outputs[].url | string | URL của artifact đã tạo |
outputs[].content_type | string | Kiểu MIME (ví dụ image/png, video/mp4) |
error | object | null | Chi tiết lỗi nếu thất bại, null nếu thành công |
error.type | string | Mã loại lỗi có thể đọc bằng máy |
error.message | string | Mô tả lỗi dễ đọc cho người dùng |
Quy trình không đồng bộ
Model này chạy bất đồng bộ. Gửi yêu cầu, rồi thăm dò để lấy kết quả.
- Gửi: POST tới /v1/run và đọc
idđược trả về. - Thăm dò: GET /v1/run/{id} cho đến khi trạng thái là
completed,failedhoặctimeout. - Truy xuất: đọc
outputstừ phản hồi hoàn tất.
Chọn model của bạn
So sánh model
| Mô hình | Loại | Giá mặc định | Phát hành |
|---|---|---|---|
Mureka 8 TrackMô hình này Mureka | Âm thanh | $0.09 / lượt chạy | 30 thg 10, 2026 |
Mureka | Âm thanh | $0.75 / lượt chạy | 30 thg 10, 2026 |
Mureka | Âm thanh | $0.50 / lượt chạy | 30 thg 10, 2026 |
Mureka | Âm thanh | $0.10 / lượt chạy | 30 thg 10, 2026 |
Mureka | Âm thanh | $0.23 / lượt chạy | 30 thg 10, 2026 |
Mureka | Âm thanh | $0.10 / lượt chạy | 30 thg 10, 2026 |
Câu hỏi
FAQ
Làm thế nào để gọi Mureka 8 Track qua SandBase?
Tạo một API key SandBase, sau đó gửi yêu cầu với model ID "mureka/8/track" tới Unified Run API (/v1/run) tại https://api.sandbase.ai. Các ví dụ yêu cầu trên trang này cho thấy chính xác payload.
Tôi có cần tài khoản Mureka riêng không?
Không. Chỉ cần một API key và số dư SandBase là bạn có thể truy cập Mureka 8 Track và các model khác trong danh mục; bạn không cần đăng ký riêng với Mureka.
