Replace part of a clip with AI (audio inpainting)

Updated

In short: Replace regenerates only the part of a clip you select and stitches it back in; everything outside the selection stays as it was. In Sona, choose Remix & Edit → Replace, drop in your audio, drag across the waveform and describe what should be there. 8 models do it today, from about 4 tokens per render.

What does Replace do?

It is inpainting for audio. You mark a region, from a second to a few bars, and the model writes new audio for that region only, matched to what comes before and after. The rest of the file is kept sample for sample.

Use it to fix one bad hit, swap a drum fill, rewrite a lick, try another word in a sung line (with models that take lyrics) or remove a cough from an otherwise good take.

How do I replace a part?

  1. Open Sona and choose Remix & Edit, then the Replace filter.
  2. Drop in your audio: a loop, a stem, a song or a take.
  3. Drag across the waveform to select the part to regenerate. The selection is the Region.
  4. Describe what should be there: "big tom fill", "soft Rhodes phrase", "silence, room tone only".
  5. Render. The new audio replaces only the selection; play it in context.
  6. Not right? Render again, or move the edges of the selection and try once more. Then export or drag the whole clip.

How do I get a clean seam?

Start and end the selection on a beat or in a quiet spot, not in the middle of a sustained note. Give the model a little context: a selection of one or two bars in a longer clip works better than a selection that covers almost everything.

Describe the part in the style of the rest: same instruments, same space. If the seam is audible, widen the selection slightly so the model has room to blend in and out.

Which models replace?

Stable Audio models keep the sound of your clip; ACE-Step can rewrite a stretch of a song in a new style, with new lyrics if you like. Today:

  • Stable Audio 3 Replace (Light, about 4 tokens): Regenerates only the part you select on the waveform and stitches it back in: fix one bar, one fill or one hit.
  • Stable Audio 3 Replace HQ (Standard, about 6 tokens): The larger replace model: more detail in the part you regenerate, on audio up to six minutes.
  • Stable Audio 3 SFX Replace (Light, about 4 tokens): Replaces one moment of a sound effect or ambience and keeps the rest.
  • ACE-Step Replace (Standard, about 7 tokens): Rewrites a stretch of a song in a new style, with new lyrics if you like. Very cheap.
  • Stable Audio 2.5 Replace (Powerful, about 26 tokens): Stability’s hosted model regenerates the part you select, on audio up to three minutes. Premium price.
  • Stable Audio 3 Replace Base (Light, about 5 tokens): The undistilled base of Stable Audio 3 Replace: slower and pricier, sometimes more varied.
  • Stable Audio 3 Replace HQ Base (Standard, about 7 tokens): The undistilled base of Replace HQ: slower and pricier, sometimes more varied.
  • Stable Audio 3 SFX Replace Base (Light, about 5 tokens): The undistilled base of SFX Replace: slower and pricier, sometimes more varied.

Try it in your DAW. Free to start.

Download

Questions

Does Replace change the rest of my audio?

No. Only the selected region is regenerated; the audio outside it is kept as it was.

How long can the selection be?

From about a second up to most of the clip, within the model's limits. Short selections with context on both sides give the cleanest results.

Can I use Replace from the API?

Yes. Send reference_audio and region as [start, end] in seconds with a Replace model. See sona.audio/developers.

One sentence away.

Windows 10 or later, 64-bit macOS 10.14 or later, Apple Silicon and Intel