# Mureka 9.5 Song API

> Mureka 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.

Source: https://www.sandbase.ai/models/mureka/9.5/song
API reference: https://www.sandbase.ai/models/mureka/9.5/song#api

## Facts

- Provider: Mureka
- Type: Audio model
- Model ID: `mureka/9.5/song`
- Price: From $0.75 per run
- Capabilities: text to music
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "mureka/9.5/song",
  "prompt": "A bright summer love song with a catchy chorus",
  "styles": [
    [
      "pop",
      "rock"
    ]
  ]
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## FAQ

### How do I call Mureka 9.5 Song through SandBase?

Create a SandBase API key, then send requests with the model ID "mureka/9.5/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 9.5 Song and the other models in the catalog; you do not need to sign up with Mureka separately.

## 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 accept `song_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 `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/song`, `mureka/8/song`, `mureka/lyrics`, `mureka/voice/clone`.
