# Mureka 8 Track API

> Mureka 8 Track generates a new vocal or instrument track, such as drums, bass or strings, for an existing Mureka song or uploaded audio.

Source: https://www.sandbase.ai/models/mureka/8/track
API reference: https://www.sandbase.ai/models/mureka/8/track#api

## Facts

- Provider: Mureka
- Type: Audio model
- Model ID: `mureka/8/track`
- Price: From $0.09 per run
- Capabilities: audio to audio
- 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/8/track",
  "prompt": "Punchy funk bass line locked to the kick drum"
}'
```

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 8 Track through SandBase?

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

## README

### 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 accept `song_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`.
