WaveSpeedAI APIWavespeed AIAce Step Audio Outpaint

Ace Step Audio Outpaint

Ace Step Audio Outpaint

Playground

Try it on WavespeedAI!

ACE-Step Audio Outpaint extends the beginning or end of provided audio with new content while maintaining consistency with the original. Perfect for extending tracks, adding intros, outros, or creating longer versions of existing songs seamlessly.

Features

ACE-Step: Audio Outpaint (Extend)

ACE-Step Audio Outpaint extends audio at the beginning or end while maintaining consistency.

Key Features

  1. Extend Before: Add new content before the original audio starts.
  2. Extend After: Add new content after the original audio ends.
  3. Seamless Transitions: Extended sections blend naturally with the original.
  4. Flexible Duration: Extend by any duration up to 4 minutes.

Use Cases

  • Add an intro to an existing track
  • Create an outro or fade-out section
  • Extend a song to make it longer
  • Create extended versions for DJ sets or radio play

Pricing

$0.0002 per second of generated audio.

Authentication

For authentication details, please refer to the Authentication Guide.

API Endpoints

Submit Task & Query Result


# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/wavespeed-ai/ace-step/audio-outpaint" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
    "extend_before_duration": 0,
    "extend_after_duration": 30,
    "lyrics": "",
    "seed": -1
}'

# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"

Parameters

Task Submission Parameters

Request Parameters

ParameterTypeRequiredDefaultRangeDescription
audiostringYes--Audio file to transcribe. Provide an HTTPS URL or upload a file (MP3, WAV, FLAC up to 60 minutes).
tagsstringYes--Comma-separated list of genre tags to control the style.
extend_before_durationnumberNo-0 ~ 240Duration to extend from the start in seconds.
extend_after_durationnumberNo300 ~ 240Duration to extend from the end in seconds.
lyricsstringNo--Vocal content for generation. Use [inst] or [instrumental] for no vocals.
seedintegerNo-1-1 ~ 2147483647The random seed for reproducibility.

Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
data.idstringUnique identifier for the prediction, Task Id
data.modelstringModel ID used for the prediction
data.outputsarrayArray of URLs to the generated content (empty when status is not completed)
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.has_nsfw_contentsarrayArray of boolean values indicating NSFW detection for each output
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds

Result Request Parameters

© 2025 WaveSpeedAI. All rights reserved.