Mureka 9.5 Song
mureka/9.5/songMureka 9.5 Song generates a complete song with vocals from your lyrics or from a text description, with genre, vocal gender, reference music, cloned voice and melody controls.
- ราคาพื้นฐาน
- $0.75USD / การรัน
- การทำงาน
- async
- ประเภโมเดล
- audio
- ฟิลด์อินพุต
- 8
ลองใช้โมเดล
Playground
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
การ์ดโมเดล
ข้อมูลจำเพาะ
ราคา
- ราคาพื้นฐาน
- $0.75 / การรัน
บริบทและ modalities
- อินพุต
- กำหนดตามสคีมา
- เอาต์พุต
- audio
ความสามารถ
- แชท
- ไม่รองรับ
- วิชัน
- ไม่รองรับ
- การให้เหตุผล
- ไม่รองรับ
- เอาต์พุตแบบมีโครงสร้าง
- ไม่รองรับ
- การเรียกใช้ฟังก์ชัน
- ไม่รองรับ
- อินพุตเสียง
- ไม่รองรับ
การเข้าถึง
- ผู้ให้บริการ
- Mureka
- รหัสโมเดล
- mureka/9.5/song
- การทำงาน
- async
- Base URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
API README
Mureka 9.5 Song
Mureka 9.5 Song writes and sings a full song (target length 120–300 seconds via duration) from lyrics or from a prompt alone, and returns a reusable song_id.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
lyrics | string, up to 5,000 chars | — | Lyrics to sing. Provide lyrics or prompt; with lyrics the song is cheaper. |
prompt | string, up to 2,000 chars | — | Required without lyrics. Style control (≤1,024 chars) with lyrics. Not with melody_id. |
styles | array of pop / rock / jazz / r&b / edm / ambient / folk / latin / k-pop / j-pop / house / gospel / lo-fi | — | Prompt-to-song only; not with lyrics. |
duration | integer 120–300 | — | Target length in seconds; omit to let the model decide. |
gender | female / male | — | Vocal gender; a cloned voice takes precedence. |
reference_id | string | — | From mureka/files/upload (purpose reference). Not with melody_id. |
vocal_id | string | — | From mureka/voice/clone. Not with melody_id. |
melody_id | string | — | From mureka/files/upload (purpose melody). Not with prompt, reference_id or vocal_id. |
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.225 per song when lyrics is provided; $0.75 per song when only a prompt (or other inputs without lyrics) is given.
| Request | Price |
|---|---|
| Song from your lyrics | $0.225 |
| Song from a prompt only | $0.75 |
Failed runs are not charged.
Prompting
- Provide
lyricsfor direct control over the words (and a lower price); useprompt+stylesto let the model write them. melody_idworks withlyricsonly; leaveprompt,reference_idandvocal_idempty.
Also on SandBase
Related: mureka/9/song, mureka/8/song, mureka/lyrics, mureka/voice/clone.
เริ่มสร้าง
ส่งคำขอแรกของคุณ
เอ็นด์พอยต์ที่ใช้งานร่วมกับ 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.5/song",
"prompt": "A bright summer love song with a catchy chorus",
"styles": [
[
"pop",
"rock"
]
]
}
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"สคีมาขาเข้า
8 พารามิเตอร์ · จำเป็น 0 · ไม่บังคับ 8
| พารามิเตอร์ | ประเภท | จำเป็น | คำอธิบาย |
|---|---|---|---|
gender | string | ไม่บังคับ | Preferred vocal gender for lyrics-to-song generation. A reference or cloned voice takes precedence. · ตัวเลือก: female, male femalemale |
lyrics | string | ไม่บังคับ | Lyrics to sing, up to 5,000 characters. Provide `lyrics` for lyrics-to-song, or leave it empty and provide `prompt` for prompt-to-song. Supplying lyrics also lowers the price. · ความยาวต่ำสุด: 1 · ความยาวสูงสุด: 5000 |
prompt | string | ไม่บังคับ | Describe the song, mood, instrumentation and vocals. Required when `lyrics` is empty (up to 2,000 characters). With `lyrics` it acts as a style control and supports up to 1,024 characters. Cannot be combined with `melody_id`. · ความยาวต่ำสุด: 1 · ความยาวสูงสุด: 2000 |
styles | string[] | ไม่บังคับ | One or more genres for prompt-to-song generation. Cannot be used when `lyrics` is provided. |
duration | integer | ไม่บังคับ | Target song length in seconds (120–300). If omitted, the model picks the length; the length of the lyrics also affects it. · ต่ำสุด: 120 · สูงสุด: 300 |
vocal_id | string | ไม่บังคับ | Cloned voice ID (`vocal_id`) returned by `mureka/voice/clone`. Cannot be combined with `melody_id`. · ความยาวต่ำสุด: 1 |
melody_id | string | ไม่บังคับ | Melody ID returned by `mureka/files/upload` with purpose `melody`. Cannot be combined with `prompt`, `reference_id` or `vocal_id`; use it with `lyrics`. · ความยาวต่ำสุด: 1 |
reference_id | string | ไม่บังคับ | Reference-music ID returned by `mureka/files/upload` with purpose `reference`. Cannot be combined with `melody_id`. · ความยาวต่ำสุด: 1 |
สคีมาเอาต์พุต
| ฟิลด์ | ประเภท | คำอธิบาย |
|---|---|---|
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.5 Songโมเดลนี้ Mureka | เสียง | $0.75 / ครั้ง | 30 ต.ค. 2569 |
Mureka | เสียง | $0.50 / ครั้ง | 30 ต.ค. 2569 |
Mureka | เสียง | $0.10 / ครั้ง | 30 ต.ค. 2569 |
Mureka | เสียง | $0.23 / ครั้ง | 30 ต.ค. 2569 |
Mureka | เสียง | $0.10 / ครั้ง | 30 ต.ค. 2569 |
Mureka | เสียง | $0.07 / ครั้ง | 30 ต.ค. 2569 |
คำถาม
คำถามที่พบบ่อย
ฉันจะเรียก Mureka 9.5 Song ผ่าน SandBase ได้อย่างไร?
สร้าง SandBase API key แล้วส่งคำขอด้วย model ID "mureka/9.5/song" ไปที่ Unified Run API (/v1/run) ที่ https://api.sandbase.ai ตัวอย่างคำขอบนหน้านี้แสดง payload ที่ถูกต้องทั้งหมด
ฉันจำเป็นต้องมีบัญชี Mureka แยกต่างหากไหม?
ไม่จำเป็น SandBase API key และยอดคงเหลือหนึ่งชุดให้คุณเข้าถึง Mureka 9.5 Song และโมเดลอื่น ๆ ในแค็ตตาล็อกได้ คุณไม่ต้องสมัครใช้งานกับ Mureka แยกต่างหาก
