Mureka File Upload
mureka/files/uploadMureka 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.
- Base price
- $0.01USD / run
- Execution
- async
- Model type
- audio
- Input fields
- 2
Try the model
Playground
Your output will appear here
Complete the inputs, then click Run.
Model card
Specifications
Pricing
- Base price
- $0.01 / 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/files/upload
- Execution
- async
- Base URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
API 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 matchingpurpose.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.
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/files/upload"
}
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
2 parameters · 2 required · 0 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
file | string | Required | Audio file or URL to upload (also accepts video and image files or URLs for purpose `soundtrack`, and images for `lyrics-video`). Up to 10 MB; for purpose `soundtrack`, videos up to 100 MB and images up to 50 MB. |
purpose | string | Required | Where the returned ID will be used: `reference` → `reference_id` and `melody` → `melody_id` in `mureka/9.5/song`, `mureka/9/song`, `mureka/8/song`; `instrumental` → `instrumental_id` in the Mureka instrumental models; `voice` → `voice_id` in `mureka/speech`; `audio` → `upload_audio_id` in `mureka/song/edit`, `mureka/song/recognize`, `mureka/song/transcribe`, `mureka/lyrics-video`, `mureka/8/track`, `mureka/8/song/extend`; `remix` → `upload_audio_id` in `mureka/9.5/song/remix`, `mureka/8/song/remix`; `soundtrack` → `image_id` / `video_id` in the Mureka soundtrack models; `lyrics-video` → `background_id` in `mureka/lyrics-video`. The ID only works where its purpose is accepted. · Options: reference, melody, instrumental, voice, audio, remix, soundtrack, lyrics-video referencemelodyinstrumentalvoiceaudioremixsoundtracklyrics-video |
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 File UploadThis model Mureka | Audio | $0.01 / 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 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.
