Stable Audio 3 Small SFX (Audio Inpainting)

Stable Audio 3 Small SFX Audio Inpainting regenerates the part of your sound effect you mark, from a text prompt, and keeps the rest. A flat $0.0259 a run.

Stable Audio 3 Small SFX Audio Inpainting is Stability AI's lightweight sound-effect editing model (459 million parameters, released in May 2026): it regenerates one part of a sound-effect track you send, guided by a text prompt, and keeps the rest as it was. Use it to replace a sound inside an effect, rework a passage or fill a gap in a clip of up to 2 minutes.

Send your clip as audio (a link or an upload) and mark the part to regenerate with mask_start_seconds and mask_end_seconds, in seconds from the start of the clip (up to 120). Say in prompt what should sound there, and in negative_prompt what to keep out. output_format picks mp3 (the default, 192 kbit/s), wav, flac, ogg, opus, m4a or aac; seed repeats a result; num_inference_steps (1-100, 8 by default) rarely needs changing.

Inputs: prompt, audio, mask_start_seconds and mask_end_seconds (all required), negative_prompt, seed, num_inference_steps and output_format. Outputs: audio (the clip with the part regenerated) and seed. One part per request; send only audio you have the right to use.

Price: $0.0259 per audio at list, a flat price. It does not make a sound from text alone (use Stable Audio 3 Small SFX), does not change the parts outside the marked one and does not add audio before or after your clip (use the Audio Outpainting model).

Price: $0.0259 per run. One run with default settings costs $0.0259.

Run Stable Audio 3 Small SFX (Audio Inpainting) via API

curl -X POST https://api.flymy.ai/api/v1/flymyai/stable-audio-3-small-sfx-audio-inpainting/predict \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"A short soft chime","audio":"https://storage.googleapis.com/open-inference-results/agent-files/99/8d8bdc561b92490c8d7a75c743b51ea8/tts_98a2092a072242a99e31833cd4f7e2fe.mp3","mask_start_seconds":1,"mask_end_seconds":2}'

API documentation · Create a free account · Pricing

Related models