Mureka 8 Song
mureka/8/songMureka 8 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.
- Base price
- $0.30USD / run
- Execution
- async
- Model type
- audio
- Input fields
- 7
Try the model
Playground
Your output will appear here
Complete the inputs, then click Run.
Model card
Specifications
Pricing
- Base price
- $0.30 / run
Context & modalities
- Input
- Schema-defined
- Output
- audio
Capabilities
- Chat
- Not supported
- Vision
- Not supported
- Reasoning
- Not supported
- Structured output
- Not supported
- Function calling
- Not supported
- Audio input
- Not supported
Access
- Provider
- Mureka
- Model ID
- mureka/8/song
- Execution
- async
- Base URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
API README
Mureka 8 Song
Mureka 8 Song writes and sings a full song 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. |
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.07 per song when lyrics is provided; $0.3 per song when only a prompt (or other inputs without lyrics) is given.
| Request | Price |
|---|---|
| Song from your lyrics | $0.07 |
| Song from a prompt only | $0.30 |
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.5/song, mureka/9/song.
Start building
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
# 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/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"Input Schema
7 parameters · 0 required · 7 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
gender | string | Optional | Preferred vocal gender for lyrics-to-song generation. A reference or cloned voice takes precedence. · Options: female, male femalemale |
lyrics | string | Optional | 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. · Min length: 1 · Max length: 5000 |
prompt | string | Optional | 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`. · Min length: 1 · Max length: 2000 |
styles | string[] | Optional | One or more genres for prompt-to-song generation. Cannot be used when `lyrics` is provided. |
vocal_id | string | Optional | Cloned voice ID (`vocal_id`) returned by `mureka/voice/clone`. Cannot be combined with `melody_id`. · Min length: 1 |
melody_id | string | Optional | Melody ID returned by `mureka/files/upload` with purpose `melody`. Cannot be combined with `prompt`, `reference_id` or `vocal_id`; use it with `lyrics`. · Min length: 1 |
reference_id | string | Optional | Reference-music ID returned by `mureka/files/upload` with purpose `reference`. Cannot be combined with `melody_id`. · Min length: 1 |
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model runs asynchronously. Submit a request, then poll for the result.
- Submit: POST to /v1/run and read the returned
id. - Poll: GET /v1/run/{id} until status is
completed,failedortimeout. - Retrieve: read
outputsfrom the completed response.
Choose your model
Compare models
| Model | Type | Default price | Released |
|---|---|---|---|
Mureka 8 SongThis model Mureka | Audio | $0.30 / run | Oct 30, 2026 |
Mureka | Audio | $0.75 / run | Oct 30, 2026 |
Mureka | Audio | $0.50 / run | Oct 30, 2026 |
Mureka | Audio | $0.10 / run | Oct 30, 2026 |
Mureka | Audio | $0.23 / run | Oct 30, 2026 |
Mureka | Audio | $0.10 / run | Oct 30, 2026 |
Questions
FAQ
How do I call Mureka 8 Song through SandBase?
Create a SandBase API key, then send requests with the model ID "mureka/8/song" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.
Do I need a separate Mureka account?
No. One SandBase API key and balance gives you access to Mureka 8 Song and the other models in the catalog; you do not need to sign up with Mureka separately.
