# ByteDance Seed Audio 1.0 API

> Seed Audio 1.0 by ByteDance generates natural speech and audio from text, guided by a preset or cloned voice, up to three reference audio clips, or a reference image. Speed, pitch, volume, and output format are adjustable.

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

## Facts

- Provider: ByteDance
- Type: Audio model
- Model ID: `bytedance/seed-audio/1.0`
- Price: From $0.19 per run
- Capabilities: text to speech, text 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": "bytedance/seed-audio/1.0",
  "text": "Here'"'"'s a quick look at your day: you'"'"'ve got three meetings, one lunch, and just enough time in between to grab a coffee and relax.",
  "pitch": 0,
  "speed": 1,
  "voice": "stokie_en",
  "volume": 1,
  "sample_rate": 24000,
  "multilingual": false,
  "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.0 through SandBase?

Create a SandBase API key, then send requests with the model ID "bytedance/seed-audio/1.0" 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.0 and the other models in the catalog; you do not need to sign up with ByteDance separately.

## README

### Seed Audio 1.0

ByteDance Seed Audio 1.0 generates speech and audio from up to 2,048 characters of text, with a preset voice, up to three reference audio clips (referenced as @Audio1–@Audio3), or one reference image.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `text` | string, required | — | Text or prompt; refer to reference clips as @Audio1–@Audio3. |
| `voice` | string | — | Preset voice name (e.g. `stokie_en`) or a cloned voice ID. |
| `reference_audios` | array of audio files or URLs (up to 3) | — | Up to 3 clips (≤30 s, ≤10 MB each); cannot be combined with `image`. |
| `image` | image file or URL | — | One reference image (jpeg/png/webp, ≤10 MB); cannot be combined with reference audio. |
| `multilingual` | boolean | false | Better handling of non-English and mixed-language text. |
| `speed` | number 0.5–2 | 1 | 0.5–2× speaking rate. |
| `pitch` | integer -12–12 | 0 | Semitones, −12 to 12. |
| `volume` | number 0.5–2 | 1 | 0.5–2× loudness. |
| `output_format` | `wav` / `mp3` / `pcm` / `ogg_opus` | `mp3` | Output file format. |
| `sample_rate` | 8000 / 16000 / 24000 / 32000 / 44100 / 48000 | 24000 | Output sample rate in Hz. |

#### Billing

$0.1875 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.09375 |
| 1 min | $0.1875 |
| 5 min | $0.9375 |

Failed runs are not charged.

#### Prompting

- Write the exact words to speak; mention @Audio1 when a reference clip should set the voice.

#### Also on SandBase

Related: `bytedance/seed-tts/3.0`, `bytedance/seed-speech/tts/2.0`.
