# Stability AI Stable Audio 3 Small SFX Base Audio Inpainting API

> Stable Audio 3 Small SFX Base by Stability AI regenerates a chosen time range inside an existing clip from a text prompt and leaves the rest untouched. It runs the non-distilled base checkpoint (50 sampling steps), which is slower and costs more than the post-trained version.

Source: https://www.sandbase.ai/models/stability-ai/stable-audio/3/small/sfx/base/audio-inpainting
API reference: https://www.sandbase.ai/models/stability-ai/stable-audio/3/small/sfx/base/audio-inpainting#api

## Facts

- Provider: Stability AI
- Type: Audio model
- Model ID: `stability-ai/stable-audio/3/small/sfx/base/audio-inpainting`
- Price: $0.03 per run
- Capabilities: audio 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": "stability-ai/stable-audio/3/small/sfx/base/audio-inpainting",
  "audio": "https://storage.googleapis.com/falserverless/model_tests/diffrythm/rock_en.wav",
  "prompt": "punchy kick drum fill",
  "output_format": "mp3",
  "mask_end_seconds": 8,
  "mask_start_seconds": 4
}'
```

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 Stability AI Stable Audio 3 Small SFX Base Audio Inpainting through SandBase?

Create a SandBase API key, then send requests with the model ID "stability-ai/stable-audio/3/small/sfx/base/audio-inpainting" 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 Stability AI account?

No. One SandBase API key and balance gives you access to Stability AI Stable Audio 3 Small SFX Base Audio Inpainting and the other models in the catalog; you do not need to sign up with Stability AI separately.

## README

### Stable Audio 3 Small SFX Base Audio Inpainting

Regenerates one time range of a source clip from a prompt (mask up to 120 s) and keeps the rest. It uses the non-distilled base checkpoint (50 sampling steps).

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Text description of what the masked region should become. |
| `audio` | audio file or URL, required | — | Source audio file or URL. Only the masked region is regenerated. |
| `mask_start_seconds` | number 0–120, required | — | Start of the region to regenerate, in seconds. |
| `mask_end_seconds` | number 0–120, required | — | End of the region to regenerate; must be after `mask_start_seconds`. |
| `output_format` | `mp3` / `wav` / `flac` / `ogg` / `opus` / `m4a` / `aac` | `mp3` | Output file format. |
| `negative_prompt` | string | — | What to avoid. |
| `seed` | integer | random | Fix it to compare prompt changes. |

#### Billing

$0.0331 per generation, regardless of duration or settings.

| Request | Price |
|---|---|
| One track | $0.0331 |
| 10 tracks | $0.331 |

Failed runs are not charged.

#### Prompting

- Describe only what the masked region should contain; keep the mask short so the edges blend with the source.

#### Also on SandBase

Related: `stability-ai/stable-audio/3/small/sfx/base/text-to-audio`, `stability-ai/stable-audio/3/small/sfx/base/audio-to-audio`, `stability-ai/stable-audio/3/small/sfx/base/audio-outpainting`, `stability-ai/stable-audio/3/small/sfx/audio-inpainting`.
