# CassetteAI Sound Effects Generator API

> CassetteAI Sound Effects Generator creates realistic sound effects from a text prompt, up to 30 seconds long, in about a second.

Source: https://www.sandbase.ai/models/cassetteai/sound-effects-generator
API reference: https://www.sandbase.ai/models/cassetteai/sound-effects-generator#api

## Facts

- Provider: CassetteAI
- Type: Audio model
- Model ID: `cassetteai/sound-effects-generator`
- Price: $0.01 per run
- Capabilities: 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": "cassetteai/sound-effects-generator",
  "prompt": "dog barking in the rain",
  "duration": 10
}'
```

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 CassetteAI Sound Effects Generator through SandBase?

Create a SandBase API key, then send requests with the model ID "cassetteai/sound-effects-generator" 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 CassetteAI account?

No. One SandBase API key and balance gives you access to CassetteAI Sound Effects Generator and the other models in the catalog; you do not need to sign up with CassetteAI separately.

## README

### CassetteAI Sound Effects Generator

CassetteAI Sound Effects Generator creates realistic sound effects up to 30 seconds long from a prompt.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Sound to generate. |
| `duration` | integer 1–30 | 10 | Length in seconds. |

#### Billing

$0.01 per generation, whatever the duration.

| Request | Price |
|---|---|
| One sound | $0.01 |
| 10 sounds | $0.10 |

Failed runs are not charged.

#### Prompting

- Name the source and the setting, for example `glass shattering on a tile floor`.

#### Also on SandBase

Related: `cassetteai/music-generator`.
