Stable Audio 3 Small Music (Audio Inpainting)
Stable Audio 3 Small Music Audio Inpainting regenerates the part of your music you mark, from a text prompt, and keeps the rest. A flat $0.026 a run.
Stable Audio 3 Small Music Audio Inpainting is Stability AI's lightweight music-editing model (459 million parameters, released in May 2026): it regenerates one part of a music track you send, guided by a text prompt, and keeps the rest as it was. Use it to replace a section, rework a passage or fill a gap in a track of up to 2 minutes.
Send your track 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 track (up to 120). Say in prompt what should play 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 track with the part regenerated) and seed. One part per request; send only audio you have the right to use.
Price: $0.026 per audio at list, a flat price. It does not make music from text alone (use Stable Audio 3 Small Music), does not change the parts outside the marked one and does not add audio before or after your track (use the Audio Outpainting model).
- Music Generation
Price: $0.026 per run. One run with default settings costs $0.026.
Run Stable Audio 3 Small Music (Audio Inpainting) via API
curl -X POST https://api.flymy.ai/api/v1/flymyai/stable-audio-3-small-music-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