ACE-Step
/v1/runAce Step Audio Inpaint by ace - advanced AI model for audio-to-audio. Delivers high-quality results with fast inference, suitable for both creative and production workflows.
Request body
Submit an async generation request. The model field selects the model; other fields are model-specific input parameters.
Model identifier. Set to ace/ace-step/audio-inpaint.
Default: ace/ace-step/audio-inpaint
URL of the audio file to be inpainted.
Lyrics to be sung in the audio. If not provided or if [inst] or [instrumental] is the content of this field, no lyrics will be sung. Use control structures like [verse], [chorus] and [bridge] to control the structure of the song.
Default:
Guidance scale for the generation.
Range: 0 to 200
Default: 15
Random seed for reproducibility. If not provided, a random seed will be used.
Type of CFG to use for the generation process.
Allowed values: cfg, apg, cfg_star
Default: apg
Comma-separated list of genre tags to control the style of the generated audio.
Granularity scale for the generation process. Higher values can reduce artifacts.
Range: -100 to 100
Default: 10
Scheduler to use for the generation process.
Allowed values: euler, heun
Default: euler
Guidance interval for the generation. 0.5 means only apply guidance in the middle steps (0.25 * infer_steps to 0.75 * infer_steps)
Range: 0 to 1
Default: 0.5
Minimum guidance scale for the generation after the decay.
Range: 0 to 200
Default: 3
start time in seconds for the inpainting process.
Range: 0 to 240
Default: 0
Lyric guidance scale for the generation.
Range: 0 to 10
Default: 1.5
Number of steps to generate the audio.
Range: 3 to 60
Default: 27
Variance for the inpainting process. Higher values can lead to more diverse results.
Range: 0 to 1
Default: 0.5
end time in seconds for the inpainting process.
Range: 0 to 240
Default: 30
Guidance interval decay for the generation. Guidance scale will decay from guidance_scale to min_guidance_scale in the interval. 0.0 means no decay.
Range: 0 to 1
Default: 0
Whether the start time is relative to the start or end of the audio.
Allowed values: start, end
Default: start
Tag guidance scale for the generation.
Range: 0 to 10
Default: 5
Whether the end time is relative to the start or end of the audio.
Allowed values: start, end
Default: start
Response Schema
The submit endpoint returns a run response. If its status is pending or running, poll GET /v1/run/{id} with the returned opaque ID until it reaches a terminal state.
Opaque SandBase run identifier. Use it exactly as returned; no prefix is guaranteed.
Current public run status.
Allowed values: pending, running, completed, failed, timeout
Public SandBase model name used for this run.
Present only for completed runs. Each object is capability-specific; inspect the selected model schema for its fields.
Present only for failed or timeout runs. Contains a public error type and sanitized message.
Stable public error category.
Sanitized error message safe to show to clients.
Usage details when available.
Model capabilities
Capabilities declared by the model registry.
Default: audio-to-audio
Execution mode declared by the model registry.
Default: async