# ByteDance Seed Audio 1.5 Text to Audio API

> Seed Audio 1.5 Text to Audio by ByteDance generates speech, music, and sound effects together from a text prompt, with up to six reference audio clips or one reference image. Speed, pitch, volume, and output format are adjustable.

Source: https://www.sandbase.ai/models/bytedance/seed-audio/1.5/text-to-audio
API reference: https://www.sandbase.ai/models/bytedance/seed-audio/1.5/text-to-audio#api

## Facts

- Provider: ByteDance
- Type: Audio model
- Model ID: `bytedance/seed-audio/1.5/text-to-audio`
- Price: From $0.15 per run
- Capabilities: text to audio, 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": "bytedance/seed-audio/1.5/text-to-audio",
  "pitch": 0,
  "speed": 1,
  "prompt": "Read with a gentle, restrained female English voice: '"'"'The sea surface is calm today.'"'"' Use a slightly slow speaking rate, no background music.",
  "volume": 1,
  "output_format": "mp3"
}'
```

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 ByteDance Seed Audio 1.5 Text to Audio through SandBase?

Create a SandBase API key, then send requests with the model ID "bytedance/seed-audio/1.5/text-to-audio" 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 ByteDance account?

No. One SandBase API key and balance gives you access to ByteDance Seed Audio 1.5 Text to Audio and the other models in the catalog; you do not need to sign up with ByteDance separately.

## README

### Seed Audio 1.5 Text to Audio

Seed Audio 1.5 Text to Audio by ByteDance generates speech, music, and sound effects together from a text prompt, with up to six reference audio clips or one reference image. Speed, pitch, volume, and output format are adjustable.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Text prompt. |
| `reference_audios` | array | — | Up to 6 reference clips (wav/mp3, 2-30 s, up to 15 MB each). |
| `image` | file or URL | — | One reference image; cannot be combined with reference audio. |
| `output_format` | `mp3` / `wav` / `pcm` / `ogg_opus` | `mp3` | Output audio format. |
| `sample_rate` | `8000` / `16000` / `24000` / `32000` / `44100` / `48000` | — | Output sample rate in Hz; unset means 44100 (48000 for ogg_opus). |
| `speed` | number 0.5-2 | 1 | 0.5-2x speaking rate. |
| `volume` | number 0.5-2 | 1 | 0.5-2x loudness. |
| `pitch` | integer -12-12 | 0 | Semitones, -12 to 12. |

#### Billing

$0.15 per minute of generated audio, prorated by the second. The charge uses the measured output length; the estimate before the run assumes 1 minute.

| Output length | Price |
| --- | --- |
| 30 s | $0.075 |
| 1 min | $0.15 |
| 6 min | $0.90 |

Failed runs are not charged.

#### Prompting

- Write the exact lines in quotes and describe the voice, emotion, pace, music, and sound effects around them.
- The prompt must include spoken lines; a request for music or sound effects alone is rejected by the model.
- With several reference audios, say which reference each speaker uses, in input order.
- Output can be up to 6 minutes long.

#### Also on SandBase

Related: `bytedance/seed-audio/1.5/video-dubbing`, `bytedance/seed-audio/1.5/video-translation`, `bytedance/seed-audio/1.5/stem-separation`, `bytedance/seed-audio/1.0`, `bytedance/seed-tts/3.0`.
