SandBase is live — $1 in free credits on signupStart free ›
Use in agentace models

ace modelsaudio generation api

ace/ace-step/audio-outpaint

Ace Step Audio Outpaint by ace - advanced AI model for audio-to-audio. Delivers high-quality results with fast inference, suitable for both creative and production workflows.

Input
URL of the audio file to be outpainted.
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.
Random seed for reproducibility. If not provided, a random seed will be used.
Comma-separated list of genre tags to control the style of the generated audio.
-100100
Granularity scale for the generation process. Higher values can reduce artifacts. Range: -100 to 100.
0240
Duration in seconds to extend the audio from the start. Range: 0 to 240.
010
Tag guidance scale for the generation. Range: 0 to 10.
Type of CFG to use for the generation process. Allowed values: cfg, apg, cfg_star.
01
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.
0200
Minimum guidance scale for the generation after the decay. Range: 0 to 200.
010
Lyric guidance scale for the generation. Range: 0 to 10.
360
Number of steps to generate the audio. Range: 3 to 60.
0240
Duration in seconds to extend the audio from the end. Range: 0 to 240.
01
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.
Range: 0 to 200.
Idle

Example output — click Run to generate your own

API README

ACE-Step Audio Outpaint

ACE-Step Audio Outpaint extends an existing recording before its opening, after its ending, or in both directions. It uses the supplied audio as musical context so new material can continue the established style rather than starting as an unrelated track.

Extension lengths can be set independently up to four minutes, while tags, lyrics, seed, inference steps, and guidance controls shape the continuation. This makes the route useful for lengthening cues, adding intros or outros, and developing a short idea into a fuller arrangement.

Highlights

Bidirectional extension. Adds new music before or after the source recording with independent duration controls.

Source-aware continuation. Uses the original audio to carry forward its musical identity and production context.

Intro and outro creation. Expands short cues with openings, endings, transitions, or additional arrangement space.

Controlled composition. Tags, lyrics, seed, steps, and guidance settings direct how the extension develops.

Pricing

Billing unitPrice
Per generated second$0.0002

When to Use

✅ Good fit❌ Consider alternatives
Existing audio needs a new intro, outro, or continuationOnly an internal passage needs replacement
A managed asynchronous result is suitable for the production pipelineA synchronous, interactive editor is essential
The documented controls cover the required duration, framing, or formatThe project needs controls outside this endpoint's schema
Creative iteration benefits from a repeatable request structureExact deterministic pixels, frames, geometry, or samples are mandatory
A finished downloadable media asset is the desired deliverableEditable source layers or a native project file are required

Prompt Guide

For music generation, state the intended result first, then add the subject or source treatment, progression, style, and delivery constraints. Keep one creative variable per phrase, use the documented field names for controls, and change one setting at a time when comparing results.

{
  "audio": "https://storage.googleapis.com//example_inputs/ace-step-audio-to-audio.wav"
}

Technical Specs

SpecValue
Model IDace/ace-step/audio-outpaint
Inputsaudio, extend_after_duration, extend_before_duration, granularity_scale, guidance_interval, guidance_interval_decay, guidance_scale, guidance_type, lyric_guidance_scale, lyrics, minimum_guidance_scale, number_of_steps, seed, tag_guidance_scale, tags
Required inputsNone
Output fieldscontent_type, url
ExecutionAsync (submit, then poll for result)

Related Models

Related Models