# Seed Audio 1.5

> Seed Audio 1.5 generates speech, music, and sound effects from text, with optional audio or image references. It supports up to six reference audio clips and controls for speech speed, volume, and pitch.


## Overview

- **Endpoint**: `https://fal.run/bytedance/seed-audio-1.5/text-to-audio`
- **Model ID**: `bytedance/seed-audio-1.5/text-to-audio`
- **Category**: text-to-audio
- **Kind**: inference
**Description**: Seed Audio 1.5 is ByteDance’s multimodal audio generation model. This endpoint generates speech, music, and sound effects from a text prompt, optionally guided by up to six audio clips or a single image.

Reference audio clips must each be 2–30 seconds long. Image references cannot be combined with audio references. The endpoint returns an audio file in MP3, WAV, PCM, or Ogg Opus format, with controls for speech speed, volume, pitch, and sample rate.

**Tags**: audio, speech, music, sound-effects, text-to-audio, voice-reference



## Pricing

Audio generation is billed at **$0.15 per minute**.

For more details, see [fal.ai pricing](https://fal.ai/pricing).

## API Information

This model can be used via our HTTP API or more conveniently via our client libraries.
See the input and output schema below, as well as the usage examples.


### Input Schema

The API accepts the following input parameters:


- **`prompt`** (`string`, _required_):
  Lines to perform plus the speaker, language, emotion, pace, music and sound effects. With several reference audios, state in the prompt which reference each speaker uses, in input order.
  - Examples: "Read with a gentle, restrained female English voice: 'The sea surface is calm today.' Use a slightly slow speaking rate, no background music."

- **`audio_urls`** (`list<string>`, _optional_):
  Up to 6 reference audio URLs constraining timbre or performance. Each clip: wav or mp3, 2-30s, up to 15MB.
  - Array of string

- **`image_url`** (`string`, _optional_):
  A single reference image URL (300-6000px per side, aspect ratio 0.4-2.5, up to 10MB). Cannot be combined with audio references.

- **`output_format`** (`OutputFormatEnum`, _optional_):
  Output audio format. Default value: `"mp3"`
  - Default: `"mp3"`
  - Options: `"wav"`, `"mp3"`, `"pcm"`, `"ogg_opus"`

- **`sample_rate`** (`Enum`, _optional_):
  Sample rate of the output audio in Hz. Defaults to 44100, or 48000 for ogg_opus (the only rate ogg_opus supports).
  - Options: `8000`, `16000`, `24000`, `32000`, `44100`, `48000`

- **`speed`** (`float`, _optional_):
  Speech speed. 1.0 is normal speed, 0.5 is half speed, 2.0 is double speed. Default value: `1`
  - Default: `1`
  - Range: `0.5` to `2`

- **`volume`** (`float`, _optional_):
  Volume. 1.0 is normal volume, 0.5 is half, 2.0 is double. Default value: `1`
  - Default: `1`
  - Range: `0.5` to `2`

- **`pitch`** (`integer`, _optional_):
  Voice pitch shift in semitones. 0 is normal pitch, -12 lowers by one octave, 12 raises by one octave.
  - Default: `0`
  - Range: `-12` to `12`

- **`enable_safety_checker`** (`boolean`, _optional_):
  Authorized callers may set false to request relaxed screening. Default value: `true`
  - Default: `true`



**Required Parameters Example**:

```json
{
  "prompt": "Read with a gentle, restrained female English voice: 'The sea surface is calm today.' Use a slightly slow speaking rate, no background music."
}
```

**Full Example**:

```json
{
  "prompt": "Read with a gentle, restrained female English voice: 'The sea surface is calm today.' Use a slightly slow speaking rate, no background music.",
  "output_format": "mp3",
  "speed": 1,
  "volume": 1,
  "enable_safety_checker": true
}
```


### Output Schema

The API returns the following output format:

- **`audio`** (`AudioFile`, _required_):
  The generated audio file.
  - Examples: {"url":"https://v3b.fal.media/files/b/0aa97081/TYxWX8Yp1jjq9qObOdSRn_speech.mp3"}



**Example Response**:

```json
{
  "audio": {
    "url": "https://v3b.fal.media/files/b/0aa97081/TYxWX8Yp1jjq9qObOdSRn_speech.mp3"
  }
}
```


## Usage Examples

### cURL

```bash
curl --request POST \
  --url https://fal.run/bytedance/seed-audio-1.5/text-to-audio \
  --header "Authorization: Key $FAL_KEY" \
  --header "Content-Type: application/json" \
  --data '{
     "prompt": "Read with a gentle, restrained female English voice: '\''The sea surface is calm today.'\'' Use a slightly slow speaking rate, no background music."
   }'
```

### Python

Ensure you have the Python client installed:

```bash
pip install fal-client
```

Then use the API client to make requests:

```python
import fal_client

def on_queue_update(update):
    if isinstance(update, fal_client.InProgress):
        for log in update.logs:
           print(log["message"])

result = fal_client.subscribe(
    "bytedance/seed-audio-1.5/text-to-audio",
    arguments={
        "prompt": "Read with a gentle, restrained female English voice: 'The sea surface is calm today.' Use a slightly slow speaking rate, no background music."
    },
    with_logs=True,
    on_queue_update=on_queue_update,
)
print(result)
```

### JavaScript

Ensure you have the JavaScript client installed:

```bash
npm install --save @fal-ai/client
```

Then use the API client to make requests:

```javascript
import { fal } from "@fal-ai/client";

const result = await fal.subscribe("bytedance/seed-audio-1.5/text-to-audio", {
  input: {
    prompt: "Read with a gentle, restrained female English voice: 'The sea surface is calm today.' Use a slightly slow speaking rate, no background music."
  },
  logs: true,
  onQueueUpdate: (update) => {
    if (update.status === "IN_PROGRESS") {
      update.logs.map((log) => log.message).forEach(console.log);
    }
  },
});
console.log(result.data);
console.log(result.requestId);
```


## Deploy your own model

To run your own weights, a fine-tune or a custom pipeline on the GPUs that serve this API, deploy it on fal Serverless. GPUs from H100 (80GB) to B300 (288GB), billed per second; an H100 is $4.50/h list, as low as $2.49/h. Prices, GPU specs and deploy steps: [fal Serverless](https://fal.ai/serverless.md).

## Additional Resources

### Documentation

- [Model Playground](https://fal.ai/models/bytedance/seed-audio-1.5/text-to-audio)
- [API Documentation](https://fal.ai/models/bytedance/seed-audio-1.5/text-to-audio/api)
- [OpenAPI Schema](https://fal.ai/api/openapi/queue/openapi.json?endpoint_id=bytedance/seed-audio-1.5/text-to-audio)

### fal.ai Platform

- [Platform Documentation](https://fal.ai/docs/documentation)
- [Python Client](https://fal.ai/docs/api-reference/client-libraries/python)
- [JavaScript Client](https://fal.ai/docs/api-reference/client-libraries/javascript)

### Other agent-readable surfaces

This file covers one model. To find anything else:

- [Platform overview](https://fal.ai/llms.txt): Entry points and representative endpoint IDs
- [Documentation index](https://fal.ai/docs/llms.txt): Every documentation page
- [Full documentation text](https://fal.ai/docs/llms-full.txt): The whole documentation inlined
- [Pricing](https://fal.ai/pricing.md): Model API and Serverless GPU prices
- [fal Serverless](https://fal.ai/serverless.md): Deploy your own models: GPU prices, specs and steps
- Any other model: `https://fal.ai/models/<endpoint-id>/llms.txt`
