# Mureka 9 Soundtrack API

> Mureka 9 Soundtrack composes a soundtrack that fits an uploaded video or image, with optional style guidance and audio range control.

Source: https://www.sandbase.ai/models/mureka/9/soundtrack
API reference: https://www.sandbase.ai/models/mureka/9/soundtrack#api

## Facts

- Provider: Mureka
- Type: Audio model
- Model ID: `mureka/9/soundtrack`
- Price: From $0.10 per run
- Capabilities: video 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/9/soundtrack",
  "prompt": "Uplifting cinematic strings that build to a hopeful finale"
}'
```

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 Soundtrack through SandBase?

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

## README

### Mureka 9 Soundtrack

Mureka 9 Soundtrack scores a video or image uploaded through `mureka/files/upload` (purpose `soundtrack`), with an optional style prompt.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `video_id` | string | — | From `mureka/files/upload` (purpose `soundtrack`). One of `video_id` / `image_id`. |
| `image_id` | string | — | From `mureka/files/upload` (purpose `soundtrack`). One of `video_id` / `image_id`. |
| `prompt` | string, up to 1,024 chars | — | Optional style and mood. |
| `audio_start` | integer (ms) | — | Start of the audio segment in milliseconds. |
| `audio_end` | integer (ms) | — | End of the audio segment in milliseconds (with `audio_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.1 per soundtrack. Each request returns one result.

| Request | Price |
|---|---|
| One soundtrack | $0.10 |
| 10 soundtracks | $1.00 |

Failed runs are not charged.

#### Prompting

- Upload the video or image first with `mureka/files/upload` (purpose `soundtrack`), then pass `video_id` or `image_id`.

#### Also on SandBase

Related: `mureka/9.5/soundtrack`, `mureka/8/soundtrack`, `mureka/files/upload`.
