infery
← All models

Stable Audio 3 Medium Audio Inpainting

stable-audio-3-medium-audio-inpainting

Text to Speechby Stability AI

Stable Audio 3 Medium audio inpainting is a 1.4 billion parameter latent diffusion model that fills in or reworks selected segments of a stereo track guided by text prompts, supporting single- and multi-segment editing.

Details

Accepts
audio

Pricing

Price
5.53 cr / clip

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seedRandom seed for reproducible outputs. Omit for a random seed.
promptrequiredstringText description guiding how the masked region is regenerated.
bitratestringAudio bitrate for compressed output formats (e.g., mp3, aac, opus). Format e.g. '192k' or '320k'. Ignored for lossless formats (wav, flac).
audio_urlrequiredstringSource audio. Only the masked region is regenerated.
sync_modebooleanIf True, the audio is returned inline as a data URI and the result is not saved to the request history.
output_formatstringenum: mp3, wav, flac, ogg, opus, m4aContainer format for the generated audio output.
guidance_scalenumberClassifier-free guidance scale. Higher values follow the prompt more strictly. Only effective on base (non-distilled) checkpoints.
negative_promptstringText description of qualities to avoid in the output.
mask_end_secondsrequirednumberEnd of the region to regenerate, in seconds.
mask_start_secondsrequirednumberStart of the region to regenerate, in seconds.
num_inference_stepsintegerNumber of sampling steps. Post-trained (distilled) checkpoints look good with the default 8 and gain little from going higher.
enable_safety_checkerbooleanEnable NSFW content safety checking.
enable_prompt_expansionbooleanIf True, the prompt will be expanded using an LLM for more detailed and higher quality results.

Output

FieldTypeDescription
seedintegerThe random seed used for generation.
audioThe generated audio clip.
promptstringThe prompt used for generation.