# Mureka File Upload API

> Mureka File Upload stores an audio, image or video file with Mureka and returns a reusable ID for other Mureka models, such as reference, melody, remix, voice or soundtrack inputs.

Source: https://www.sandbase.ai/models/mureka/files/upload
API reference: https://www.sandbase.ai/models/mureka/files/upload#api

## Facts

- Provider: Mureka
- Type: Audio model
- Model ID: `mureka/files/upload`
- Price: From $0.01 per run
- Capabilities: audio to text
- 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/files/upload"
}'
```

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 File Upload through SandBase?

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

## README

### Mureka File Upload

Mureka File Upload uploads a file to Mureka and returns an `id` that other Mureka models accept as `reference_id`, `melody_id`, `instrumental_id`, `upload_audio_id`, `voice_id`, `image_id`, `video_id` or `background_id`, depending on `purpose`.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `file` | audio, video or image file or URL, required | — | Max 10 MB (soundtrack: video 100 MB, image 50 MB). |
| `purpose` | `reference` / `melody` / `instrumental` / `voice` / `audio` / `remix` / `soundtrack` / `lyrics-video`, required | — | Decides which Mureka field accepts the returned ID. |

#### Output

- `id`: uploaded-file ID for the field matching `purpose`.
- `purpose`, `filename`, `bytes`, `created_at`: upload details.

#### Billing

$0.01 per uploaded file.

| Request | Price |
|---|---|
| One upload | $0.01 |
| 100 uploads | $1.00 |

Failed runs are not charged.

#### Also on SandBase

Related: `mureka/9.5/song`, `mureka/song/edit`, `mureka/9.5/song/remix`.
