# Mureka Speech API

> Mureka Speech converts up to 500 characters of text into spoken audio with a built-in voice preset or a custom uploaded voice.

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

## Facts

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

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

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

## README

### Mureka Speech

Mureka Speech reads up to 500 characters of text aloud with one of five built-in voices or a custom voice uploaded through `mureka/files/upload`.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `text` | string, required, up to 500 chars | — | Text to speak. |
| `voice` | `Ethan` / `Victoria` / `Jake` / `Luna` / `Emma` | — | Built-in voice. Send `voice` or `voice_id` (one is required). |
| `voice_id` | string | — | From `mureka/files/upload` (purpose `voice`). Not with `voice`. |

#### 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.0817 per minute of generated audio, prorated by the second. The quote before submission assumes 30 seconds; the final charge uses the measured output length.

| Audio length | Price |
|---|---|
| 30 s | $0.04085 |
| 1 min | $0.0817 |

Failed runs are not charged.

#### Prompting

- Pick `voice` for a preset or `voice_id` for your own voice; set only one.

#### Also on SandBase

Related: `mureka/podcast`, `mureka/files/upload`.
