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

Mureka 9 Song

mureka/9/song

Mureka 9 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.30USD / การรัน
การทำงาน
async
ประเภโมเดล
audio
ฟิลด์อินพุต
7
เส้นทางโปรดักชัน

ลองใช้โมเดล

Playground

เปิด Playground
อินพุต
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.
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`.
One or more genres for prompt-to-song generation. Cannot be used when `lyrics` is provided.
Preferred vocal gender for lyrics-to-song generation. A reference or cloned voice takes precedence.
Reference-music ID returned by `mureka/files/upload` with purpose `reference`. Cannot be combined with `melody_id`.
Cloned voice ID (`vocal_id`) returned by `mureka/voice/clone`. Cannot be combined with `melody_id`.
Melody ID returned by `mureka/files/upload` with purpose `melody`. Cannot be combined with `prompt`, `reference_id` or `vocal_id`; use it with `lyrics`.
เอาต์พุตพร้อมใช้งาน

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

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

การ์ดโมเดล

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

ราคา

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

บริบทและ modalities

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

ความสามารถ

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

การเข้าถึง

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

API README

Mureka 9 Song

Mureka 9 Song writes and sings a full song from lyrics or from a prompt alone, and returns a reusable song_id.

Fields

FieldTypeDefaultNotes
lyricsstring, up to 5,000 chars—Lyrics to sing. Provide lyrics or prompt; with lyrics the song is cheaper.
promptstring, up to 2,000 chars—Required without lyrics. Style control (≤1,024 chars) with lyrics. Not with melody_id.
stylesarray 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.
genderfemale / male—Vocal gender; a cloned voice takes precedence.
reference_idstring—From mureka/files/upload (purpose reference). Not with melody_id.
vocal_idstring—From mureka/voice/clone. Not with melody_id.
melody_idstring—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 accept song_id.
  • lyrics_sections: timed lyric sections (times in milliseconds), when available.

Billing

$0.07 per song when lyrics is provided; $0.3 per song when only a prompt (or other inputs without lyrics) is given.

RequestPrice
Song from your lyrics$0.07
Song from a prompt only$0.30

Failed runs are not charged.

Prompting

  • Provide lyrics for direct control over the words (and a lower price); use prompt + styles to let the model write them.
  • melody_id works with lyrics only; leave prompt, reference_id and vocal_id empty.

Also on SandBase

Related: mureka/9.5/song, mureka/8/song.

เริ่มสร้าง

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

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

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

สคีมาขาเข้า

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

พารามิเตอร์ประเภทจำเป็นคำอธิบาย
genderstringไม่บังคับPreferred vocal gender for lyrics-to-song generation. A reference or cloned voice takes precedence. · ตัวเลือก: female, male
femalemale
lyricsstringไม่บังคับ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
promptstringไม่บังคับ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
stylesstring[]ไม่บังคับOne or more genres for prompt-to-song generation. Cannot be used when `lyrics` is provided.
vocal_idstringไม่บังคับCloned voice ID (`vocal_id`) returned by `mureka/voice/clone`. Cannot be combined with `melody_id`. · ความยาวต่ำสุด: 1
melody_idstringไม่บังคับ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_idstringไม่บังคับReference-music ID returned by `mureka/files/upload` with purpose `reference`. Cannot be combined with `melody_id`. · ความยาวต่ำสุด: 1
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 จากการตอบกลับที่เสร็จสมบูรณ์

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

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

โมเดลภาพและวิดีโอทั้งหมด
โมเดลประเภทราคามาตรฐานเปิดตัว
Mureka 9 Songโมเดลนี้
Mureka
เสียง$0.30 / ครั้ง30 ต.ค. 2569
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 9 Song ผ่าน SandBase ได้อย่างไร?

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

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

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