# Stability AI Stable Audio 2.5 Audio to Audio API

> Stable Audio 2.5 Audio to Audio by Stability AI transforms an existing clip into new music or sound guided by a text prompt, with a strength control that sets how far it moves from the source.

Source: https://www.sandbase.ai/models/stability-ai/stable-audio/2.5/audio-to-audio
API reference: https://www.sandbase.ai/models/stability-ai/stable-audio/2.5/audio-to-audio#api

## Facts

- Provider: Stability AI
- Type: Audio model
- Model ID: `stability-ai/stable-audio/2.5/audio-to-audio`
- Price: $0.20 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/2.5/audio-to-audio",
  "audio": "https://static.sandbase.ai/examples/stability-ai/stable-audio/2.5/audio-to-audio/input_audio_0.wav",
  "prompt": "Post rock, guitars, bass, strings, euphoric, up-lifting, moody, flowing, raw, epic",
  "strength": 0.8
}'
```

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 2.5 Audio to Audio through SandBase?

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

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

## README

### Stable Audio 2.5 Audio to Audio

Reworks a source clip into new audio from a prompt, with up to 190 seconds of output.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Text description of how the source audio should be transformed. |
| `audio` | audio file or URL, required | — | Source audio file or URL to transform. |
| `strength` | number 0.01–1 | 0.8 | Edit strength: near 0 keeps the source, 1 ignores it. |
| `duration` | integer 1–190 | — | Length of the generated audio in seconds (1–190). Defaults to the length of the source audio. |
| `seed` | integer | random | Fix it to compare prompt changes. |

#### Billing

$0.20 per generation, regardless of duration or settings.

| Request | Price |
|---|---|
| One track | $0.20 |
| 10 tracks | $2.00 |

Failed runs are not charged.

#### Prompting

- Describe the target style; lower `strength` (around 0.5) to keep more of the source rhythm and melody.

#### Also on SandBase

Related: `stability-ai/stable-audio/2.5/text-to-audio`, `stability-ai/stable-audio/2.5/inpaint`, `stability-ai/stable-audio/3/medium/audio-to-audio`.
