# ACE Studio ACE-Step Audio to Audio API

> ACE-Step Audio to Audio remixes an existing song with new genre tags, or rewrites only its lyrics while keeping the music, guided by the original tags and lyrics.

Source: https://www.sandbase.ai/models/ace/ace-step/audio-to-audio
API reference: https://www.sandbase.ai/models/ace/ace-step/audio-to-audio#api

## Facts

- Provider: ACE Studio
- Type: Audio model
- Model ID: `ace/ace-step/audio-to-audio`
- Price: From $0.01 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": "ace/ace-step/audio-to-audio",
  "tags": "lofi, hiphop, drum and bass, trap, chill",
  "audio": "https://static.sandbase.ai/examples/ace/ace-step/audio-to-audio/input_audio_0.wav",
  "edit_mode": "remix",
  "original_tags": "lofi, hiphop, drum and bass, trap, chill"
}'
```

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 ACE Studio ACE-Step Audio to Audio through SandBase?

Create a SandBase API key, then send requests with the model ID "ace/ace-step/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 ACE Studio account?

No. One SandBase API key and balance gives you access to ACE Studio ACE-Step Audio to Audio and the other models in the catalog; you do not need to sign up with ACE Studio separately.

## README

### ACE-Step Audio to Audio

ACE-Step Audio to Audio remixes a song with new tags, or swaps its lyrics while keeping the music.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `audio` | audio file or URL, required | — | Source song. |
| `tags` | string, required | — | Tags for the new version. |
| `original_tags` | string, required | — | Tags that describe the source. |
| `edit_mode` | `lyrics` / `remix` | `remix` | `remix` changes style; `lyrics` changes only the words. |
| `lyrics` | string | `""` | New lyrics. |
| `original_lyrics` | string | `""` | Lyrics of the source. |
| `seed` | integer | random | Fix it to compare changes. |
| `original_seed` | integer | — | Seed of the source, if it came from ACE-Step. |

#### Output

| Field | Notes |
|---|---|
| `url` | WAV file. |
| `tags` | Genre tags used. |
| `lyrics` | Lyrics used. |
| `seed` | Seed used; pass it back to reproduce. |

#### Billing

$0.0002 per second of generated audio. The quote uses the source audio length; the final charge uses the output length.

| Length | Price |
|---|---|
| 30 s | $0.006 |
| 60 s | $0.012 |
| 240 s | $0.048 |

Failed runs are not charged.

#### Prompting

- For `lyrics` mode, keep `tags` equal to `original_tags` and change only `lyrics`.

#### Also on SandBase

Related: `ace/ace-step`, `ace/ace-step/prompt-to-audio`, `ace/ace-step/audio-inpaint`, `ace/ace-step/audio-outpaint`.
